Skip Navigation

[Resolved] Insert Woocommerce default orderby into a view

This support ticket is created 4 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by pedro.S 4 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1594957

Tell us what you are trying to do?
Insert Woocommerce default orderby into a view

hidden link
Please check print of the default woocommerce orderby.

I created a woocommerce view that displays products. I even inserted an orderby which comes with toolset which allows me to insert an order by price and choose ascendent or descendent, but i would prefer the default woocommerce orderby.

Is there a way to implement it?

Thanks

#1595601

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

As you can see with the view's section Ordering section it will offer you the ordering options. Maybe you should check what is default order of WooComerce (I mean what field WC uses by default to orderby the results) and use the same field if its available with the view's Ordering section.

If that option is not available I'm afraid you may need to find a workaround by using hooks or custom code if that helps but I checked and I do not see that option.

However, please feel free to raise a feature request:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1595891

My issue is resolved now. Thank you!