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

Does the plugin work with arrays?

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.

Initially, the data will be contained in this form.

woocommerce_wp_multi_checkbox( array(
                'id'    => '_multicheck_grafik',
                'name'  => '_multicheck_grafik[]',
                'label' => __('Grafik', 'woocommerce'),
                'style' => '',
                'style_ul' => 'display: flex;
    flex-direction: row;
    display: flex;',
                'style_li' => 'align-content: center;
    padding-right: 10px;
    display: flex;',
                'class' => '',
                'options' => array(               
                    '5/2' => __('5/2', 'woocommerce'),
                    '6/1' => __('6/1', 'woocommerce'),
                )
            ) );
Processing of data takes place by id (_multicheck_grafik).Done through tab metadata.
The difficulty is that this data is treated as an array. In this variant is not working.

Hello

Unfortunately, the Meta filter does not work with arrays.

With what type of data does the mutiselect work (it is)? How can you process the data from the example?

Hello

With what type of data does the mutiselect work (it is)? - String, Number

 How can you process the data from the example? - I doubt that such filters exist. The problem is that this data is stored in a serialized array. This is the same string that encodes the array structure

 

The question is not a topic, but. And how can you make a different multiple choice in woocomerce? So it works with your plugin?

 

Thank you.

Hello

Try  to  use  attributes(any taxonomias).