Jump to content

Can't display Total Product Price in "Shopping Cart"


Recommended Posts

Hi 

I have a problem to display "total product price only" except of "total price-discount"

 

see this:

post-435672-0-47975400-1383138877_thumb.jpg

line 1 is sum of product 1 & product 2 real price without tax and discount = 23,200

line 2 is total discount = 3,480

line 3 is sum of line 1 & line 2 = 19,720

line 4 is line 3 + tax = 20,903

 

and see this:

post-435672-0-20459100-1383138866_thumb.jpg

in first image everything is ok but the second, in the cart, in the green box i want to show line 1 not line 3 !

 

this is my "theme name/modules/blockcart/blockcart.tpl" code that related to this prob:

<div class="cart-prices">
<div class="cart-prices-block">
<span id="cart_block_shipping_cost" class="price ajax_cart_shipping_cost">{$shipping_cost}</span>
<span>{l s='Shipping' mod='blockcart'}</span>
</div>
{if $show_wrapping}
<div class="cart-prices-block">
{assign var='cart_flag' value='Cart::ONLY_WRAPPING'|constant}
<span id="cart_block_wrapping_cost" class="price cart_block_wrapping_cost">{if $priceDisplay == 1}{convertPrice price=$cart->getOrderTotal(false, $cart_flag)}{else}{convertPrice price=$cart->getOrderTotal(true, $cart_flag)}{/if}</span>
<span>{l s='Wrapping' mod='blockcart'}</span>
</div>
{/if}
{if $show_tax && isset($tax_cost)}
<div class="cart-prices-block">
<span id="cart_block_tax_cost" class="price ajax_cart_tax_cost">{$tax_cost}</span>
<span>{l s='Tax' mod='blockcart'}</span>
</div>
{/if}
<div class="cart-prices-block">
<span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span>
<span>{l s='Total' mod='blockcart'}</span>
</div>
</div>
{if $use_taxes && $show_tax}
{if $priceDisplay == 1}
<p id="cart-price-precisions">
{l s='Prices are tax excluded' mod='blockcart'}
</p>
{else}
<p id="cart-price-precisions">
{l s='Prices are tax excluded' mod='blockcart'}
</p>
{/if}
{/if}

I changed "<span id="cart_block_total" class="price ajax_block_cart_total">{$total}</span>" with every value i knew but it didnt work...

 

PLS HELP :(

Edited by cicada_021 (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...