VAT include only or VAT exclude only

Dear,



CS Pro 2.1.2

Estimate taxes using default address on cart/checkout pages : TRUE (can’t be done on demo CS website)

Display prices with taxes on category/product pages if the method of calculating taxes is based on a unit’s price : TRUE (can’t be done on demo CS website)

Display prices with taxes on cart/checkout pages if the method of calculating taxes is based on a unit’s price : TRUE (can’t be done on demo CS website)

Tax : +20%

[URL=“http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=2495”]http://forum.cs-cart.com/vbugs.php?do=view&vbug_id=2495[/URL]





I would like to have all prices on the cart with VAT include (our country) or VAT exclude (export). I don’t understand why it’s not on the factory software, VAT is basic function of a commercial or e-commercial software!!! CS-Cart…:confused:



Somes prices never adds VAT on store front :shock: , like “List price”, “You save”, and estimate shipping cost block when the country must be taxable.



Only “Price” add correcltly the estimating the taxe,and total is OK



Can Anyone say me what is this variables ?:



$show_price_values

$show_clean_price

$show_list_discount

$product.taxed_price

$product.clean_price

$product.included_tax

$product.discount

$product.discount_prc

$product.list_discount



Or anyone can help me to change this part of code on …/skins/myskin/customer/common_templates/products_data.tpl ?

With Tax : +20%, like this :



I would like to have ALL PRICES vat include if necessary like :

List price: $420 inc vat

Price: $383,98 inc vat

You save: $36.01 (9%) inc vat



or ALL PRICES vat exclude if necessary

List price: $350.00 exc vat

Price: $319.99 exc vat

You save: $30.01 (9%) exc vat






{********************** Old Price *****************}
{capture name="old_price_`$obj_id`"}
{if $show_price_values && $show_old_price}
{if $product.discount || $product.list_discount}



{if $product.discount}
{if $details_page}{$lang.old_price}: {/if}{include file="common_templates/price.tpl" value=$product.original_price|default:$product.base_price span_id="old_price_`$obj_prefix``$obj_id`" class="list-price nowrap"}
{elseif $product.list_discount}
{if $details_page}{$lang.list_price}: {/if}{include file="common_templates/price.tpl" value=$product.list_price span_id="list_price_`$obj_prefix``$obj_id`" class="list-price nowrap"}
{/if}

{/if}
{/if}
{/capture}
{if $no_capture}
{assign var="capture_name" value="old_price_`$obj_id`"}
{$smarty.capture.$capture_name}
{/if}

{********************** Price *********************}
{capture name="price_`$obj_id`"}



{if $show_price_values}
{if $show_price}
{hook name="products:prices_block"}
{if $product.price|floatval || $product.zero_price_action == "P" || ($hide_add_to_cart_button == "Y" && $product.zero_price_action == "A")}
{if $details_page}{$lang.price}: {/if}{include file="common_templates/price.tpl" value=$product.price span_id="discounted_price_`$obj_prefix``$obj_id`" class="price"}
{elseif $product.zero_price_action == "A"}
{assign var="base_currency" value=$currencies[$smarty.const.CART_PRIMARY_CURRENCY]}
{$lang.enter_your_price}: {if $base_currency.after != "Y"}{$base_currency.symbol}{/if}{if $base_currency.after == "Y"} {$base_currency.symbol}{/if}
{elseif $product.zero_price_action == "R"}
{$lang.contact_us_for_price}
{/if}
{/hook}
{/if}
{elseif $settings.General.allow_anonymous_shopping == "P" && !$auth.user_id}
{$lang.sign_in_to_view_price}
{/if}

{/capture}
{if $no_capture}
{assign var="capture_name" value="price_`$obj_id`"}
{$smarty.capture.$capture_name}
{/if}

{******************* Clean Price ******************}
{capture name="clean_price_`$obj_id`"}
{if $show_price_values && $show_clean_price && $settings.Appearance.show_prices_taxed_clean == "Y" && $product.taxed_price}



{if $product.clean_price != $product.taxed_price && $product.included_tax}
({include file="common_templates/price.tpl" value=$product.taxed_price span_id="product_price_`$obj_prefix``$obj_id`" class="list-price nowrap"} {$lang.inc_tax})
{elseif $product.clean_price != $product.taxed_price && !$product.included_tax}
({$lang.including_tax})
{/if}

{/if}
{/capture}
{if $no_capture}
{assign var="capture_name" value="clean_price_`$obj_id`"}
{$smarty.capture.$capture_name}
{/if}

{********************** You Save ******************}
{capture name="list_discount_`$obj_id`"}
{if $show_price_values && $show_list_discount && $details_page}
{if $product.discount || $product.list_discount}



{if $product.discount}
{$lang.you_save}: {include file="common_templates/price.tpl" value=$product.discount span_id="discount_value_`$obj_prefix``$obj_id`" class="list-price nowrap"} ({$product.discount_prc}%)
{elseif $product.list_discount}
{$lang.you_save}: {include file="common_templates/price.tpl" value=$product.list_discount span_id="discount_value_`$obj_prefix``$obj_id`" class="list-price nowrap"} ({$product.list_discount_prc}%)
{/if}

{/if}
{/if}
{/capture}
{if $no_capture}
{assign var="capture_name" value="list_discount_`$obj_id`"}
{$smarty.capture.$capture_name}
{/if}

{************************************ Discount label ****************************}
{capture name="discount_label_`$obj_prefix``$obj_id`"}
{if $show_discount_label && ($product.discount_prc || $product.list_discount_prc) && $show_price_values}





-{if $product.discount}{$product.discount_prc}{else}{$product.list_discount_prc}{/if}%


{/if}
{/capture}
{if $no_capture}
{assign var="capture_name" value="discount_label_`$obj_prefix``$obj_id`"}
{$smarty.capture.$capture_name}
{/if}






And on blocks prices, qty prices,etc…



Please.

Best



Djuzapto.

Ohh wow again a problem with VAT, when i can remember correctly we have get the last versions everytime problems with VAT.

Is this really necessary ? Only checkout and invoice should reflect this info or am I wrong?

Dear,

Yes it’s very important to have exact prices online.

Best I can say on this is to DO NOT USE list price.

Set just the price field and all tax works fine then…at least for me anyaways.20% on

Sub total





John

Hello,



here is my solution for this. We’re from Germany (prices must be with tax) and we also sell to Switzerland ( the prices must be displayed without tax, the people from Switzerland have to pay customs duty)



Prerequisites:

All prices must be stored as net price (without tax). We changed all prices with an SQL-Update (19 is the tax rate):



update cscart_product_prices set price = price/1,19






  1. Create location(s) for the countrie(s) where no tax to display, and location(s) for the rest of the countries


  2. create two taxes (Shipping/taxes), in our case one with and one without taxes (Price includes tax).


  3. Assign all two taxes to all products


  4. Assign the taxes to the shipping methods





    This worked, but with a disfigurement. The (normal) prices incl. taxes are smaller and in brackets than the net price and the net price was above the price with tax → this is not allowed in Germany!



    We had to change our /cs-cart/skins/YOURSKIN/customer/common_templates/product_data.tpl :



    [ATTACH]2533[/ATTACH]



    Look for {if $product.included_tax…



    There are no Localizations necessary for this solution!



    For us it works.:slight_smile:

    product_data.zip

Hi Lexies,



very nice and thank you very much for this solution. We are in germany too. Is it possible that you can send me you personal skype ID that i can contact you for this issue directly?



thank you very much!