欧美自拍电影,国内精品美女av在线播放,欧洲精品一区二区,一区福利视频

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

跨境頭條 3年前 (2022) iow
25K 0 0

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

圖片來源:跨境出海陸路

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

本文將介紹Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)。適用情況:您的Shopify網站想改成外貿型網站,進行產品展示、引導客戶詢盤表單咨詢報價、獲得顧客聯系方式、或訂閱等目標。

是的,Shopify網站是可以改成B2B外貿型網站的,把價格、數量選擇器、加車、購買等按鍵或網頁隱藏便可以。使用Shopify建外貿網站有這些優點:1.價格便宜。2.模塊化建站,操作簡單。3.商家可隨意控制、更改。

注意:此自定義用于經典 Shopify 模板,不適用于“Online Store 2.0”模板。“Online Store 2.0”模板請點擊頭像查找或咨詢博主。

可以看到下圖,現在這個產品是有Add to cart按鍵

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

我們接下來會把這個Add to cart按鍵隱藏。

1.進入到Shopify商家后臺,點擊Online Store

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

2.點擊Themes

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

3.點擊Actions

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

4.點擊Edit code

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

5.在Search files里輸入product

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

6.點擊main-product.liquid

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

7.按鍵盤Ctrl+F

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

8.在搜索框里輸入cart

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

9.如圖

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

10.找到以下代碼,可以注意代碼前部的數字范圍,可快速找到

type="submit"

name="add"

class="product-form__submit button button--full-width {% if block.settings.show_dynamic_checkout and product.selling_plan_groups == empty %}button--secondary{% else %}button--primary{% endif %}"

{% if product.selected_or_first_available_variant.available == false %}disabled{% endif %}

>

{%- if product.selected_or_first_available_variant.available -%}

{{ 'products.product.add_to_cart' | t }}

{%- else -%}

{{ 'products.product.sold_out' | t }}

{%- endif -%}

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

11.把這個代碼{% comment %}放到上圖代碼前面。把這個代碼{% endcomment %}放到上圖代碼后面

12.如以下代碼

{% comment %}

type="submit"

name="add"

class="product-form__submit button button--full-width {% if block.settings.show_dynamic_checkout and product.selling_plan_groups == empty %}button--secondary{% else %}button--primary{% endif %}"

{% if product.selected_or_first_available_variant.available == false %}disabled{% endif %}

>

{%- if product.selected_or_first_available_variant.available -%}

{{ 'products.product.add_to_cart' | t }}

{%- else -%}

{{ 'products.product.sold_out' | t }}

{%- endif -%}

{% endcomment %}

13.添加后,如圖

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

14.點擊右上角Save

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

15.回到產品頁,點擊刷新。多刷新幾次,可以等幾分鐘再刷新。

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

16.如圖,Add to cart按鍵已被隱藏

【Shopify外貿建站】Shopify如何隱藏Add to cart加入購物車按鍵?(經典Shopify模板)

相關文章

主站蜘蛛池模板: 交口县| 华坪县| 互助| 抚松县| 随州市| 大城县| 泰来县| 澎湖县| 肇庆市| 乌鲁木齐市| 永城市| 西丰县| 登封市| 平舆县| 普兰县| 万载县| 五大连池市| 当阳市| 平湖市| 绥中县| 青海省| 青神县| 抚宁县| 石台县| 白河县| 句容市| 离岛区| 同仁县| 阿鲁科尔沁旗| 两当县| 延寿县| 玉溪市| 乾安县| 平凉市| 德江县| 余江县| 东乌珠穆沁旗| 保靖县| 颍上县| 东至县| 浙江省|