I am new to Magento, and my same question on Magento stack exchange didn't get proper response, so I am posting this on the mighty SO now.
Background
I have installed an Abandoned Cart extension in my Magento CE 1.7 store and I have problem configuring the transactional email sent to remind people of their abandoned carts.
Here's how the relevant part of the default email template looks:
<p><strong>Hello {{var customer_name}},</strong></p>
<p>Thank you for stopping by {{var website_name}} and considering us for your purchase. We noticed that during your visit to our store you placed the following item(s) in your shopping cart, but did not complete the transaction.</p>
<p>Shopping Cart Contents: </p>
<p>{{var products}}</p>
{{depend real_quote}}
<!-- <p><a href="{{var recover_url}}" >Recover </a><br> (url:{{var recover_url}})</p> -->
{{/depend}}
{{depend coupon}}
<p>Please use this coupon: {{var coupon}} to avail 5% discount on your order value</p>
<p>Please note that it expires in {{var coupon_days}} day(s)</p>
{{/depend}}
Note the {{var products}}
that was used in the email. This thing prints the product details in the email (name, image, link to product etc).
Question
I need to change the product url that gets printed. I have some analytics code to append to these URLs and I can't figure out where this var products
is defined to change its behavior.
Things I have tried:
- tried to print
{{var product_name}}
and other product variables as defined here, but they all ended up as blank spaces - found a good resource that has info about changing these variables, but couldn't figure out how to use that to change this products variable
- added utm parameters after
{{var products}}
only to get the utm text after product details table (defined somewhere as products).
I am not even sure if this {{var products}}
is an inbuilt variable or something defined by the extension?
EDIT: The products
is not a custom variable. Don't know if that would help.