Code

Discussion on WooCommerce Tax Toggle

Discussion on WooCommerce Tax Toggle

By
Cart 1,277 sales

ymmv supports this item

Supported

This author's response time can be up to 1 business day.

384 comments found.

Hello there

I just bought your plugin and it seems to work as intended.

However, I have a question:

When I toggle the price of a product to “excl VAT” and add it to the cart, the product is added “incl VAT” on the cart page.

How do i change this? (So it matches the selected price)

Best regards Asger

Hey Asger I’m not quite following, but I think the latest version of the plugin should address these issues as the tax-on / tax-off settings the plugin uses are now more defined. If it doesn’t solve them, please open a support ticket with us so we can investigate further https://desk.thetwopercent.co.uk

Just purchased this and not seeing the “Tax” settings to edit the text in WooCommerce > Settings. Please advise asap.

Also, when I click to toggle the tax nothing happens to the prices.

Hey vulcanstudio, I am sure the latest version of the plugin will fix your issues, but also to be sure, there are 3 main things that need to be done for the plugin to work as intended:

1) Tax Rates and Calculations must be switched on WP Admin > WooCommerce > Settings > General “Enable tax rates and calculations”

2) Tax Rate must be set WP Admin > WooCommerce > Settings > Tax > Standard Rates + Insert Row with your Tax info

