谷歌sem推广怎么样优化方案 - 可信的圈子

Shopify外贸建站:如何隐藏页首购物车图标 Shopify Foreign Trade Website: How to Hide the Header Shopping Cart Icon 适用情况/Applicabl

Shopify外贸建站:如何隐藏页首购物车图标

Shopify外贸建站:如何隐藏页首购物车图标

Shopify Foreign Trade Website: How to Hide the Header Shopping Cart Icon

适用情况/Applicable Scenario:
您的Shopify网站想改成外贸型网站,进行产品展示、引导客户询盘表单咨询报价、获得顾客联系方式、或订阅等目标。
When you want to convert your Shopify website into a foreign trade site for product display, lead generation through inquiry forms, collecting customer contact information, or subscriptions.

Shopify外贸网站优势/Advantages of Shopify for Foreign Trade:

  1. 价格便宜/Affordable pricing
  2. 模块化建站,操作简单/Modular website building with simple operation
  3. 商家可随意控制、更改/Merchants have full control and can make changes freely

隐藏购物车图标步骤/Steps to Hide Shopping Cart Icon:

1. 打开Shopify商家后台,点击Online Store/Log in to Shopify admin, click Online Store

2. 点击Themes/Click Themes

3. 在主题模板部分点击Actions/Click Actions in the theme section

4. 点击Edit code/Click Edit code

5. 在Search files...搜索框,输入header/In the Search files... box, type "header"

6. 点击header.liquid/Click header.liquid

7. 同时按住Ctrl+F调出搜索框/Press Ctrl+F to bring up the search box

8. 在搜索框输入cart/Type "cart" in the search box

9. 找到如下代码/Find the following code:
<a href="{{ routes.cart_url }}" class="header__icon header__icon--cart link focus-inset" id="cart-icon-bubble">{%- liquidif cart == emptyrender 'icon-cart-empty'elserender 'icon-cart'endif-%}

10. 在上述代码的前部加入{% comment %},尾部加入{% endcomment %}/Add {% comment %} before the code and {% endcomment %} after it

11. 点击Save进行保存/Click Save

12. 刷新网站/Refresh your website

注意事项/Notes:
此方法适用于将Shopify网站改为B2B外贸型网站,隐藏价格、数量选择器、加车、购买等电商功能。
This method is suitable for converting Shopify websites to B2B foreign trade sites by hiding e-commerce features like pricing, quantity selectors, add-to-cart, and purchase buttons.

需要帮助?/Need Help?
如果您有对Shopify改成B2B外贸型网站有任何疑问,欢迎咨询博主。
If you have any questions about converting Shopify to a B2B foreign trade website, feel free to consult the author.

一线实战干货分享助力国货品牌出海
Practical insights to help Chinese brands go global
欢迎关注公众号:跨境出海实操干货
Follow our public account: Cross-border E-commerce Practical Guide