PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Disable orderby

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi! I got 2 different categories that have 2 different sortby functions.

When i WOOF  2 things happen:

  1. ajaxify is checked - swipe removes my order of"sortby".
  2. ajaxify is unchecked - no products shown if checkboxes is checked..

From what I can see it works if I add sortby &orderby=menu_order& in the url.

So is there anyway to remove the sortby/orderby in WOOF? Preferably via my themes functions.php

 

RGS Emma

I've used this for sorting per category:

https://webhostingbuddy.com/blog/woocommerce-default-sort-method-for-specific-category/

So when WOOF filters its sets sortby back to STANDARD sorting, which we cant use on our web.

Hello

your purchase key can not be validated, please login into codecanyon account and duplicate your message there on the plugin forum, just copy/paste

Paste  exact  link  to  the  issue.

Describe in more detail what should I do to get this error

Hi! I think i got it right..? Copy/pasted my first comment on the support forum.

I'ev copied a link in private data. If you use the slider filter you'll se the order change(it should be numeric ASC by metadata"VOLYM I LITER"). Thats because WOOF Filter uses another sortby than we want. I've used this https://webhostingbuddy.com/blog/woocommerce-default-sort-method-for-specific-category/ to create different orders of product per category and to sortby metadata instead of standard options. Ajax is now off.

So my question is simple, can I disable the SORTBY/ORDERBY in WOOF and just use the one that i already got?

Hello

Copy/pasted my first comment on the support forum. - Yes! Please

I got your question.

 

New code uploaded to private

Hello

Try  in  file  -\wp-content\plugins\woocommerce-products-filter\index.php  delete  these  lines - https://c2n.me/45chJFK.png  AND  https://c2n.me/45chRS2.png

Do test  please.

Hi!

They are now gone. Im sorry to say but did not fix the problem..

FYI - Last rows (from picture https://c2n.me/45chRS2.png) was"disabled" by comments-row (/* */).  (See picture, Green is comments, https://ibb.co/808mNcx)

Hello

As you requested, this completely disables orderby in this plugin.

OR you can undo these changes  AND  add   your  custom  orderby - https://c2n.me/45eAa38.png

Hi! I can't get either of these two fixes to work.. With or without ajaxify..

The first option, removing orderby from index.php, does nothing what I can see..

The second option, adding my custom orderby, does not work, see image: https://ibb.co/dLrmyzT.  Are you sure aboth this one?

Hello

 does not work, see image: https://ibb.co/dLrmyzT - ???????  this is a sorting of taxonomy terms. It is not related to products

You need to hire a developer to implement your custom functionality

Ok, my bad on the sorting of taxonomy terms.

But when I filter with WOOF my sorting still goes out the window.. I dont understand why we cant just disable the custom sorting..

Hello

I have already described to you how to disable sorting. I also described how to add your sort to the plugin.

To implement a custom function you need to hire a developer

Hi again! Hope the holidays have been good!

Ok, i'll hire a developer for custom functions.

I tried to disable all my coding regarding different sortings per category and then via Appearance/Customize/woocommerce/product catalogue, changed to most recent (https://www.endocreative.com/customize-product-sorting-woocommerce/) and still when I woof the order of the products still goes back to DEFAULT SORTING. I have removed the lines you said. Does it still counts as a custom function?

Hello

Ok. This plugin works with standard woocommerce sorts. So use the original code of this plugin.

Describe in more detail what should I do to get the error( a specific example of the wrong sort ). Please add  wp-admin access - https://c2n.me/42BAoj4.png

Hi! I Dont think you’ll need admin access to see this problem but I’ve added it to private data field. Observe that the site is live! Does this counts as custom functions or is it support?

Go on problem link in private data, you’ll see my products start with “50 L” Products. Then try to filter  with woof, drag the slider, and now the product order starts with “10000 L” products. You can also see that the woocommerce ordering field changes from “Sortera på volym stigande” changes to ”Standardsortering”, which is woocommerce standard.

If you then choose “sortera volym” it goes back to the right order. Woof should not remove the chosen ordering by woocommerce.

Hello

This is not standard sorting! I thought you had problems with standard sorting.

Does this counts as custom functions or is it support? - To change this you need customization of the code. Customization of the code is not included in the support.

This plugin can only change sorting in ajax mode.