By With Prime Button

General ShopSite user discussion

By With Prime Button

Postby peteuga » Mon May 08, 2023 11:00 am

I am trying to install a "Buy with Prime" button in our store. Has anyone done this before? I actually got the button to show once but it did not work. We posted the code at the top of the "More Info Page Text" section.

We also tried the code with and without this button checked
"Append the Option SKU to the Product SKU"

Code: Select all

<!-- Beginning of Buy With Prime Widget -->
<script async fetchpriority='high' src='https://code.buywithprime.amazon.com/bwp.v1.js'></script>
<div
    id="amzn-buy-now"
    data-site-id="hidden for this forum"
    data-widget-id="hidden for this forum"
    data-sku="{{product.sku}}"
></div>
<!-- End of Buy With Prime Widget -->

peteuga
 
Posts: 75
Joined: Thu May 21, 2009 1:20 pm

Re: By With Prime Button

Postby loren_d_c » Thu May 11, 2023 2:38 pm

Did you replace 'product.sku' with the product's actual SKU? My understanding is that they use the SKU to match that product up with one of your products listed on Amazon, and if it's not in Amazon the button doesn't show. So it's important to put the right SKU there.

If you were going to put the code in a custom more info page template instead (so you didn't have to manually add it to each product's More Info Page Text), then you would replace 'product.sku' with the ShopSite template tag that will output the product's SKU, which is [-- PRODUCT.SKU --].

-Loren
loren_d_c
 
Posts: 2571
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere


Return to User Forum

Who is online

Users browsing this forum: Bing [Bot] and 3 guests