Taxes - UK

Hi



We need all prices in the store to be displayed including VAT. I setup a tax at 17.5% and applied it to all the products. But yet it still shows all of the products excluding VAT in the front end.



As far as i can see it only applies tax once the user has logged in and is at the checkout? But this is not legally correct in the UK.



For example added a product at £100





The front end shows £100 as the "Our Price: " even when logged in or out. I seen an option in the code for it to display the including tax price…but when i force it to display that it still shows "Including tax: £0)



Any ideas?





Thanks



RIchard Sands

Hi rsands



This needs to be addressed by CS-Cart, the ability to show the prices on all pages including VAT the ability to show the price, one ex and one inc.

It is possible though? How did you get your site to do it? Did they re-code a part of it for you?

Hi rsands



Here is an example of the code, but because of all the changes in 1.3.4 it is a nightmare, code taken out, new code added this will go on and on.



{******************************* List price, Old Price **************************}
{if $product.discount && $product.price != 0}

{$lang.old_price}: {include file="common_templates/price.tpl" value=$product.price span_id="original_price_`$product.product_id`" class="list-price"}
(Price inc VAT {$currencies.$primary_currency.symbol}{math equation="x+x*vat" x=$product.price vat=$VAT format="%.2f" assign="vat_price"}{$vat_price})

{else}
{if $product.list_price > $product.price && $product.price != 0}
{$lang.list_price}: {include file="common_templates/price.tpl" value=$product.list_price}
(Price inc VAT {$currencies.$primary_currency.symbol}{math equation="x+x*vat" x=$product.list_price vat=$VAT format="%.2f" assign="vat_price"}{$vat_price})

{/if}
{/if}

Excellant. I tried the manual php calculations but now i see i use the cs-cart math function



But ye…CS-Cart really is missing out on such a huge UK boom in the e-commerce sector. Ireland, UK are only starting to experience the huge e-commerce boom and with cs-cart not able to display the prices inc and ex vat at every stage…it means they cant use it







Thanks

[quote name=‘zardos’]Hi rsands



Here is an example of the code, but because of all the changes in 1.3.4 it is a nightmare, code taken out, new code added this will go on and on.



{******************************* List price, Old Price **************************}
{if $product.discount && $product.price != 0}

{$lang.old_price}: {include file="common_templates/price.tpl" value=$product.price span_id="original_price_`$product.product_id`" class="list-price"}
(Price inc VAT {$currencies.$primary_currency.symbol}{math equation="x+x*vat" x=$product.price vat=$VAT format="%.2f" assign="vat_price"}{$vat_price})

{else}
{if $product.list_price > $product.price && $product.price != 0}
{$lang.list_price}: {include file="common_templates/price.tpl" value=$product.list_price}
(Price inc VAT {$currencies.$primary_currency.symbol}{math equation="x+x*vat" x=$product.list_price vat=$VAT format="%.2f" assign="vat_price"}{$vat_price})

{/if}
{/if}
[/QUOTE]





zardos wich tpl need to be edited with ur code ? can i modify my inovice to show me prices without vat than vat only and then vat+price?

These are the bits of code you need.


{assign var="VAT" value=0.175}



(Price inc VAT {$currencies.$primary_currency.symbol}{math equation="x+x*vat" x=$product.price vat=$VAT format="%.2f" assign="vat_price"}{$vat_price})




As i said all pages to do with products. (product_details.tpl, product.tpl, and so on) in product_pages folder.

thnx zardos will try in 1.3.5 after upgrade



btw [quote]{assign var=“VAT” value=0.175}[/quote]



what this value stands for ? for vat ? so if i have 21% in my country i put value=0.210 ?

[quote name=‘zardos’]These are the bits of code you need.


{assign var="VAT" value=0.175}



(Price inc VAT {$currencies.$primary_currency.symbol}{math equation="x+x*vat" x=$product.price vat=$VAT format="%.2f" assign="vat_price"}{$vat_price})




As i said all pages to do with products. (product_details.tpl, product.tpl, and so on) in product_pages folder.[/quote]



Just wanted to check if this was for V1.35 just incase I decide to install it ?

Hi SWS



Used it in 1.3.4 sp3 not tried it on 1.3.5 may need a little tweeking :wink:

No worries.



I manually hacked all templates and cart.tpl’s to show prices including vat and removed any references to others, rather quick and dirty hack but time was of the essence



Of course, now I cannot use discounts or anything as it all messes up big time, so I need to spend a little time fixing it.

Same theme (UK) VAT



Can some one tell me which file actually generates the invoice. I am wondering if a simple equation inserted into the “sub-total” field will make the invoice acceptable.

ie box above subtotal - vat amount = value less vat



This should make the printed reciept VAT (UK) acceptable.



Maybe possible?

Sorry, forgot our other little dilema …



We sell products some at 0% vat, some at 5% vat and the rest at 17.5%.



So changing only the invoice would be the easiest solution for us as other method would involve 3 lots of changes???

OOOPS!



Have looked further into it!

Sorry hadn’t quite grasped the lack of TAX on individual items!