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

We need to arrange our table in ascending or descending order based on prices.

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.

We need to arrange our table in ascending or descending order based on prices.

 

Hello

https://share.pluginus.net/image/i20231201102658.png - I understand that these settings do not work for you

Do you use third party plugins that change prices?

I need to organize the secondary pricing table for a product that displays the prices of the product's options. It is a table that appears when you click the 'select' button.

Hello

Ok! Please drop me  exact link to the issue  I will check it

are you using a shortcode to display the table?

 

Hello, sir. Here is the exact link to the page and an explanatory video for the table where we need to organize the prices. Please use the first table on the page with the first button on the right to display the product's price details.

--link : https://www.venue-visitmonaco.com/f1-monaco-nos-offres/

--( javascript: woot_helper.call_popup("woot_woocommerce_get_variations_table",{product_id: 11026, skin:"mystyle", not_paste:1},"ttgxal59","F1 Monaco - Terrasse VIP Sport - Espace entre le RDC et le 4%C3%A8me %C3%A9tage"); void(0); )

--video : https://www.venue-visitmonaco.com/ytutyutyu.mp4

Please  add  in  functions.php

add_filter('woot_review_shortcode_args', function($args){
if (isset($args['filter_provider']) && 'woot_variations' == $args['filter_provider']) {
$args['orderby'] = 'price';
$args['order'] = 'desc';
}

return $args;
});

 

Hello, I have added the code to the 'function' file, but there is an error in the option that orders the table according to the prices, both with and without the function added in the 'function.php' file.

Please watch the video to understand.

[video src="https://www.venue-visitmonaco.com/qsdqsdqsd.mp4" /]

Hello

Do you use third party plugins to change prices?

What plugin version number are you using?

WOOT - WooCommerce Active Products Tables v.2.0.6

Actualized for WooCommerce v.8.3.1

no  third party plugins to change prices add it

Please paste your license key here - https://share.pluginus.net/image/i20230222134241.png -> https://share.pluginus.net/image/i20230222134511.png and  wp-admin access - https://share.pluginus.net/image/i20230222134615.png

It's done, please check the details sent in private.

Hello

It looks like prices are compared as strings.

Please  add FTP access  - https://share.pluginus.net/image/i20230222134241.png ->  https://share.pluginus.net/image/i20230222134615.png - I will fix  it

Hello you can use file manager extension in our website to edite files https://my-best-of.com/wp-admin/admin.php?page=file_manager_advanced_ui#elf_l1_Lw

Hello

OK! Unfortunately, the file manager does not work on your site, I cannot open folders

Please  try this  code :

add_filter('woot_review_shortcode_args', function($args){
if (isset($args['filter_provider']) && 'woot_variations' == $args['filter_provider']) {
$args['orderby'] = 'price';
$args['order'] = 'desc';

$args['mode'] = 'ajax';
}

return $args;
});