Show Discount Using Dynamic Content Just Like In Pricelist Element , Help - Question | JoomShaper
SP Page Builder 6 is Here! Learn More →

Show Discount Using Dynamic Content Just Like In Pricelist Element , Help

NiroC

NiroC

SP Page Builder 2 months ago

hi

i have created a dynamic collection for my items and in it, i have one custom field for PRICE and one custom field for DISCOUNTED PRICE.

and in my DYNAMIC DETAIL PAGE, i want to show the customer discount just like we show it in pricelist.(below photo, cut normal price and show discounted price) https://prnt.sc/Pv90eYaotUdG

to do something like this using dynamic content possible or?

if possible, kindly please tell me the steps.

thanks

0
2 Answers
Ziaul Kabir
Ziaul Kabir
Accepted Answer
Support Agent 2 months ago #201378

Hello NiroC,

Thank you for reaching out to us.

Currently, there isn’t a built-in option to do this directly. However, you can achieve it using custom fields as you did. Here’s how:

  1. Add values to your custom fields — one for the original price and another for the discounted price — when creating items.
  2. On your details page, add a div block and insert dynamic text twice: once for the original price and once for the discounted price.
  3. Apply custom CSS to the original price, such as a line-through, so that the discounted price appears as the current price.

This way, both the original and discounted prices will display correctly.

Thanks,

0
NiroC
NiroC
Accepted Answer
2 months ago #201388

ok thanks

0