【问题标题】:Amazon button to Shopify product page亚马逊按钮到 Shopify 产品页面
【发布时间】:2019-06-30 14:42:06
【问题描述】:

谁能告诉我如何在产品页面上添加亚马逊按钮以自动搜索亚马逊上的 shopify 产品标题。到目前为止我得到了这个代码,但不知道在“产品标题”部分添加什么来自动搜索亚马逊上的产品标题。这是我在网上找到的代码

**这是我在网上找到的代码

<a href="https://www.amazon.com/s?k= "product title" target="_blank"
   rel="noopener noreferrer"
   style="border: none; text-decoration: none;">

   src="https://www.niftybuttons.com/amazon/amazon-button2.png" />

</a>

代码如上**

【问题讨论】:

    标签: button shopify amazon shopify-template


    【解决方案1】:

    产品对象在产品页面上可用。它可用于获取产品标题。示例代码会像

    <a href="https://www.amazon.com/s?k={{ product.title | url_escape}}" target="_blank">
    See it on Amazon
    </a>
    

    Product Object Documentation

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2020-07-02
      • 2017-08-11
      • 2022-08-04
      • 2013-12-11
      • 1970-01-01
      相关资源
      最近更新 更多