有關的文章: 官網設計

【官網設計】如何移除購物車「繼續購物」按鈕




這文章將教導如何移除購物車「繼續購物」按鈕。




此步驟僅適用於新版主題(Aroma 與其後發佈之主題)


  1. 移除購物車頁面的「繼續購物」按鈕


前往編輯原始碼 → snippets → cart-template.liquid → 刪除以下代碼


<a href="/collections/all" class="underlined-link">{{ 'products.product.continue_shopping' | t }}</a>



<a href="/collections/all" class="button">
{{ 'products.product.continue_shopping' | t }}
</a>





  1. 移除商品加入購物車後出現的『繼續購物』按鈕


前往編輯原始碼 → snippets → cart-notification.liquid → 刪除以下代碼


<a href="/collections/all" class="link button-label">{{ 'products.product.continue_shopping' | t }}</a>






  1. 移除官網前台,顧客帳號頁面『繼續購物』按鈕


前往編輯原始碼 → templates → customers/orders.liquid → 刪除以下代碼


<button class="btn" onclick="window.location.href = '/collections/all'">{{ 'products.product.continue_shopping' | t }}</button>





此步驟僅適用於舊版主題(Candy 或之前發佈之主題)


  1. 移除購物車清空狀態下的『繼續購物』按鈕


前往 cart-template.liquid原始碼文件 → 移除以下代碼


 <a class="btn btn--secondary" href="/collections/all">{{ 'products.product.continue_shopping' | t }}</a>




更新時間: 12/03/2026

這篇說明對您有幫助嗎?

分享您的反饋

取消

感謝!