Add a specific condition to "Latest" module using vQmod

40 Views Asked by At

Using vQmod, I'm trying to add a condition to select only products which will be available at the current date (in order only these ones are displayed with the "Latest" native module).

I have tested with something like:

<search position="replace">
    <![CDATA[           'sort'  => 'p.date_added',
    ]]>
</search>
<add>
    <![CDATA[
     # Before the current date
     'sort'  => 'p.date_available <= NOW()',]]>
</add>

But it seems not to have any effect...

0

There are 0 best solutions below