Y
Y
Yana Mitrofanova2017-08-06 11:32:02
MODX
Yana Mitrofanova, 2017-08-06 11:32:02

Display products with old_price + msDiscount products?

Hello. Such a question is how it is possible to carry out the withdrawal of all goods with old_price and goods for a promotion. And all this should be displayed through mFilter2...
Items with old_price are displayed like this:


Items on sale like this:

Is there any way to combine it somehow? So that both of them are displayed on the same page through the filter?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Yanyshev, 2017-08-07
@villiwalla

Write conditions in &where, something like:

&where=`{"Data.old_price:!=":"0","AND:Data.action:=":"1"}`

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question