All things Shopify and commerce
Thanks for viewing this question.
Let me explain my requirements with an example:
10 products (originally priced differently, from $10 to $15) are defined to be on sale, customer can choose any 5 of them (5 different products or some of them can be the same product), when customer adding the 5 products to cart, the total order price will be a presetted $45.
i hope i've made myself clear.
thank you in advance.
after searching, i found all method are done by giving customers fixed amount discount or percentage discount, however i want to let customer to enjoy the sale with FIXED price no matter what 5 of the products they choose.
To achieve your specific requirement of allowing customers to choose any 5 products from a selection and have the total order price fixed at $45, you can follow these steps:
Create a Collection: Group the 10 products that are part of the sale into a collection. This will make it easier to apply discounts and set specific rules for these products.
Set a Fixed Price: Create a discount code that applies a fixed price of $45 to the entire order. In the Shopify admin, go to Discounts and create a new discount code. Set the discount type as "Fixed Amount" and enter $45 as the discount value. Make sure to configure the discount code to be applicable to the selected collection of products.
Limit Usage: Configure the discount code to have a limit of 5 uses per customer. This will ensure that customers can only use the discount code once and select 5 products.
Notify Customers: Clearly communicate the promotion and its details to your customers through banners, product descriptions, or a dedicated promotion page on your website. Let them know that they can select any 5 products from the specific collection and the total price will be fixed at $45.
By following these steps, you can create a promotion where customers can choose any 5 products from the specified collection and enjoy a fixed price of $45 for their order.
I don't think this method meets my needs.
The fixed amount is the discounted amount, not the price.
For example, when a customer selected 5 products priced at $10, $15, $15,
$20, $25, with the method you provided, the order amount will be
$(10+15+15+20+25-45)=$40, not $45.
Apologies for the confusion. If you want to offer a fixed price for any combination of 5 products regardless of their original prices, you can achieve this through a custom solution using Shopify's discount code functionality.
1. Create a new discount code in your Shopify admin. Go to Discounts > Create discount.
2. Set the discount type to "Fixed amount" and enter the desired fixed price, in this case, $45.
3. Under the "Applies to" section, select "Specific products" and choose all the products that are eligible for this discount.
4. In the "Usage limits" section, you can set the maximum number of times the discount can be used and any other usage restrictions you prefer.
5. Save the discount code.
6. In your store's theme, locate the cart page or the section where customers enter the discount code.
7. Add a message near the discount code field explaining that if the customer adds any combination of 5 products to their cart, the total order price will be $45.
8. Optionally, you can customize the wording or design of the message to make it clear and appealing to your customers.
By implementing this approach, customers will be able to select any 5 products from your eligible collection, and the discount code will automatically adjust the total order price to $45.
Hi @xavierzhong @PMike ,
This is a very common type of discount "Buy X for Y $". Unfortunately shopify does not have any inbuilt feature for this. To solve this exact use case, we have build an app using Shopify's Checkout Functions called Every Possible Discount.
Using this you can create the offer that you are looking for with ease. Choose "Buy X for Y $" as the type of discount. Below is a reference screenshot of the discount settings.
Your app saved me this morning. I've been looking everywhere for this kinda app. Thank you so much!
Hi @xavierzhong , I saw somewhere in one of the posts that you found a solution.
However, when I checked the app link, it seems to be a non-existent app now.
You can do this style of discount (Buy X for Y$) easily with our app, which allows the customer to add X item to the cart for a prescribed amount Y.
> https://apps.shopify.com/dollar-discounts
Cheers.
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025