After a weekend of hair pulling, I'm all out of ideas on what parameters to change to get this to work.![]()
After a weekend of hair pulling, I'm all out of ideas on what parameters to change to get this to work.![]()
I'm bodging this up with all sorts of code - but I'm struggling to get the product_id changed to product_model as this is what we use in Google Adwords, does anyone know to edit the module to fix this? The module creator has dropped off the planet it seems.
Where $products_id has been assigned to a sanitized value of the products_id.Code:$model_query = "select products_model from products where products_id = :products_id:"; $model_query = $db->bindVars($model_query, ':products_id:', $products_id, 'integer'); $model = $db->Execute($model_query);
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Thanks MC12345678,
I'm trying to change the module / plugin so it spits out the model name rather than the internal Zen Cart ID number.
I've played with what you've sent but I can't get it to work within the module at this point.
Well... What I provided was a way to obtain the products_model data if the products unique id.is/was known, not a specific set of code customized to the plugin... There may need to be a
In the function that the above is included. What issue(s) was had when trying to use it? Have you tried to capture the results in some other method? Either by displaying data or capturing it in a variable to be displayed as necessary?Code:global $db;
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Sorry for the confusion MC12345678.
I've been trying to get the module working from the start, it only seemed to output the correct page type, with the product ID and product price not working.
I've managed to get it working for the product page with hard-coding amendments, but the cart page is still outputting the product ID rather than the model number that matches what we have in Google Adwords already set up (product feeds and campaigns).
Doing what I've done on the product page on the cart page doesn't work, for whatever reason. Another added issue is that I need the cart page to add up all the product prices together, and have all the model numbers listed and separated by a comma - which in fairness it is actually doing correctly. So if I could fudge the 'product_id' element for 'product_model' then this would give me what I need.
Sadly I'm not an expert coder, and I admit I'm struggling to get the module to do what I want. The dev abandoned it a while ago I think which is a shame as the remarketing element of Google Adwords is ideal for e-commerce stores and I can't believe that there aren't more people / stores on Zen wanting this module.
Thanks for your help so far, it is much appreciated.
dp
Last edited by dp-web; 21 Jan 2015 at 12:27 PM.
Update:
Google have themselves recommended that we change the feeds/GA account settings to use the internal Zen ID rather than the model number just to get this moving and live.
This is probably the quickest way to get the remarketing live and generating £££ for us.
dp
Did you figure this out tbaquatics?
:-)
Zencart 1.5.4
Dynamic Remarketing Plugin: V1.5.0
I am trying to use Google Dynamic Remarketing plugin but I am getting an error in my analytics reports.
Error: Your "ecomm_prodid” is not working correctly
Without this parameter, your dynamic ads won't be tailored to visitors' activity on your website.
I tried some of the suggestions in this thread for example
From this ... ecomm_prodid: " . $jsecomm_prodid . ",
to this ecomm_prodid: \"" . $_GET['products_id'] . "\",
But with no results. Can someone assist me or lead me in the right direction on getting Google dyamic remarketing working properly.
Thank you,
Chad
I have tried this mod (v1.5.4) not sure if it should work or not but.....
If I already have the google analytics mod installed, should I be removing it for the remarketing Tag to work?
I get 3 errors.
Conversion id not set
No HTTP response detected ?
Number field should not be quoted: 'ecomm_totalvalue'
Bookmarks