Skip to product information
【Dawn】Shopifyのテーマ「Dawn」でバリアントを持つ商品の在庫が一部切れている場合にコレクション(商品一覧)画面に「一部売り切れ」と表示する設定例
Published:2023.12.04

[Dawn] Example of settings to display "Partially sold out" on the collection (product list) screen when a product with variants is partially out of stock in the Shopify theme "Dawn"

On the collection page of the Shopify theme "Dawn", when all variants are sold out, it shows "Sold Out", but there are times when you want to show "Partially Sold Out" even when some variants are out of stock. Here is an example of how to do that.


Example of settings to display "Partially sold out" on the collection (product list) screen when some of the products with variants in the "Dawn" theme are out of stock


[Settings] Add code to "card-product.liquid"


After making a purchase (all items are ¥0), you will be able to view the sample code.

View store information

[Dawn] Example of settings to display "Partially sold out" on the collection (product list) screen when a product with variants is partially out of stock in the Shopify theme "Dawn"

If you have already made a purchase, please login here.

Sample Codes

Test Theme :Dawn/Rise 15.2.0

Add code to "card-product.liquid" (Part 1)


Add code to "card-product.liquid" (part 2)

↗ Related Post

すべてのShopify TIPS

View all