You might want to take a look at the WooCommerce docs, there’s a good snippet there showing now to add custom sort orders.
The link is http://wcdocs.woothemes.com/snippets/custom-sorting-options-ascdesc/
Once you’ve ‘defined’ your custom order you’ll of course need to set it as the default in the store settings.
Related Posts:
- Add subtitle to Woocommerce product title
- How to rename a custom field?
- How can I make wp-pagenavi work on a custom query built upon a form submission? [closed]
- Meta Query with AND & OR?
- Display custom field value on woocommerce product page
- Plugin similar to Taxonomy Drill-Down for custom fields?
- How do I query for a post by custom field?
- Woocommerce with metabox plugin
- Count how many posts have a custom field set
- Upcoming Event: How do I sort database by custom date field, but ignore past dates?
- sort search results by custom fields using dropdown
- How can I sort homepage by a meta value?
- Loop to display random posts only if a custom field matches category
- Conditional custom field query
- Display only past events on that page using Visual Composer Grid Bulider
- Custom Field Create Bulk via SQL Query
- Create Pop-Up Box with Custom Field Content Inside the Loop
- How to add image attachment to post from a single meta key (Woocommerce)
- query usermeta from custom field
- Is there any way to get all meta and standard columns for any WordPress object after searching based on meta key and value
- Order RSS content by an advanced custom field value
- Alter main archive, to show posts with meta as last
- Collect user custom field in product page woocommerce
- Limits, not all post are showen when querying for posts by view count
- Why orderbyb meta_value_num won’t affect the generated SQL Query order?
- Get post ids sorted by meta_key
- querying a custom field
- pre_get_posts : only get posts by wp_usermeta value
- Query post by date (stored custom field meta as yyyymmdd) and differentiate across 12 months
- How to query an out put value?
- List custom queried terms in the edit-tags.php?taxonomy page
- Modify date query by URL parameter using pre_get_posts and $_GET
- Loop through incrementing custom fields
- Custom search SQL Query to add custom field in result
- Plugin or shortcode for ISBN number?
- The best way to collision check in WP
- how to add product subscription field in woocommerce plugin
- How to exclude custom fields from search queries?
- Run Function if Order Meta Exists – WooCommerce
- WP_Query () using taxonomy, custom post types
- How to query for posts with either one or another custom field
- Best way to sort estates and query them (for rent? yes/no. contains office space? yes/no)?
- Custom Query: query by post custom meta data
- Get array of posts based on custom field values
- Searching with Multiple (Parallel) Criteria on Custom Fields?
- How to query posts by month based on date custom field?
- Custom Field Date Problem
- Compare ACF date field (if exists) and post date and order DESC
- Problem with revisions only returning four results
- Search & column order by meta value in admin
- Dynamically populate query source in Elementor post widget
- searching by keywords in post’s metas or pagination links problem
- select user with all meta field and field value. I am use Below Query for this ,So any of know another way to fast query instead of below query?
- Create custom query for search?
- query specific posts according their custom fields, using sql SELECT
- Meta_query not filtering posts
- Get multiple posts with some custom fields efficient
- How to add a prefix to existing custom fields over MYSQL query?
- Complex WP_Query Using Post Date And Post Meta
- How to check if custom field exists in this widget query
- Only show content slideshow if “slideshow” custom field exists
- How I can change PayPal IPN ‘custom’ field in woocommerce?
- How to display search query as formatted text?
- adding extra wordpress user info from registration form
- Hide custom meta data if empty
- Custom Meta Box (SELECT) Not Saving
- Get an advanced custom field after post publish
- How to create a dropdown select of all items in an ACF field group
- Custom fields value
- How do I have WP_Query match posts based on search parameter OR meta fields? (rather than search parameters AND meta fields)?
- How to create an input field, and base the output on spreadsheet data? [closed]
- Better way to save image in custom field
- Why the pagination for a query modified by pre_get_posts doesn’t mind the number & order of posts sorted & selected based on a custom date time field
- Dynamic dropdown select values depending on other custom field value
- Advanced Custom Fields dynamic update_field
- Order by empty custom field
- Custom Profile Fields move from BBpress to BuddyPress
- Tracking changes in admin-page so user gets warning when leaving the page
- modify wordpress caption shortcode
- How can I output a list of values for a custom field, and posts with those values?
- Editable custom field in WP Admin Dashboard
- How to display image inside container of custom made widget
- Manipulate javascript code from custom made admin page menu
- Client PDF Upload (Catalogue) – Automatically update link to PDF
- How do I add an image upload, custom field to a WooCommerce product?
- How do I hide posts across all loops based on the value of a custom field?
- How to create a shortcode to print specific values stored in a post meta array?
- Advanced search for meta fields
- WooCommerce – Adding Custom Fields To Invoice
- Get updated meta value after post update or published (custom post type) using hook
- How to add upload video option in wordpress for user?
- Woocommerce Product Custom Select List (not variation)
- Changing themes… and need to move Custom Field content into another field
- Filter Posts on Custom Fields and Show them on a new Page
- update_post_meta for repeated custom field [closed]
- Removing link ” from ” on meta_value in custom feilds
- Two queries for a WP_User_Query search work perfectly apart, but not together
- Passing args to WP_User_Query am I using meta correctly?
- jQuery – Automatic event trigger does not **really** check my form
- Get posts with same meta value as current post