yireo-magento1 / Yireo_GoogleTagManager

Implement Google Tag Manager in Magento 1 (deprecated)
Open Software License 3.0
56 stars 46 forks source link

[FIX] Fixed order datalayer #7

Closed mobilizer closed 9 years ago

mobilizer commented 9 years ago

Issue: Datalayer for orders is not populated. Reproduce: Make an order. Check datalayer.

Cause: Order template called wrong methods.

yireo commented 9 years ago

Whoops, I can remember that the setAttribute() method was renamed to addAttribute() because it would otherwise interfere with the blocks parent methods, but I can't imagine we missed this one. Many thanks. I'll release a new version shortly after merging!