• Resolved ROCK Design B.V.

    (@rockdesign)


    Hello,

    Where can I find the tiered_pricing_table/rules_separator hook?

    I have prices like 21,95, but after importing it with WP All Import I get the price 22 or 21. So the decimals behind the ‘,’ aren’t there.

    Maybe you can help me?

    Best regards.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mykola Lukin

    (@bycrik)

    Hello there,

    You can change the rules separator, for example, to “;”.

    add_filter('tiered_pricing_table/rules_separator', function(){return ';'});

    So your import string should looks the following:

    10:21,95;20:20,05

    Where 10 pcs = 21,95 and 20pcs = 20,05

    I hope this helps.

    Plugin Author Mykola Lukin

    (@bycrik)

    Hi there,

    We haven’t heard from you in a while, so I’m going to mark this as resolved.
    Feel free to start a new thread if you need any further support.

    Thread Starter ROCK Design B.V.

    (@rockdesign)

    Sorry for the late response, but it is not working.

    I get the error:

    Parse error: syntax error, unexpected ‘}’, expecting ‘;’ in your code on line 2

    What am I doing wrong?

    Plugin Author Mykola Lukin

    (@bycrik)

    Sorry, try this one:

    add_filter( 'tiered_pricing_table/rules_separator', function () {
    return ';';
    });

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘tiered_pricing_table/rules_separator hook’ is closed to new replies.