Set a start date and time and an end date and time to sell a product only during that period. Outside the period, the cart button is hidden and a message appears on the product page.
Prerequisite: Enable the app embed in the theme.
If you have not done this yet, see Initial Setup.
This example sells from 00:00 on January 1, 2027 through the end of January 31, 2027. The end date and time is "2027-02-01 00:00." After setup, the display is as follows.
The cart button and dynamic checkout buttons are hidden
The message "This product goes on sale on January 1, 2027" appears where the cart button was
The cart button and dynamic checkout buttons appear
The message "Limited-time sale from January 1, 2027 through January 31, 2027" appears
The cart button and dynamic checkout buttons are hidden
The message "This product's sale ended on January 31, 2027" appears where the cart button was
You can check the behavior on a demo product. [Demo] Limited-time sale
Put the start time, end time, and messages for each phase into a rule.
(1) Open selling period rules
From Shopify admin, go to Apps and open "RuffRuff Selling Periods." Select "Selling period rules" in the left menu.
(2) Open the rule editor
Select "Create rule."
(3) Enter the details
Enter the following.
Title: Any text
Start date and time: 2027-01-01 00:00
End date and time: 2027-02-01 00:00
Product message before the selling period: This product goes on sale on January 1, 2027
Alert message before the selling period: This product is not on sale yet.
Product message during the selling period: Limited-time sale from January 1, 2027 through January 31, 2027
Product message after the selling period: This product's sale ended on January 31, 2027
Alert message after the selling period: This product is no longer on sale.
Note: End date and time is in minutes, and seconds are always 00. If you set "2027-01-31 23:59," 23:59 on January 31 is already outside the selling period. To sell through the end of January 31, set the end date and time to "2027-02-01 00:00."
(4) Save
Select "Save" in the upper-right corner.
Creating a rule does not apply it to the store. Enable the rule.
(1) Enable
On the rule you created, select "Enable" in the upper-right corner.
Apply the rule to the products for the limited-time sale.
(1) Open the product list
Select "Products" in the left menu.
(2) Select products
Select the products to apply the rule to.
(3) Apply the rule
Select "Apply rule," choose the rule you created, then select "Apply."
Check: Open the product page and confirm that the messages and cart button before, during, and after the selling period match the example.