Skip to product information
1 of 1
Published:2025.01.02

This is a setting example for the Shopify theme "Rise/Dawn" that fixes the "Buy Now" button appearing to be available for purchase when a product without a variant is sold out.

This is a setting example for the Shopify theme "Rise/Dawn" that fixes the "Buy Now" button appearing to be available for purchase when a product without a variant is sold out.

Applications

  • Product information management and editing

How to implement

  • LIQUID
  • Javascript
View full details

On the product detail page for the "Dawn/Rise" theme, if a product with only one variant is sold out, the "Buy Now" button will appear to be available for purchase. This is an example of how to fix this.

Since this issue may be resolved in the future, we use Javascript to determine if an item is sold out and change the status to a "Buy Now" button.

◆ Advantages of implementation: Can be implemented with just a few lines of code

◆Specific steps: Add a customized Liquid block to the product information section of the product template and insert the code.


This is an example of how to fix the "Buy Now" button appearing to be available for purchase when a product without a variant is sold out in the "Rise/Dawn" theme.


How to set it up: Add a customized Liquid block to the product information section of your product template and insert the code.


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

Add a customized Liquid block to your product information section and insert your code.

Related Post