I'm trying to invert the order of the woocommerce products (that are ordered by date) but I can't make it work. I added order="ASC" orderby="date" to the shortcode [nectar_woo_products product_type="all" order="ASC" orderby="date" category="cursos-reiki" columns="3"] but nothing changes.
I also tried with order="DESC" orderby="date" and still the same.
Hi!
I'm trying to invert the order of the woocommerce products (that are ordered by date) but I can't make it work. I added order="ASC" orderby="date" to the shortcode [nectar_woo_products product_type="all" order="ASC" orderby="date" category="cursos-reiki" columns="3"] but nothing changes.
I also tried with order="DESC" orderby="date" and still the same.
What can I do?
Thanks!
Hi mbaldasare,
Apologies for the late reply.
It's not really possible to have that option on that shortcode as you would need to modify the shortcode to accept that option on it.
The files responsible for that shortcode are at salient\nectar\nectar-vc-addons\nectar-addons.php
Hope you can work it from there.
The other alternative would be to use woocommerce shortcodes that come with the plugin itself: https://docs.woocommerce.com/document/woocommerce-shortcodes/
Hi Andrew,
It worked perfectly! Thank you so much!