- TLC Home Home
- Discussions Discussions
- Documentation Documentation
- Knowledge Base Knowledge Base
- Education Education
- Blog Blog
- Support Desk Support Desk
08-16-2021 04:40 PM - edited 08-16-2021 04:45 PM
I am new to Magento and Tealiium.
Currently it seems that the Tealium Extension for Magento gets a lot of product data "out of the box." However I would like to override/replace data that is generated from the Tealium extension in the TealiumCustomData file. I am able to augment the UDO from the TealiumCustomData file, but having difficulty replacing values.
For example, if want to arbitrarily replace whatever value is in product_category, how would I go about doing that?
Currently, if I attempt to do that, once the cart page fully loads, whatever I set product_category to seems like it get overwritten by the default Tealium functions.
I am attempting to overwrite the values in the getCartPage function:
public function getCartPage() { ... $outputArray["product_category"] = ["some", "value"]; return $outputArray; }
Any help would be appreciated.
Copyright All Rights Reserved © 2008-2023