• Resolved jinesh10

    (@jinesh10)


    Hi,

    I have set TAX to show in the cart in addition to price. It shows properly for simple products. But when I add a Variable Product Tax does not show up at all.

    I tried disabling all the plugins and still nothing. So there is no plugin code conflict. Also tried replacing the Woocommerce plugin with a fresh downloaded copy.

    Please can anyone suggest something I can do to fix this.

    Thanks a lot!

    https://wordpress.org/plugins/woocommerce/

Viewing 15 replies - 1 through 15 (of 16 total)
  • Thread Starter jinesh10

    (@jinesh10)

    I added a new Variable product and that is working. It is just happening on the existing Variable products.

    @jinesh10 did any provide support on this topic? I just ran into the same issue with existing variable products not accepting tax while brand new ones are working properly.

    Thread Starter jinesh10

    (@jinesh10)

    No.

    So I exported all the products to CSV and deleted all products on Woocommerce. And imported the CSV that I had created.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    Did you check the ‘tax class’ options per variation? https://dl.dropboxusercontent.com/s/5lmzog81ctoao31/2015-08-13%20at%2014.43.png?dl=0

    Hello,

    Has anyone found a proper solution to this ? I have the same problem.
    And the tax class per variation is corectly set.

    Hi, I have the same issue using woocommerce 2.4.7. I have entered the prices without tax and enabled the tax calculation. On a single product it works fine. On a variable product it shows the price range without tax. Once a variable is chosen it adds the tax.
    I tried all, even deleted the whole wordpress installation and started from scratch. No luck.
    I installed woocommerce 2.4.6. again and the tax issue is gone.
    So it seems it is a bug in the woocommerce 2.4.7 version. At least for me.

    Hi guys !

    Mardiga13, I’ve the same problem !
    I’ve tried all I know about WooCommerce and nothing happens.

    If anyone found an awnser, please contact us on this post ! πŸ˜€

    Thanks !
    I’ll edit if I fix it.

    Hello everyone,

    This problem has been reported on Github.

    In the WooCommerce folder you have to edit this file “includes/class-wc-product-variable.php”

    line 267, you have to delete these lines

    -		if ( ! empty( $this->prices_array ) ) {
    -			return $this->prices_array;
    -		}

    The fix is here : https://github.com/woothemes/woocommerce/commit/44f4a3b9be000a4d84fc682e1a34505607c6a3b8

    Thanks a lot aureliendebord, i’ll try it now !

    I’ve to delete the code like aureliendebord said and this is working for me. Will deleting these lines have any negative effect we should be aware of?

    Hi !

    I don’t think so, i’ve delete these lines and that’s work. I haven’t detect any bugs !

    Enjoy

    I can not get Zero Tax Rate to show in my options dropdown.

    I have zero tax rate setup with 0% and added it to variables. Also I’ve selected proper option in TAX field for each variable, but it still doesnt show up.

    Page – http://granulas.coma.lv/product/ruf-briquettes/

    In the dropdown there should be 12%, 21% and 0%

    Ok for the original problem of variable products not calculating the tax. I found a solution that doesn’t requiring editing code. To be honest, I’m surprised the author didn’t try this. If you manually entered in your tax rate or you use a third party uploader like Tax Rate Upload you need to recreate or re-upload your tax table. Leaving all my product settings as they were originally this solved the problem tax is now calculated properly how I originally had it. Why we would need to recreate or re-upload tax rates after an update is beyond me. But this solved the problem on my cart.

    Im getting this issue still and I cant find the file named above and also I deleted my standard Tax rate and recreated. But the issue is still there. all my variations are showing on the page price without tax. Any hewp herec would be great guys.

    Link to a sample product with the issue brelow:

    http://www.thbc.clearcellwebdesign.com/shop/hair/gummy-original-hair-gel/

    update, I found the file, but that line of code is not in it. My file has the following code:

    // If the value has already been generated, we don’t need to grab the values again.
    if ( empty( $this->prices_array[ $price_hash ] ) ) {

    // Get value of transient
    $this->prices_array = array_filter( (array) json_decode( strval( get_transient( $transient_name ) ), true ) );

    Any Ideas?.

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘Tax not showing on Variable Products’ is closed to new replies.