Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 ASP (Windows server) versions
 Google Reviews Parameters
Author « Topic »  

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 11/16/2018 :  09:38:57  
Has anyone implemented Google Reviews and, if so, do you have the ASP parameters to fill it in?
<script>
window.renderOptIn = function() {
window.gapi.load('surveyoptin', function() {
window.gapi.surveyoptin.render(
{
// REQUIRED FIELDS
"merchant_id": HAVETHIS,
"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>
Thanks in advance.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com

Andy
ECT Moderator

95440 Posts

Posted - 11/16/2018 :  09:44:47  
Hi Marshall

There is no delivery date variable but these are available

<%=orderid%>
<%=ordEmail%>

Not sure on the country code though.

Andy

Please feel free to review / rate our software

John M
Advanced Member

459 Posts

Pre-sales questions only
(More Details...)

Posted - 11/17/2018 :  10:27:05  
This works... John

<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLoc
ation="http://www.google.com/shopping/reviews/schema/product/2.1/product_reviews.xsd">
<publisher>
<name>[blue]STORE NAME[/blue]</name>
<favicon>https://[blue]STORE NAME/favicon.png[/blue]</favicon>
</publisher>
<reviews>
<review>
<review_id>[blue]rtID[/blue]</review_id>
<reviewer>
<name>[blue]rtPosterName[/blue]</name>
</reviewer>
<review_timestamp>[blue]rtDate[/blue]</review_timestamp>
<title>[blue]rtHeader[/blue]</title>
<content>[blue]rtComments[/blue]</content>
<review_url type=“group” >[blue]pURL[/blue]?review</review_url>
<ratings>
<overall min="1" max="5”>[blue]rtRating/2[/blue]</overall>
</ratings>
<products>
<product>
<product_ids>
<gtins>
<gtin>[blue]pSKU[/blue]</gtin>
</gtins>
<mpns>
<mpn>[blue]rtProdID[/blue]</mpn>
</mpns>
<skus>
<sku>[blue]rtProdID[/blue]</sku>
</skus>
<brands>
<brand>[blue]pBrand[/blue]</brand>
</brands>
</product_ids>
<product_name>[blue]pName[/blue]</product_name>
<product_url>[blue]pURL[/blue]</product_url>
</product>
</products>
</review>
</reviews>
</feed>

DLSS
ECT Moderator

Canada
3958 Posts

Posted - 11/19/2018 :  08:27:20  
I carry a addon for that. I should put it on my site I believe. Google Customer Ratings Opt-In.

If interested, send me an email.

Mike Beebe
President,
DataLinks Software Solutions
www.dlss.ca

Rate Me Here

ASP and PHP mods - www.dlss.ca/products.asp
A Tremendous Home - Home Decor and Design, D-I-Y Projects, Home Life, Recipes - www.ATremendousHome.com

Marshall
Ecommerce Template Guru

USA
1916 Posts

Posted - 11/19/2018 :  12:32:29  
Thanks Mike. Will do.

Marshall
CENLYT Productions - ms designs
Affordable Web Design
Custom Ecommerce Designs
Responsive Websites
Cenlyt.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000