Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #18951

    Hi,

    I’ve built frontpage with the template builder, including a product slider.

    The sorting is descending – I would prefer to have it ascending.

    Could you please point me a way of how to achieve this?

    Thanks in advance,

    best regards Katharina

    Happy Holidays!

    #101501

    Open up includes/helper-templates.php and search for following line:

    if($orderBY == 'price' || $orderBY == 'title'){ $order = "ASC"; }

    Replace it with:

    if($orderBY == 'price' || $orderBY == 'title'){ $order = "DESC"; }

    If you want to keep the ASC order for the price replace it with:

    if($orderBY == 'price'){ $order = "ASC"; }

    #101502

    Thanks so much. Works like a charm – as always with your hints.

    Best regards

    Katharina

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘change sorting in the product slider on frontpage’ is closed to new replies.