Can't order by date my products WOOF SHORTCODE
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 pleaseIf 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.
Quote from ___ripa___ on May 11, 2021, 11:38I've my shortcode to show my products and i want to order them by date
This is my short code [woof_products per_page=12 columns=3 is_ajax =1 orderby='date' ] the order by date parameter isn't working
I've my shortcode to show my products and i want to order them by date
This is my short code [woof_products per_page=12 columns=3 is_ajax =1 orderby='date' ] the order by date parameter isn't working
Quote from Pablo Borysenco on May 11, 2021, 12:31Hello
Please drop me exact link to the issue
Hello
Please drop me exact link to the issue
Quote from ___ripa___ on May 11, 2021, 13:13Hi Pablo, thanks for your answer, that's the link https://www.rtssrl.com/portal/prodotti/
Hi Pablo, thanks for your answer, that's the link https://www.rtssrl.com/portal/prodotti/
Quote from Pablo Borysenco on May 12, 2021, 12:30Hello
Have you customized the code?
try to add in functions.php
add_filter('woof_order_catalog', function($args){
$args = array(
'order' => 'DESC',
'orderby' => 'date','meta_key' =>""
);
return $args;
})
Hello
Have you customized the code?
try to add in functions.php
add_filter('woof_order_catalog', function($args){
$args = array(
'order' => 'DESC',
'orderby' => 'date',
'meta_key' =>""
);
return $args;
})
Quote from ___ripa___ on May 12, 2021, 12:36i just tried, nothing, doesn't work
i just tried, nothing, doesn't work
Quote from Pablo Borysenco on May 12, 2021, 13:05So third-party code interferes with the request. try to disable all plugins except woof+woo and install another theme
So third-party code interferes with the request. try to disable all plugins except woof+woo and install another theme
Quote from ___ripa___ on May 13, 2021, 13:01I 've the same plugin on another web-site, in which i've the same plugins and the same site structure, it's like a clone, and woof shortcode here work. I saw a difference beetween the 2 website. The ordering select.
<select name="orderby" class="orderby" aria-label="Ordine negozio">
<option value="menu_order" selected="selected">Ordinamento predefinito</option>
<option value="popularity">Popolarità</option>
<option value="rating">Valutazione media</option>
<option value="date">Ordina in base al più recente</option>
<option value="price">Prezzo: dal più economico</option>
<option value="price-desc">Prezzo: dal più caro</option>
</select><select name="orderby" class="orderby" aria-label="Ordine negozio">
<option value="popularity">Popolarità</option>
<option value="rating">Valutazione media</option>
<option value="date">Ordina in base al più recente</option>
<option value="price">Prezzo: dal più economico</option>
<option value="price-desc">Prezzo: dal più caro</option>
</select>The first is on the working website, the seconds on my broke page. There isn't this option " <option value="menu_order" selected="selected">Ordinamento predefinito</option> " the default order, i think here is the problem do you have any idea?
PS: the ordering by parameters works in both
https://www.eltekitalia.it/portal/sistemi-di-sicurezza-umbria/ working website url
I 've the same plugin on another web-site, in which i've the same plugins and the same site structure, it's like a clone, and woof shortcode here work. I saw a difference beetween the 2 website. The ordering select.
<select name="orderby" class="orderby" aria-label="Ordine negozio">
<option value="menu_order" selected="selected">Ordinamento predefinito</option>
<option value="popularity">Popolarità</option>
<option value="rating">Valutazione media</option>
<option value="date">Ordina in base al più recente</option>
<option value="price">Prezzo: dal più economico</option>
<option value="price-desc">Prezzo: dal più caro</option>
</select>
<select name="orderby" class="orderby" aria-label="Ordine negozio">
<option value="popularity">Popolarità</option>
<option value="rating">Valutazione media</option>
<option value="date">Ordina in base al più recente</option>
<option value="price">Prezzo: dal più economico</option>
<option value="price-desc">Prezzo: dal più caro</option>
</select>
The first is on the working website, the seconds on my broke page. There isn't this option " <option value="menu_order" selected="selected">Ordinamento predefinito</option>" the default order, i think here is the problem do you have any idea?
PS: the ordering by parameters works in both
https://www.eltekitalia.it/portal/sistemi-di-sicurezza-umbria/ working website url
Quote from Pablo Borysenco on May 14, 2021, 11:34Hello
As I described in the previous message, you need to find the code that causes the code conflict. So please - https://c2n.me/4c1xvX3.png - then activate one by one and do the test
This works on all of our test sites.
Hello
As I described in the previous message, you need to find the code that causes the code conflict. So please - https://c2n.me/4c1xvX3.png - then activate one by one and do the test
This works on all of our test sites.
Quote from ___ripa___ on May 26, 2021, 10:35Sorry for the delay, i put my website on localhost, i disabled all plugins and changed theme, no results! My woof shortcode order by date doesn't work.
Sorry for the delay, i put my website on localhost, i disabled all plugins and changed theme, no results! My woof shortcode order by date doesn't work.
Quote from Pablo Borysenco on May 26, 2021, 13:18Hello
This is very strange, I have three test sites and it works correctly on all sites
Hello
This is very strange, I have three test sites and it works correctly on all sites
Quote from ___ripa___ on May 26, 2021, 15:04I know, as i said i've another website like a clone and works fine.
This is my "broken" website:
This the right way:
As you see in the first one there isn't the order deafult option
I know, as i said i've another website like a clone and works fine.
This is my"broken" website:

