Author Topic: Tax being added to product's custom field option - not wanted!  (Read 10476 times)

markus.palsson

  • Beginner
  • *
  • Posts: 28
Re: Custom Field Price with tax
« Reply #15 on: July 31, 2013, 08:30:32 am »
Hi schluff81,

Did you get this to work? I have the same problem, and when I tick the "configuration>pricing>display variant prices with tax" I get the double tax added in the dropdown list for some reason...

Best Regards,
Markus

Maxim Pishnyak

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 2660
Re: Custom Field Price with tax
« Reply #16 on: July 31, 2013, 10:50:18 am »

markus.palsson

  • Beginner
  • *
  • Posts: 28
Re: Custom Field Price with tax
« Reply #17 on: July 31, 2013, 15:33:00 pm »
Hi Maxim,

Thanks for taking the effort, but I have already seen that thread, and was curious if there was any way to solve the problem without a core hack. Also I'm wondering if I'm doing something wrong, because it seems liks such an obviuous bug, and yet nobody (almost) is complaining about it. Is there any plans to fix this in a not too future update?

Best Regards,
Markus

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3697
  • using Matomo instead of Google Analytics
Re: Tax being added to product's custom field option - not wanted!
« Reply #18 on: July 31, 2013, 22:28:33 pm »
Also I'm wondering if I'm doing something wrong...
Probably a configuration problem, because it works for (almost) everybody else.  :)

Quote
I get the double tax added in the dropdown list for some reason...
What do you mean? Does the tax display twice or is it added to your net price twice? Can you provide a link to your shop or attach a screenshot to a forum post, so we can see your problem?
You may also give a short description of your price/tax settings which would allow other forum members to try to reproduce the problem. Also, which versions of Joomla/VM/php are you using?
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10070
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Tax being added to product's custom field option - not wanted!
« Reply #19 on: August 01, 2013, 09:41:56 am »
I've got the same problem! Base price is € 100,- including tax. When I add a custom field with € 10,- a pice of € 12,10 gets added to the base price. Add the end there wil be double tax added to the custom field product! My tax is setup: Vat tax per product (+21%)

There is the problem. "Base price is € 100,- including tax", this is wrong. What you sayed is something like "the netto price is 100 euro, including tax". The baseprice is called baseprice, because it is WITHOUT TAX AND WITHOUT ANY DISCOUNT !


The variant values in the dropdown list are now INCLUDING TAX.
In the backend the price has still be inserted as EXCLUDING TAX

Maybe this will help others aswell.

The config setting allows you to display it with tax, or without.
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

markus.palsson

  • Beginner
  • *
  • Posts: 28
Re: Tax being added to product's custom field option - not wanted!
« Reply #20 on: August 05, 2013, 16:51:46 pm »
Milbo, jjk,

Please see my other thread for my versions etc: http://forum.virtuemart.net/index.php?topic=117566.0

jkk: the tax is added to the net price twice. See the attached table. The upper table shows how I want it to be, and the bottom shows how it is. Note that 50% tax is added to the custom price instead of 25%. What happens if I disable "display variant prices with tax" is that the front end custom price is $120 instead, i.e. tax is added to the base price but not the variant price, which is very misleading. The price in the shopping cart is correct regardless of "display variant prices with tax".

Milbo, do you see the problem?

If you want a real example go to this product on my shop: http://shop.animalix.se/index.php/hund/ovriga-tillbehor/hurtta-lifeguard-flytvast-for-hund-detail.
The prices are in SEK (swedish). As you can see the front end price is 399 for the smallest size, then according to the dropdown menu the addtional price for the bigger sizes are +120kr and +180kr.
In the backend the base price excl. 25% tax is 319.2kr and the custom prices for the bigger sizes are +80kr and +120kr. If you add tax to that you don't get +120 and +180.
If you add one of the sizes to the shopping cart you'll see that the prices in the shopping cart are correct.
I've attached screenshots of my backend prices.

I still HOPE I'm doing something wrong, cause then it would be easier to correct =), but I can't seem to find the error. Please guys, help me solve this!

[attachment cleanup by admin]

markus.palsson

  • Beginner
  • *
  • Posts: 28
Re: Tax being added to product's custom field option - not wanted!
« Reply #21 on: August 05, 2013, 17:18:37 pm »
I finally solved the problem!  ;D

Turns out that it didn't work because I had two tax rules defined, one that I created manually, called "+25% VAT", and one that was CSVI created. Somehow, both were used. As soon as I removed the "+25% VAT" rule and only left the CSVI created rule, everything started working!

I still think it's a bug though. I mean, you should be allowed to define as many tax rules as you want as long as you only assign ONE of the the product in question, right?

Anyway, I'm happy to have a shop with correct prices ;)