Add "from" to price for simple product with variants that have price adjustments

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
4 years ago
Hi, I'm using nop 4.2.

If you set up a grouped product, the price on the catalog page displays "From $x", where x is the value of the cheapest product.

How do I get the "from" to display for a simple product that has variants with price adjustments?

I can't find any setting that allows this, so I assume it requires some adjustment to the code.

Can someone please point me in the right direction on how to make this adjustment? Thanks.
4 years ago
Hello,

So it means you have to display your own product instead of chipest one from same group product?

Awaiting for your reply.
4 years ago
sk5202 wrote:
Hello,

So it means you have to display your own product instead of chipest one from same group product?

Awaiting for your reply.


Hi, sorry, I don't think I explained the problem clearly.

Assume I have a simple product priced at $10. I then add an attribute, for example, size, with attribute values small and large, where large has a price adjustment of +$2. This makes the total price $10 for small and $12 for large. I want the price on the catalog page to display "from $10". Currently now it just says "$10".

The reason I brought up grouped products, is because I noticed that generally with grouped products, the price on the catalog page displays "from" in front of the price.

I want to know how to adjust the code to do the same for the simple product example like I described above. Any help please?
4 years ago
andrewjacobs wrote:
display "from $10". Currently now it just says "$10".

You may simply add word "From" before price. If you add this at your cshtml file, it will be always display. You may do small trick and use product template, which will be exactly this same as default one with just one change - added "From" before price. Then choose proper template at product edit page... and that is all.

Regards,
Tom
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.