News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VAT for diferents country and price layout

Started by thefbi, April 13, 2019, 13:06:08 PM

Previous topic - Next topic

thefbi

Hello,

i use VM 3.4.3 and Joomla 3.9.5.

I use VAT taxe for my store country, Switzerland, 7.7% and for others country, 0%.
The problem is when i am in the shop, before i log in the cart, the price are displayed without taxe. I want the price with taxe (7.7%) by default.
I can fond the parameter to do that.

Url of site (under construction) : https://fwqguzge.preview.infomaniak.website/fr/


jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

thefbi

#2
Hello,
thank you, i have buy the vm localise, publish the plugin, install the database of component (it localise me in Switzerland), but it still dosent apply tax by default in the shop...

I have try to add the "anonymous" group to the 7.7% tax (i dont have any Guets group), but it dosent work.

The price change ONLY if i add a product in cart, but not before.

thefbi

Is there a parameter to put ?
I dont understund this field ??? (see screenshot).

jenkinhill

I have never used this plugin, it is supported by iStraxx (Milbo) by ticket  - https://extensions.virtuemart.net/ticket

Although someone else here may have used it and be able to advise.
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

jjk

If I understand you correctly, you should be able to configure your 7.7% VAT without an additional plugin.
1. In your 7,7% TVA rule setting select 'VAT tax per product', select only 'Switzerland' in the Country field and leave 'Shopper Groups' and 'States' empty.
2. Disable your 0% TVA rule.
3. In the 'Configuration' > 'Pricing' tab, select only 'Final Sales Price'.
4. Select the 7,7% TVA rule in each Product.

Now the default price incl. TVA should be displayed and the Tax should be subtracted in the cart view if a customer selects a different country.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

thefbi

Hello,
YES, it work like this, thank you !

If i force VAT 7.7% in the product, it work. But for now, all the products have been entered with "default rule", so it dosent work.

My question is, is there a way to modify this rule for all the products, with database for example, or have i to do manually product by product... ?

thefbi

It is OK, i have modified manually the prices :)


thefbi

OK thank you for the link. (je le garde de côté au cas ou).

Regards

Milbo

Quote from: thefbi on April 15, 2019, 18:05:02 PM
Hello,
YES, it work like this, thank you !

If i force VAT 7.7% in the product, it work. But for now, all the products have been entered with "default rule", so it dosent work.

It is absolutly correct to let them on "default rule". The whole system works so, that the localiser sets the country in the cart. The cart selects then the correct tax which fits to the userdata. So you just need to set your 7.7% tax to swizz and thats it. The localiser automatically sets the country, that is the trick. Really do not overwrite the tax system by using the fixed tax setup.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

thefbi

It dosent work with the localiser. The ticket system on VM dosent work too. I have posted a ticket support last monday, no response...

As you mention, if i undurstand, it work ONLY when you are in the cart. I dosent work if you are just in the frontend and check the products. It will be work here, just when you come in the shop, the system must be localise you and apply the good product tax.

Or i have another problem, thats why i have open a ticket...

Regards

Milbo

I think the main problem arises here with your used vm version 3.4.3.10020. I worked there in the cart on the defaults of userfields. So the localiser in the store does not work, because the files in the store are usually just for the official releases like 3.4.2. So in your case the solution is a bit special.

First you should update to the last RC http://dev.virtuemart.net/attachments/1160/com_virtuemart.3.4.5.10045_package_or_extract.zip

It is our current release candidate and so long only 2 really minor bugs got fixed. All versions of vm3.4.3 have known bugs.

Why does the localiser does not work? The reason is the new feature of default values in userfields. They are now really actually into the address array (cart->BT) of the cart and so the localiser wont override the set data. It even does not set it, when there is just an array. But the new core has always an array set for the BT data.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/