Discount at checkout

Rhys2
Tourist
7 0 3

Screenshot 2024-05-15 at 19.30.59.png

 I am looking for a way to change the checkout so it shows the the strike through price as the compare at price, the little tag with the discount amount from the comparable price rather than from the normal price. I also want this to follow through into total price. For example product one will show strike through price as £100 (the comparable price), underneath will be the price of £47.50 and the discount shown as the difference. The total savings adds up all the discounts using this new amounts. I was wondering if this could be done by manipulating the theme language settings or in liquid settings. 

Replies 6 (6)

Imogen
Shopify Staff
1711 199 300

Hi there, @Rhys2. Thanks for taking the time to reach out to the Shopify Community with your question around editing these parts of your checkout! My name is Imogen. It's good to meet you!

 

Folks are not able to edit the coding for their checkout page, or make edits to the checkout page beyond what is available to them in 'Settings > Checkout' and in your 'checkout' template in your Theme Editor. Using liquid to make these changes wouldn't be a valid option for you to look into here, since you won't be able to access the coding.

 

As changing the default language settings of the theme, you can definitely adjust the wording presented in different parts of the page using the Default Theme Language editing tool (found by clicking the '...' next to 'Customize' in 'Online Store > Themes' and hitting 'edit default theme content'), but you wouldn't be able to change the formulas or coding that the page uses to determine what prices to show your customers, and how those prices are determined.

Imogen | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Rhys2
Tourist
7 0 3

Thank you for that, is it possible to do this anywhere before hand, I only need this function for set customers for example if I used an if customer has x tag statement then assign price to comparable price. 

Imogen
Shopify Staff
1711 199 300

Thanks for following up @Rhys2! You wouldn't be able to use tags or anything like that to present a certain subset of customers with a different or altered version of the checkout by default. This could be something that may be possible by upgrading to the Shopify Plus Plan, and using the checkout extensibility tools available as a part of that plan, using something like Shopify Functions or Checkout UI extensions. If your store is not on a plus plan, however, then you won't be able to achieve this sort of functionality.

 

If you like, I can pass along some feedback internally on your behalf letting our Developers know that you feel that some freedom to customize the coding and appearance of the checkout for non-Plus stores would be beneficial! I can't promise what the outcome of sharing that feedback may be, but I'm happy to pass some along for you!

Imogen | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

Rhys2
Tourist
7 0 3

Thank you ! 

tobebuilds
Shopify Partner
268 13 75

Hi Rhy2,

 

Sorry, but no, it's not possible.

 

In Shopify, discounts always apply to the "sale price," and never the "compare at price."

 

In my app, we have a way to calculate discounts based on the compare price, but even that is really just a workaround that adjusts for the difference between the compare at price and sale price.

 

In the cart/checkout, the discount still appears as applied to the sale price, with the compare at price nowhere to be seen.

 

This is actually one of the most common issues people run into with discounts in Shopify, because they are separate from sale price and compare at price, so don't feel bad.

 

Best,

Tobe

Rhys2
Tourist
7 0 3

That is a very similar work around to what I did, adjusting all the prices everywhere else just not on the checkout. But I guess it looks ok as long as the discount is big enough…