This the right way:

As you see in the first one there isn't the order deafult option
Quote from Pablo Borysenco on May 27, 2021, 12:44Hello
I think only one reason is possible - https://share.pluginus.net/image/i20210527134201.png
unfortunately I have no other ideas
Try to add this code to check args
add_filter('woof_order_catalog', function($args){
var_dump($args);
return $args;
});
Hello
I think only one reason is possible - https://share.pluginus.net/image/i20210527134201.png
unfortunately I have no other ideas
Try to add this code to check args
add_filter('woof_order_catalog', function($args){
var_dump($args);
return $args;
});
Quote from ___ripa___ on May 28, 2021, 16:43It display this params, and order by is actually wrong
array(3) { ["order"]=> string(3) "ASC" ["orderby"]=> string(10) "popularity" ["meta_key"]=> string(11) "total_sales" }
It display this params, and order by is actually wrong
array(3) { ["order"]=> string(3)"ASC" ["orderby"]=> string(10)"popularity" ["meta_key"]=> string(11)"total_sales" }
Quote from Pablo Borysenco on May 31, 2021, 13:06Hello
Does this show up on any sort?
Hello
Does this show up on any sort?
Quote from ___ripa___ on May 31, 2021, 14:48Goodmorning,
do you mean if the shortcode has the same result in other page? yes
otherwise if you mean other type of sort as orderby = 'title', no, they doesn't work
It seems it doesn't accept orderby params
Goodmorning,
do you mean if the shortcode has the same result in other page? yes
otherwise if you mean other type of sort as orderby = 'title', no, they doesn't work
It seems it doesn't accept orderby params
Quote from ___ripa___ on May 31, 2021, 15:50All other parameters are working (per_page, columns, is_ajax =1)
All other parameters are working (per_page, columns, is_ajax =1)
Quote from Pablo Borysenco on June 1, 2021, 12:49Hello
as I wrote before, this is not a problem with plugin parameters.
this code eliminates the possibility of a problem with shortcode parameters - https://share.pluginus.net/image/i20210601134834.png
Hello
as I wrote before, this is not a problem with plugin parameters.
this code eliminates the possibility of a problem with shortcode parameters - https://share.pluginus.net/image/i20210601134834.png
Quote from ___ripa___ on June 1, 2021, 13:00I don't know what to do more. Only idea if there is another way to filter my product contained in a wp elementor block...
But my local website is totally clean i deactivate all plugin theme core plugin and elementor inclused, only woocommerce and woof still don't work. Don't know what try more
I don't know what to do more. Only idea if there is another way to filter my product contained in a wp elementor block...
But my local website is totally clean i deactivate all plugin theme core plugin and elementor inclused, only woocommerce and woof still don't work. Don't know what try more
Quote from Pablo Borysenco on June 2, 2021, 11:31Hello
Try to use standard woocommerce shortcodes [products]
Hello
Try to use standard woocommerce shortcodes [products]
Quote from ___ripa___ on June 3, 2021, 17:43Hello
[products orderby='date'] shortcode seems to work and woof filters too, though the select to sort the products is still not showing order default option, but i can hide it...
No idea how to completely fix the problem, but at the moment I can leave it like this. Thank you very much for your tips, if you have any other idea is welcome!
Hello
[products orderby='date'] shortcode seems to work and woof filters too, though the select to sort the products is still not showing order default option, but i can hide it...
No idea how to completely fix the problem, but at the moment I can leave it like this. Thank you very much for your tips, if you have any other idea is welcome!
