Boost Your Shopify Store: Easily Integrate Amazon Product URLs for Every Product!

Boost Your Shopify Store: Easily Integrate Amazon Product URLs for Every Product!

1) Setup metafields in Shopify?

  • Log in to your Shopify admin.
  • Go to Settings > Custom data.
  • From the Custom data section, click on Products.
    metafields shopify inittasker
  • From Products metafield definitions, click on Add definition button.
    product metafields shopify
  • Write the name of the metafield and then click on select type of metafield to URL.
  • click on Save button.product metafields create
  • Now Copy the metafield definition copy metafeild definition
  • Now close the settings popup.

2) How to setup metafield in Shopify theme?

  • Go to Online Store > Themes.
  • Click on edit code.
  • Now write the product in search box of theme and click on “main-product.liquid” file.
  • Now scroll down to “buy-buttons.liquid” file
  • Now put this below code above “buy-buttons.liquid” file

    {% if product.metafields.custom.amazon_product_url %}
    <a href=”{{ product.metafields.custom.amazon_product_url }}” class=”product-form__submit button button–full-width button–secondary”>Buy from Amazon</a>{% endif %}buy button shopify

  • Now close the theme editor.

3) How to Integrate Amazon URL to product page in Shopify?

Do you require assistance in creating your ideal Shopify store? Please get in touch with us to construct and expand the business. Check out our recently completed projects.

Leave a Reply

Your email address will not be published. Required fields are marked *