3) Individual Product must be marked as Taxable WP Admin > Products > Product > Product Data > Tax Status “Taxable” (screenshot: https://cln.sh/w3ODpz)

Hope that helps

I’ve already submitted a refund request. I’ll just wait for that to be processed.

Thank you.

Hi, I need to translate the text as the site is both English and Norwegian. It must show Inkl. and Eks. in Norwegian, and Excl. and Incl. in English. JHow can I do this? Using Polylang for language versions.

Hey Stuedal The strings can be translated by using a function in your theme. Here is a code snippet example: https://gist.github.com/thetwopct/6b6935c213b0d5b85b8e8ea9dcf6ac12 Also the button text can be changed from the plugin options WooCommerce > Settings > Tax > Button Text Hope that helps

Hi, i’m trying to follow the instructions for translations as in translation_example.php but when I add the code to functions.php in my own theme I get this error: “Cannot redeclare wctax_text_strings() (previously declared in wp-content/plugins/woocommerce-tax/translate_example.php:10)”. Is this a bug or is it a workaround for this? I use Divi with a child theme, lastest WP and latest WC, except that this plugin and Wordfence.

Hey mediamindab This was a mistake in the plugin – the latest version removes that conflict. If you want to translate the strings, of the plugin, you can use this code snippet https://gist.github.com/thetwopct/6b6935c213b0d5b85b8e8ea9dcf6ac12 Also the button text can be changed from the plugin options WooCommerce > Settings > Tax > Button Text Hope that helps

I can’t get the widget to work. When I add the widget I only get a blank section. I’m using Orchid Store theme by themebeez

Hey JonasArkmix, can you try the latest version of the plugin? Just installed it on Orchid Store theme by themebeez and it works using latest WordPress and WooCommerce (let me know if you are on other versions?)

Hi, I am trying to update the translate strings provided within the ZIP file but after pasting in the functions.php file, nothing is translated. I would appreciate a bit of assistance. Thanks.

Hey evolutionmediase, if you want to translate the strings, of the plugin, you can use this code snippet https://gist.github.com/thetwopct/6b6935c213b0d5b85b8e8ea9dcf6ac12 – put the code in your functions.php Also in the latest version of the plugin the button text can be changed from the plugin options WooCommerce > Settings > Tax > Button Text. Let me know how you get on.

7a46187b-69c4-4c8a-bac1-dde6a685a8da

Hi there,

Using your great plugin with YITH WooCommerce Product Add-ons, but it doesn’t seem to change the prices calculated with this plugin.

Any ideas?

Thanks

Andy

Hey Andy, apologies for the delay in reply, we just updated the plugin to a new version, so this should solve the issues. If you are still seeing issues, can you open a support ticket with us and we will help you directly – https://desk.thetwopercent.co.uk

Hi there, I have an interest about this plugin, but I also have several questions: - My current WooCommerce version is 5.1 – will your plugin work as supposed? - Most of the products in my store are with variations – will your plugin display correctly the prices with/without VAT?

Regards Alex

Hi Alex Yes the plugin works with WordPress 5.1 and also works with variations and sales items.

Hi,

I downloaded this plugin last week so that our website could have a working VAT toggle, however this does not work on our website. The toggle appears but nothing changes when I click the button. No matter what I try the prices & suffix will not change. We are using the advanced dynamic pricing plugin which is essential for us.

Please can I get a refund on this product.

My purchase code is…

643a89f6-f2d4-4915-98a1-befebfe95488

Thank You.

Hi pbgmarketing, we’ve just released a new version of the plugin, can you try that as a solution? If not, I am happy to offer tech support and custom coding due to the slow response here. Please contact us https://desk.thetwopercent.co.uk

Purchased plugin and it works well thank you, I also need to turn it into a toggle button, is it possible with CSS or PHP? Example of toggle here > https://www.w3schools.com/howto/howto_css_switch.asp

Hi burakace, yes this should be possible. Use CSS to override the button styling for off state, and then add styling for on state using “on” class which is added when the button is active.

How can I refund this Item? I Bought it, but it does not work with bulk prices an the Theme Flatsome. It messed up the whole price section and even showed doubled prices.

No problem – will refund

The latest version should now work with Flatsome Theme

Hi, we use pricing & discounts for woocommerce for bulk prices. Your toggle-button works with the article price for one item but not for the prices in the bulk-pricing table. Would it be possible if you could look after this topic? If you want to look at a real example: https://www.dev.desabag.de/produkt/big-bag-schuettgut-90x90x90cm-07m%c2%b3-2000kg/ The VAT-Switcher is locatet in the header (Privatkunden/Geschäftskunden).

It would be really amazing if you could have a look!

Thanks in advance and greetings from Germany

Sebastian

Hey Sebastian, can you try the latest version of the plugin as this should be compatible with more items. If its still not working, please open a support ticket with us at https://desk.thetwopercent.co.uk and I can look more into this bulk-pricing table

Hi, I disabled the floating tax button and using the shortcode. But there is no button at all on the Basket page… How to rectify this?

You can insert the shortcode using WordPress Actions or a dev can add the code manually. Likely a job for a freelancer developer if need straight away.. We are working on a big reworking of the code and this is likely possible in the coming months. Will keep you posted.

We’ve released an update to the plugin and we hope this meets your requirements, thanks

I’m testing your plugin for a new project and all in all, it seems to work fine, However one issue I am seeing is in the Mini cart. when prices are set to display EX vat. in the “mini” cart, the subtotal price is displaying correctly, but the product price is displaying including Vat with the suffix EX Vat. Can you check this and let me know if this is a bug or an error on our side. All versions of WP / Woo are up to date. and plugins except your and woo ate active.

Link to dev site (ignore HTTPS warning.) http://dev.clearcell-dev.com/product/stud-boilersuit/

Hey Clearcell, we just updated the plugin so it should be more reliable now. Can you check it out and if there are any issues open a support ticket with us at https://desk.thetwopercent.co.uk

Preorder question. Is this plugin just show price with/without tax, or aslo affect on cart and checkout. If I add product without tax to cart, iwi pay price on checkout without tax? Thank you.

Hey Verkkoverstas, the toggle affects all products, the mini cart, and also works on the cart page. The toggle is disabled on the checkout as it could be confusing to users and the cart shows tax breakdown based on user location anyway.

Hi we have a bulk discount plugin. When a bulk discount is applied the loop outputs:

<bdi> £ 3.04</bdi> – <bdi> £ 3.26</bdi> inc. VAT
<bdi> £ 2.74</bdi> – <bdi> £ 2.93</bdi> inc. VAT

Please can you update the plugin to loop through an array of woocommerce-price-amount to update all indexes of price, rather than just one.

Many thanks

Simon

Hey Simon, we just updated the plugin and that fixed many issues. Not sure about the looping thing, but the latest plugin is confirmed working with around 50 themes we have tested so far.

Dear Rison team,

The plugin does not work with the last version of Flatsome theme (custom product layouts). I have disabled all plugins and double check tax settings but the VAT toggle does not work. Can you make me the return? Thanks,

I’ll refund this – works fine on other themes, sorry not working as expected.

is there any way i can make like this http://prntscr.com/w668q1 ? so both button will be shown and active one as red deactive one as grey.

Hey aklisurrahman1963, that is not a design we have worked with, but it may be possible. We will do if enough people ask for it.

Hi, after upgrading to WP5.6 we get a jQuery deprecation error in woocommerce-tax/assets/js/wcvat.js (jQuery.fn.load() is deprecated). Could you please let us know when we can expect an update for the plugin ? TIA

Hi there, any news on a possible ETA for an update of the plugin ?

I have checked and this works without error on latest WooCommerce and WP. Can you let me know if this still occurs when you deactivated other plugins as may be another issue. Thanks

If its still not working, please open a support ticket with us at https://desk.thetwopercent.co.uk and I can look more into this issue

Hi, at the moment all I see on the page over to the left of the page is a box that says Include clicking it does change the price display but the button is nowhere near the price. Are there instructions somewhere to show how to change the text and location of the button please?

You can use the widget to change or you can copy/paste the code and use where you like.

by
by
by
by
by
by

Tell us what you think!

We'd like to ask you a few questions to help improve CodeCanyon.

Sure, take me to the survey