Problem/Motivation

The order tagging template theme/block--commerce_nosto_tagging-nosto-order.tpl.php is casting the order number as an integer. In a situation where the order number contains non-integer characters e.g. UK-123456 the tagging template renders the order number as 0.

This is an unnecessary casting as the Nosto documentation states the order number can be a string or integer - https://support.nosto.com/get-started/tagging-order-content/

Proposed Resolution

Remove the type casting.

See attached patch file.

Comments

danielmrichards created an issue. See original summary.

danielmrichards’s picture