Hello,
I am trying to ad opt-in code for google reviews but i could not call order e mail. How can i call order email.
{
// REQUIRED FIELDS
"merchant_id": 355928473,
"order_id": "ORDER_ID",
"email": "CUSTOMER_EMAIL",
"delivery_country": "COUNTRY_CODE",
"estimated_delivery_date": "YYYY-MM-DD",
// OPTIONAL FIELDS
"products": [{"gtin":"GTIN1"}, {"gtin":"GTIN2"}]
});
});
}
</script>
I am trying to ad opt-in code for google reviews but i could not call order e mail. How can i call order email.
{
// REQUIRED FIELDS
"merchant_id": 355928473,
"order_id": "ORDER_ID",
"email": "CUSTOMER_EMAIL",
"delivery_country": "COUNTRY_CODE",
"estimated_delivery_date": "YYYY-MM-DD",
// OPTIONAL FIELDS
"products": [{"gtin":"GTIN1"}, {"gtin":"GTIN2"}]
});
});
}
</script>
Give us more info about exactly what you're trying to do and why?
UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk
Guru Member
Step outdoors and shout "ORDER EMAIL!". Or make a call to order email's phone number.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
i want to add google reviews into my website. I need to put this code into my success page.paulfeakins wrote: ↑Wed Apr 14, 2021 4:51 pmGive us more info about exactly what you're trying to do and why?
OC version. This could be accomplished by creating an event. See this documentation: https://github.com/opencart/opencart/wiki/Events-System . In addition, you could take a look at the catalog/controller/extension/analytics/google.php controller file on how to call a /after event to a theme file.polat161 wrote: ↑Thu Apr 15, 2021 4:03 ami want to add google reviews into my website. I need to put this code into my success page.paulfeakins wrote: ↑Wed Apr 14, 2021 4:51 pmGive us more info about exactly what you're trying to do and why?
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Simply use this Extension: https://www.opencart.com/index.php?rout ... n_id=41828
Full Stack Web Developer :: Dedicated OpenCart Development & Support DACH Region
Contact for Custom Work / Fast Support.
Who is online
Users browsing this forum: Google [Bot], niagato, Semrush [Bot] and 648 guests