Price don’t change in product page

[ad_1]

Hello,

Unfortunately, there are a ton of different product addons plugin on the market and each of them requires a special integration to work properly with tiered pricing.

Currently our plugin support the following product add-ons plugin:

  • Product add-ons by WooCommerce
  • WooCommerce Custom Product Addons (WCPA) by Acowebs
  • Product Fields (Product Addons) by StudioWombat

You can find a list of compatible plugin under the WooCommerce -> Settings -> Tiered Pricing -> Integrations section.

We will consider integrating it with the “TM Extra Product Option” in future updates.

Thanks!

You can try to add the following JS to your product page:

(function($){

var currentPrice = false;

$(document).on('tiered_price_update', function(event, data){
    currentPrice = data.price;            
});

jQuery.epoAPI.addFilter('tc_calculate_product_price',function(price){

    if(currentPrice){
        return currentPrice;
    }

    return price;
})

})(jQuery);

I cannot guarantee it will work now, but it worked for older versions of the “TM Extra Product Option.” plugin.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer