Hi
Thank you for reaching out.
I guess you are trying to display the least price with a “From” prefix. Right ?
You can achieve this using the following two code snippets:
To get the least price for variable product:
https://gist.github.com/AshlinRejo/535bcaa4220122084304df9e9886d689
To prefix “From”:
https://gist.github.com/AshlinRejo/b0d25f3a90bfd8ef7c276ff1a531cc46
NOTE: You can consider using the Free Code Snippet plugin to add these.
Here is a guide on using the Code Snippet plugin:
https://docs.flycart.org/en/articles/2404915-using-code-snippets-plugin
If you face any difficulty, please create a ticket at https://www.flycart.org/support
Happy to assist.
Thanks
Thank you for your answer!
What if our products are not variable (we have only simple products) and do not have sale price (just regular price) but they do have quantity based discounted prices?
For example, we have a product with regular price 100 euros.
On this product we apply rules up to 50% discount (for quantity 10 – 99 items).
How could we display a price label “From: 50 euros” instead of “100 euros”?
In that case, the only way is by displaying the Discount Table. https://docs.flycart.org/en/articles/2417123-all-about-discount-table
Unfortunately, the above use case scenario is not yet possible with simple product type. I am so sorry.
-
This reply was modified 6 years, 3 months ago by
flycart.
Hey
Since we have not heard back from you on this topic, we’re going to go ahead and close the thread.
If you have any other questions please feel free to open a support ticket here
Thank You!