Skip to content

Commit 5df0267

Browse files
committed
Fix bug in cart item tagging.
1 parent 1d4d797 commit 5df0267

File tree

1 file changed

+5
-5
lines changed
  • app/design/frontend/base/default/template/rekko

1 file changed

+5
-5
lines changed

app/design/frontend/base/default/template/rekko/rekko.phtml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ $enabled = Mage::getStoreConfig('advanced/modules_disable_output/' . $moduleName
1919
window.convert_cart = {};
2020
convert_cart.shoppingCartItems = new Array();
2121
}
22-
<?php foreach ($products as $items) { ?>
22+
<?php foreach ($cartItems as $item) { ?>
2323
var convert_item = {};
24-
convert_item.sku = "<?php echo $items['sku']; ?>";
25-
convert_item.category = "<?php echo $items['category']; ?>";
26-
convert_item.quantity =<?php echo $items['qty']; ?>;
27-
convert_item.price =<?php echo $items['price']; ?>;
24+
convert_item.sku = "<?php echo $item['sku']; ?>";
25+
convert_item.category = "<?php echo $item['category']; ?>";
26+
convert_item.quantity =<?php echo $item['qty']; ?>;
27+
convert_item.price =<?php echo $item['price']; ?>;
2828
convert_cart.shoppingCartItems.push(convert_item);
2929
<?php } ?>
3030
</script>

0 commit comments

Comments
 (0)