T
T
tereshock982021-07-22 17:31:24
MODX
tereshock98, 2021-07-22 17:31:24

How to display the old price of a product for a specific id?

I'm making a store on ModX minishop2 + msMiniCartDynamics, and I need to display the old price of a product, but msMiniCartDynamics only provides a price placeholder, and there is no old price placeholder( How to display the old price of a product for a specific id?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
tereshock98, 2021-07-26
@tereshock98

Found a solution. I had to create a TV field, because the placeholder did not want to be taken in any way,
The code below calculates the total discount of the product
{$id_d | resource: "old_price" * $count_d}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question