
wilfriddeconti(@wilfriddeconti)
6 Posts
Customers
Quote from wilfriddeconti on April 28, 2020, 12:16
Hi there,
We want to sort products with our own function. As shown in the woocommerce documentation hereafter : https://docs.woocommerce.com/document/custom-sorting-options-ascdesc/
But when we try to do that, it doesn't work and the order is alphabetical.
Thanks in advance.
Best regards
Hi there,
We want to sort products with our own function. As shown in the woocommerce documentation hereafter : https://docs.woocommerce.com/document/custom-sorting-options-ascdesc/
But when we try to do that, it doesn't work and the order is alphabetical.
Thanks in advance.
Best regards

wilfriddeconti(@wilfriddeconti)
6 PostsTopic Author
Customers
Quote from wilfriddeconti on April 28, 2020, 12:28
Hi again
We've been looking at the shortcode page with the "orderby" parameter : https://products-filter.com/shortcode/woof_products/
When we add our custom orderby value, it doesn't work.
Thanks in advance
Hi again
We've been looking at the shortcode page with the"orderby" parameter : https://products-filter.com/shortcode/woof_products/
When we add our custom orderby value, it doesn't work.
Thanks in advance

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on April 29, 2020, 12:09
Hello
You can add only this properties - https://c2n.me/47hbNV9.png
Otherwise, you need customization of the code - https://products-filter.com/hook/woof_order_catalog/
Hello
You can add only this properties - https://c2n.me/47hbNV9.png
Otherwise, you need customization of the code - https://products-filter.com/hook/woof_order_catalog/