I could not activate the plugin, because of this error:
“Parse error: syntax error, unexpected ‘[’ in /home/beroozit/public_html/wp-content/plugins/sorting-woocommerce-pro/sorting-woocommerce-pro.php on line 82”
How can I fix it?!
What’s your php version?
You will need to upgrade to 5.6 for the plugin to work
Another issue: In “Sorting Options” I added 2 new sorts. In my shop page, one of them is default sort and works well; but, when I click on the second sort, the shop page refreshed and product sorting is well (as what I want) but the Label (name) of the second sort is not show (again show the first sort name option). You can see what I said here by click on another sort option, you can see changing products but not change the name of sort: http://beroozit.com/product-category/clothing/womens-clothing/shawl-scarf/
I think this plugin doesn’t work me, at all! I create a sort option with “Featured Status”, but in shop page, the sort is by Date!
Please send me a message through my profile with an account that has admin privileges so that we can debug this.
Probably it has something to do with the encoding but I have to check.
Regarding the featured, you will need to sort DESC to get the featured products to appear first.
I send you a message with what you want.
Regarding the featured, I sort in DESC but sorting by date!
Also, I sort by Sale Status, but not show any product! Although I have many On Sale Products!
Just sort with Popularity works well.
I fixed the Featured Sort error: The Type of Data should be on “Text”.
Now I see 2 errors that not fixed:
1. I create a sort by Sale Status, but not show any product! Although I have several On Sale Products!
2. In “Sorting Options” I added 2 new sorts. In my shop page, one of them is default sort and works well; but, when I click on the second sort, the shop page refreshed and product sorting is well (as what I want) but the Label (name) of the second sort is not show (again show the first sort name option). You can see what I said here by click on another sort option, you can see changing products but not change the name of sort: http://beroozit.com/product-category/clothing/womens-clothing/shawl-scarf/
seems to conflict with JC WooCommerce Advanced Product Attributes when Im using this plugin i get an error thrown by the sorting plugin
the error that is being sent is
“PHP message: PHP Fatal error: Uncaught Error: Call to a member
function get_attributes() on boolean in
sorting_woocommerce_attributes_handler(Array, Array, 12128)
do_action(‘save_post’, 12128, Object(WP_Post), true)
#6 /home/disco” while reading response header from upstream, client:
126.96.36.199, server: mywebsite.co.uk, request: “POST /wp-admin/post.php
HTTP/2.0”, upstream: “fastcgi://unix:/run/php/php7.0-fpm.sock:”, host:
Are you using the latest version? Supposedly the latest version fixed this error.
yes i am, thats the first thing i did when I got the error was to update the plugin
The trouble shooting that has been done is disabling all plugins other than woo commerce , JC WooCommerce Advanced Attributes, and the sorting plugin. All Caches have been cleared and even tried on the default WordPress theme still the same result. The results have been replicated on our staging server and our live server
Ok then, can you please send me a message through my profile providing an account with admin privileges on your (developing/staging) server to replicate and debug the get_attributes error thing and make sure it’s fixed ?
Will do, and thank you for your swift response
Hi did you get the details I sent yesterday as I have not had a response from you
Is it possible to sort ‘Random’ on shop page?
ok, I have purchased the plugin. Very good product. Please let me know the correct meta key to enter for ‘Random’. Thanks.
Looks like I missed something. I apologize for that.
I have submitted an upgrade to CodeCanyon. You can wait for it to be approved and reinstall the update. If you want it faster, Can you please send me a message through my profile? The update address the random option not appearing in the options.
I try to sort using the Product Meta, and I get the meta key from postmeta table. It seems never sort accordingly, it still follow the “Default Product Sorting” under WooCommerce -> Settings -> Product tab.
Hi, to explain more the bug, If the sort option appear as 1st item in the sort dropdown, the product sort will not work, untill I select other sort option, and then go back to 1st option.
Please help on this bug.
Please let me know if I understand correctly
- You have only one sorting option in the shop
- The sorting option is NOT default
- You can not use the sorting option
In this case, you will need to set the default sorting to the one sorting option that appears in the list.
In case of the following
- You have more than one sorting option in the shop
- The custom sorting option is NOT default
- The custom sorting option is the FIRST one in the list
This means that the default sorting option is not in the list I think. So it’s best always to set the default sorting to one of the options in the list on the shop page.
Do I understand correctly?
Thanks for the reply.
Yes, I have 1 sorting option, created using the plugin.
However, this sorting option I can’t set as default under WooCommerce – Settings – Products – Display – Default Product Sorting
The sorting option created by the plugin is not display here. Let me know how shall I send the login credential to you.
What is the current Plugin Version?
We have the problem, that the products of a special category were not displayed in the product overview of the category. The direct link to the product works correct. We use the Version 3.1 and the current version of Woocommerce and Wordpress. Do you have an idea?
I am not sure I understand the issue but the current version is 4, you can download it directly through the downloads page.
Please note that this is a major upgrade, you will need to re-enter the sorting options again.
Thank you for your quick reply. I have bought a new licence and then updated the plugin. The problem seems to be fixed.
But now it is not possible, to set the default sort order for the shop start page. I want, that the featured products are shown at first.
I have submitted a version for review that fixes the default thing.
I am not sure how much time will it take but if you’re interested, send me an admin account through my profile and I will install the updated version for you till it’s approved.
Thank you very much! I have send you the admin account through your profile.
i cannot activate as the following error: Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /home/SITE/public_html/wp-content/plugins/sorting-woocommerce-pro/sorting-woocommerce-pro.php on line 16
Can you please tell me your PHP version, WordPress version, and WooCommerce version?
Also if you can please send me an admin account via my profile contact form to debug this faster.
If I have x number of attributes per prod, so lets say 3 Age, Sex, Location. Will this allow me create a 3 dropdown filter or does this just allow me filter within one dropdown?
Nope, you are probably looking for WooCommerce product filter (it’s available on CodeCanyon).
This plugin edits the dropdown menu (selectbox) that’s available in the shop page (sort by price, popularity ..etc.).
Hi there, pre-purchase question here! Can i sort products by “edited date”? i want to show first the products i made changes (price for example). i hope it is clear, sorry for my bad English.
sorry but my client is really demanding… he wants sorting with 1. New products 2. Latest edited (like the example before) . thanks
Use, by you or one client, in a single end product which end users are not charged for. The total price includes the item price and a buyer fee.
View license details
Unlimited downloads only
$29 p/m on Envato Elements
Download over 18,000 items now
Learn almost anything with
Envato Tuts+ for free
9000 free tutorials, 3000 paid courses
Designers matched perfectly to
you on Envato Studio
2000 artists ready to undertake your work