Here is my custom sorting order:
this is just showing your product table. Can you send me a screenshot of your admin ReOrder page for the term ‘balayage-film-and-foil’
ReOrder page for Balayage Film And Foil: https://snipboard.io/In2xN5.jpg
as I suspected you have not checked the ‘override orderby’ checkbox. this is important. Please follow the link provided on the page to understand how this works, and most importantly read FAQ #10.
Hi,
Here is screenshot of “override orderby” checkbox selected for Balayage Film And Foil Category: https://snipboard.io/xH1B5i.jpg
Products are still not showing in correct order on Category Page: https://www.pasalondistributors.com/product-category/balayage-film-and-foil/
Thank You
do you have multiple post types registered with the product category?
https://snipboard.io/xH1B5i.jpg
you need to select ‘Yes’ if you want the manual sorting to appear on the front-end!
do you have more than post_type using the product_category taxonomy?
try inserting the following code in your functions.php file,
add_filter('reorderpwc_filter_multiple_post_type', 'filter_my_ranked_post_type', 10, 4);
function filter_my_ranked_post_type($type, $post_types, $taxonomy, $wp_query){
/* String $type post type to filter.
* String $post_types post types associated with taxonomy.
* String $taxonomy being queried.
* WP_Query $wp_query query object. */
if('product-category' == $taxonomy && in_array('product',$post_types)) $type = 'product';
return $type;
}
Please read the following FAQ point #3 for more details.
No. I have not customized anything, I am only using default categories.
I added the code to funtions.php but sorting is still not working. https://www.pasalondistributors.com/product-category/balayage-film-and-foil/
then likely there is an error in the way your theme is querying your database.
I have noticed that none of the query order work on your page. In the top right corner of the page you have a drop down allowing to order the products by price. selecting low-to-high makes no difference to your page, which points to something being wrong with the query/product display.
Can you disable the re-order plugin and see if your page is able to show price ordered lists?
I disabled the re-order plugin and page is showing price ordered lists correctly, I can sort using low to high or high to low and it works.
ok, could you reach out to me on vrata at syllogic dot in
thank you for reaching out. I had a look at your website and it turns out the culprit is your theme. The HTML source output shows the correct order of your products, however your theme is somewhat randomising the display, either using a javascript plugin such a masonary or some fancy css styling. You’ll need to take this up with your theme developer.