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 *****************}
{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")}
{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.