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…
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 *****************}<br />
{capture name="old_price_`$obj_id`"}<br />
{if $show_price_values && $show_old_price}<br />
{if $product.discount || $product.list_discount}<br />
<span class="cm-reload-{$obj_prefix}{$obj_id}" id="old_price_update_{$obj_prefix}{$obj_id}"><br />
<input type="hidden" name="appearance[show_price_values]" value="{$show_price_values}" /><br />
<input type="hidden" name="appearance[show_old_price]" value="{$show_old_price}" /><br />
{if $product.discount}<br />
<span class="list-price nowrap" id="line_old_price_{$obj_prefix}{$obj_id}">{if $details_page}{$lang.old_price}: {/if}<strike>{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"}</strike></span><br />
{elseif $product.list_discount}<br />
<span class="list-price nowrap" id="line_list_price_{$obj_prefix}{$obj_id}">{if $details_page}{$lang.list_price}: {/if}<strike>{include file="common_templates/price.tpl" value=$product.list_price span_id="list_price_`$obj_prefix``$obj_id`" class="list-price nowrap"}</strike></span><br />
{/if}<br />
<!--old_price_update_{$obj_prefix}{$obj_id}--></span><br />
{/if}<br />
{/if}<br />
{/capture}<br />
{if $no_capture}<br />
{assign var="capture_name" value="old_price_`$obj_id`"}<br />
{$smarty.capture.$capture_name}<br />
{/if}<br />
<br />
{********************** Price *********************}<br />
{capture name="price_`$obj_id`"}<br />
<span class="cm-reload-{$obj_prefix}{$obj_id} price-update" id="price_update_{$obj_prefix}{$obj_id}"><br />
<input type="hidden" name="appearance[show_price_values]" value="{$show_price_values}" /><br />
<input type="hidden" name="appearance[show_price]" value="{$show_price}" /><br />
{if $show_price_values}<br />
{if $show_price}<br />
{hook name="products:prices_block"}<br />
{if $product.price|floatval || $product.zero_price_action == "P" || ($hide_add_to_cart_button == "Y" && $product.zero_price_action == "A")}<br />
<span class="price{if !$product.price|floatval} hidden{/if}" id="line_discounted_price_{$obj_prefix}{$obj_id}">{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"}</span><br />
{elseif $product.zero_price_action == "A"}<br />
{assign var="base_currency" value=$currencies[$smarty.const.CART_PRIMARY_CURRENCY]}<br />
<span class="price">{$lang.enter_your_price}: {if $base_currency.after != "Y"}{$base_currency.symbol}{/if}<input class="input-text-short" type="text" size="3" name="product_data[{$obj_id}][price]" value="" />{if $base_currency.after == "Y"} {$base_currency.symbol}{/if}</span><br />
{elseif $product.zero_price_action == "R"}<br />
<span class="price">{$lang.contact_us_for_price}</span><br />
{/if}<br />
{/hook}<br />
{/if}<br />
{elseif $settings.General.allow_anonymous_shopping == "P" && !$auth.user_id}<br />
<span class="price">{$lang.sign_in_to_view_price}</span><br />
{/if}<br />
<!--price_update_{$obj_prefix}{$obj_id}--></span><br />
{/capture}<br />
{if $no_capture}<br />
{assign var="capture_name" value="price_`$obj_id`"}<br />
{$smarty.capture.$capture_name}<br />
{/if}<br />
<br />
{******************* Clean Price ******************}<br />
{capture name="clean_price_`$obj_id`"}<br />
{if $show_price_values && $show_clean_price && $settings.Appearance.show_prices_taxed_clean == "Y" && $product.taxed_price}<br />
<span class="cm-reload-{$obj_prefix}{$obj_id}" id="clean_price_update_{$obj_prefix}{$obj_id}"><br />
<input type="hidden" name="appearance[show_price_values]" value="{$show_price_values}" /><br />
<input type="hidden" name="appearance[show_clean_price]" value="{$show_clean_price}" /><br />
{if $product.clean_price != $product.taxed_price && $product.included_tax}<br />
<span class="list-price nowrap" id="line_product_price_{$obj_prefix}{$obj_id}">({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})</span><br />
{elseif $product.clean_price != $product.taxed_price && !$product.included_tax}<br />
<span class="list-price nowrap">({$lang.including_tax})</span><br />
{/if}<br />
<!--clean_price_update_{$obj_prefix}{$obj_id}--></span><br />
{/if}<br />
{/capture}<br />
{if $no_capture}<br />
{assign var="capture_name" value="clean_price_`$obj_id`"}<br />
{$smarty.capture.$capture_name}<br />
{/if}<br />
<br />
{********************** You Save ******************}<br />
{capture name="list_discount_`$obj_id`"}<br />
{if $show_price_values && $show_list_discount && $details_page}<br />
{if $product.discount || $product.list_discount}<br />
<span class="cm-reload-{$obj_prefix}{$obj_id}" id="line_discount_update_{$obj_prefix}{$obj_id}"><br />
<input type="hidden" name="appearance[show_price_values]" value="{$show_price_values}" /><br />
<input type="hidden" name="appearance[show_list_discount]" value="{$show_list_discount}" /><br />
{if $product.discount}<br />
<span class="list-price nowrap" id="line_discount_value_{$obj_prefix}{$obj_id}">{$lang.you_save}: {include file="common_templates/price.tpl" value=$product.discount span_id="discount_value_`$obj_prefix``$obj_id`" class="list-price nowrap"} (<span id="prc_discount_value_{$obj_prefix}{$obj_id}" class="list-price nowrap">{$product.discount_prc}</span>%)</span><br />
{elseif $product.list_discount}<br />
<span class="list-price nowrap" id="line_discount_value_{$obj_prefix}{$obj_id}">{$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"} (<span id="prc_discount_value_{$obj_prefix}{$obj_id}" class="list-price nowrap">{$product.list_discount_prc}</span>%)</span><br />
{/if}<br />
<!--line_discount_update_{$obj_prefix}{$obj_id}--></span><br />
{/if}<br />
{/if}<br />
{/capture}<br />
{if $no_capture}<br />
{assign var="capture_name" value="list_discount_`$obj_id`"}<br />
{$smarty.capture.$capture_name}<br />
{/if}<br />
<br />
{************************************ Discount label ****************************}<br />
{capture name="discount_label_`$obj_prefix``$obj_id`"}<br />
{if $show_discount_label && ($product.discount_prc || $product.list_discount_prc) && $show_price_values}<br />
<div class="discount-label cm-reload-{$obj_prefix}{$obj_id}" id="discount_label_update_{$obj_prefix}{$obj_id}"><br />
<input type="hidden" name="appearance[show_discount_label]" value="{$show_discount_label}" /><br />
<input type="hidden" name="appearance[show_price_values]" value="{$show_price_values}" /><br />
<div id="line_prc_discount_value_{$obj_prefix}{$obj_id}"><br />
<em><strong>-</strong><span id="prc_discount_value_label_{$obj_prefix}{$obj_id}">{if $product.discount}{$product.discount_prc}{else}{$product.list_discount_prc}{/if}</span>%</em><br />
</div><br />
<!--discount_label_update_{$obj_prefix}{$obj_id}--></div><br />
{/if}<br />
{/capture}<br />
{if $no_capture}<br />
{assign var="capture_name" value="discount_label_`$obj_prefix``$obj_id`"}<br />
{$smarty.capture.$capture_name}<br />
{/if}
```<br />
<br />
<br />
And on blocks prices, qty prices,etc....<br />
<br />
Please.<br />
Best<br />
<br />
Djuzapto.