All things Shopify and commerce
We using a B2B store.
Each user might have a company and it can have a catalog that provides the ability to set price rules.
To print prices we use:
{{ price.product | money }}
and it returns an already discounted price by rules.
But we want to show the user the original price of the product as a "Retail price" placeholder.
--- EXAMPLE ---
Let me provide an example.
Let's say I have created a new product with 100$ price.
We also have a customer for whose company was attached the catalog with rules for example 25% discount for all products.
So when the customer login into our website he will be able to see the updated price - 75$.
I want to display the original price of the product near to price for this user.
‘retail price: 100$ and current user price 75$'
to display the current price we use:
{{ product.price }}
and it shows 75$ instead of 100$ as expected because it was affected by the catalog rule.
Does anyone know how I can get access to the original price? we also have a lot of products with variations.
User | RANK |
---|---|
50 | |
45 | |
39 | |
28 | |
21 |
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023The year-end shopping season is just around the corner. Is a flash sale on your radar? Are...
By Jasonh Nov 6, 2023