Skip to product information
1 of 1
Published:2023.05.09

Example of settings to automatically display a "New Arrival Icon" for a certain period of time after a product is published on the product details of the Shopify theme "Dawn"

Example of settings to automatically display a "New Arrival Icon" for a certain period of time after a product is published on the product details of the Shopify theme "Dawn"

Applications

  • Product information management and editing

How to implement

  • LIQUID
View full details

We've introduced how to automatically display a "New Arrival" icon on a Shopify collection page for a set period of time after a product is registered, but this is how to set it up if you want to have the same functionality on your product details page in conjunction with that.

The date the product was published will be the base date. (If a published product is made private and then republished, the date will become the publication date, so it will be treated as a new product and will be eligible for the "New product icon display.")

Example of settings to automatically display a "New Arrival Icon" on the product details of the theme "Dawn" for a certain period of time after the product is released


[Settings Step 1] Add the scheme to "main-product.liquid" and the label to "ja.schema.json"


[Settings Step 2] Modify the display code of "main-product.liquid"


[Operation Procedure] Set the display settings ON/OFF, display period of new icons, etc. in the theme editor


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

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

Sample Codes

Test Theme :Dawn/Rise 15.2.0

main-product.liquid

Related Post