• Resolved paradoxdigital

    (@remowebdesigns)


    Hey,

    For simple products, the plugin works great. Prices change and Incl. VAT/Excl. VAT is displayed as normal

    For variation products, I’m using a PHP snippet to change how variable product prices are displayed:

    function format_price_range($price, $from, $to) {
    	return sprintf('%s %s', __('From ', 'lw'), wc_price($from));
    } 
    add_filter('woocommerce_format_price_range', 'format_price_range', 10, 3);
    

    Now, this adds the Incl. VAT/Excl. VAT bits to the price no problem, but when choosing a variations, the price (p.price) never updates…?

    Having looked through the documentation, I can’t work out why…

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support wdevs

    (@wdevs)

    Hello,

    Just to rule some things out; is everything (also the variable prices) working fine if you disable that filter?

    Thread Starter paradoxdigital

    (@remowebdesigns)

    No, that’s the thing, even without my snippet (default £XX – £XX displayed), it doesn’t change

    I can’t work out why, even going through the plugin files to see the JS you’ve used

    Plugin Support wdevs

    (@wdevs)

    Okay, so the filter itself is probably unrelated. Could you please send me a message via our contact form or email? This way, I can privately ask you a couple of things like an example URL and/or used theme and plugins.

    Thread Starter paradoxdigital

    (@remowebdesigns)

    No worries, I’ll email you now. Appreciate you taking the time!

    Plugin Support wdevs

    (@wdevs)

    For other users; the issue was resolved by changing settings.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Variation Pricing – No price changes’ is closed to new replies.