![](/img/trans.png)
[英]How to call a metafield value on the checkout page in shopify
我正在嘗試使用此代碼在結帳頁面上顯示來自元字段的項目數據 - {{ pages.package-urls.metafields.custom.checkout_message }} 在 checkout.liquid 文件上。 我們正在使用 Shopify Plus,元字段在其他模板上顯示良好。 ...
[英]How to call a metafield value on the checkout page in shopify
我正在嘗試使用此代碼在結帳頁面上顯示來自元字段的項目數據 - {{ pages.package-urls.metafields.custom.checkout_message }} 在 checkout.liquid 文件上。 我們正在使用 Shopify Plus,元字段在其他模板上顯示良好。 ...
[英]Add changes to all the themes in shopify
有什么方法可以讓用戶為他的商店選擇任何主題,我的代碼更改會添加到該在線主題並在店面可見嗎? 我嘗試將我的代碼添加到 liquid 文件,但更改僅對該主題可見,如果我更改主題,則新主題的更改不存在。 代碼更改應添加到用戶為其商店選擇的任何主題中。 ...
[英]How do I reference and render a metafield as an image on Shopify Collection Pages?
我真的很感激關於這個問題的一些建議: 我們希望在我們所有的桌面收藏頁面上有一個 4:1 收藏 header 圖片。 移動設備可以接受 1:1。 我已經確定每個產品系列頁面需要 2 張不同的圖片(僅限桌面版和僅限移動版)。 Shopify collections 不允許您上傳或訪問超過 1 張收藏 ...
[英]{{ product.metafields.myfields.myfield.updated_at }} | Shopify Liquid | Metafields
我想問是否可以顯示使用 Shopify Liquid 更新元字段的時間。 我嘗試了這些方法: 但這些都不起作用。 我非常希望有人能幫助我。 再見! ...
[英]Product price calculations in Shopify Liquid
Shopify Liquid 非常新,並試圖瀏覽代碼。 我正在嘗試復制此處出現的折扣: https ://theoodie.com/products/avocado-oodie 我已經設置了一個折扣代碼並將其分配給一個系列,然后我在我的產品模板中檢索它,這樣我就知道要打多少折扣。 我想刪除價格 ...
[英]Is there any way to add metafields data on the homepage of shopify site?
我想在我的 shopify 網站的主頁上顯示一些內容,這些內容被添加到為頁面創建的元字段中。 有沒有辦法在shopify網站的主頁上添加元字段數據? ...
[英]Global variable I can add to in liquid
我目前在帶有液體的頁面中有以下變量: 我想遍歷一些購物車項目並添加到這個變量中。 我需要跟蹤每個額外的數量,並且變量需要包含總數。 這是我的嘗試: 上面給出了一個錯誤,因為這是無效的: {% tagQty = tagQty | plus: item.quantity %} {% tagQty = ...
[英](Shopify) Error: Missing {{content_for_layout}} in the body section of the template
我在theme.liquid中刪除了帶有“{{content_for_layout}}”的“main”部分:<main role="main"> {{ content_for_layout }} </main> 然后,我得到了這個錯誤,如下所示: 似乎無法刪除它,但 ...
[英]I got "EmptyDrop" to get the specific object of a collection (Shopify)
我有“健康產品”系列: 然后,我嘗試使用以下代碼獲取“健康產品”系列的 object:{{ collections["Healthy Products"] }} 但我得到了“EmptyDrop” : 我的代碼有什么問題嗎? ...