Trying to add the Amazon “Buy With Prime” Button to my products. It sounds pretty straight forward, but I haven’t been able to figure it out. What is this naming convention for Wix?
This is from Amazon:
- Locate where the product detail page template file is stored for your site.
- Identify the naming convention of the SKU identifier in that template. For example, “product.sku”.
- In the Buy with Prime button code, find the line data-sku=“{{product.sku}}”.
- Replace product.sku with the naming convention of the SKU identifier from your site template from Step 2.
- Paste the Buy with Prime button code below the add to cart or payment options on the page.
Where exactly are you trying to add these Buy with Prime buttons?
You cannot add a button to the Wix Stores product page because it will be the same button for ALL products.
I have also tried this. I have followed the instructions by adding a “Embed HTML” using their code below. I replaced the “product.sku” with the Amazon product sku and no luck. Any coders welcome to give insight on how to solve this.
1 !-- Beginning of Buy With Prime Widget –
2 <script async fetchpriority=‘high’ 3 src=‘https://code.buywithprime.amazon.com/bwp.v1.js’>
3 <div
4 id=“amzn-buy-now”
5 data-site-id=“lcmnz1423m”
6 data-widget-id=“w-JDMn4s3Y91aQb7pTEEowj6”
7 data-sku=“{{product.sku}}”
8 >
9 !-- End of Buy With Prime Widget –