> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.easystore.co/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# 【官網設計】設定顯示價格但不開放購物車按鈕（Aroma 或其後發佈之佈景主題）

你可以透過 EasyStore 製作商品目錄/內容庫網站，顯示價格但是不開放「購買」或「加入購物車」按鈕

| EasyStore 本不支援客製化原始碼服務，但我們非常了解商家需求，特此提供修改原始碼路徑。然而，編輯原始碼會更改原本的架構，可能導致代碼不相容或影響到其他功能，本站概不負責。提醒商家在進行任何代碼修改之前，務必慎重考慮及深入評估。


### 步驟一：隱藏網站主選單的「購物車」按鈕

1. 前往 EasyStore 後台 → 品牌官網 → 佈景主題 → 編輯原始碼 → 找到 header.liquid 文件 → 搜尋 header__icon--cart → 刪除以下代碼

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1lncyul.png)

2. 點擊儲存

3. 官網主選單的「購物車」按鈕被隱藏了

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_1aw6njf.png)

### 步驟二：隱藏商品頁面的「購物車」按鈕

1. 前往 EasyStore 後台 → 品牌官網 → 佈景主題 → 編輯原始碼 → 找到 main-product.liquid 文件 → 搜尋 <product-form class="product-form">

2. 點擊「展開」

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_14bzvdg.png)

3. 刪除以下代碼

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_2vsm0a.png)

4. 點擊儲存

### 步驟三：關閉「加入購物車按鈕」

1. 前往佈景主題設定，關閉所有「顯示加入購物車按鈕」，例如：精選商品目錄、目錄列表、商品分類頁面、購物車商品推薦區

![](https://storage.crisp.chat/users/helpdesk/website/-/b/3/4/7/b34797d9594d3000/image_qsgrdg.png)
---

### 設定結果：

商品頁面的「購物車」按鈕被隱藏了

![](https://storage.crisp.chat/users/helpdesk/website/b34797d9594d3000/image_yjup26.png)