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

Having problems showing Variations Sizes and Order

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'm trying to get the Variations Titles to display in the Popup but also I'm trying to get them to display by ID order but unabl;e to do either of these I must be doing something wrong could you please help and advise what I'm doing wrong many thanks.

I have tried this code you wrtoe for someone previously but all this did was crash the pop up.

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

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

return $args;
});

Hello

What plugin version number are you using?

was crash the pop up. - Can you drop me a text of error?

Please try this code

add_filter('woot_vurgc_shortcode_data', function ($args) {
    if (isset($args['filter_provider']) && 'woot_variations' == $args['filter_provider']) {
        $args['orderby'] = 'id';
        $args['order'] = 'asc';
    }
    return $args;
});