afiumano Yes, when using attribute templates you will need to add the template_code, something like this:
https://mivalearn.mivamerchantdev.co...uct_Attributes[1]:code=size&Product_Attributes[1]:template_code=size&Product_Attributes[1]:value=medium&Quantity=1
Announcement
Collapse
No announcement yet.
Google Merchant Center Add to Basket Link for Variant
Collapse
X
-
I followed those directions but for some reason it is still bringing me to the Missing Product Attributes page. Does it matter that we are using attribute templates?
Leave a comment:
-
afiumano You should be able to add attributes by doing something like this:
https://mivalearn.mivamerchantdev.com/basket-contents.html?Action=ADPR&Product_Code=shirt_copy& Product_Attributes[1]:code=colr&Product_Attributes[1]:value=redxx&Quantity=1
My suggestion would be to add the product to the cart from the frontend and use the browser developer tools and check the network settings to see what is being passed to the basket when the product is added to the basket:
basket_network.JPG
Leave a comment:
-
Google Merchant Center Add to Basket Link for Variant
We are able to include a link to our store's basket from our Google shopping feed that will directly add a product to the cart. I am able to do this for a product that doesn't have a required attribute but some of the products have a size attribute. How can this be formatted in a link like the below?
https://www.website.com/mm5/merchant.mvc?Screen=BASK&Product_Code={id}&Quantit y=1&Action=ADPRLast edited by afiumano; 09-25-23, 11:55 AM.Tags: None
Leave a comment: