jahyax Posted December 17, 2014 Share Posted December 17, 2014 Can anyone help on how to properly edit shopping-cart-product-line.tpl, on line 39 i have made changes on the price display <td class="cart_unit" data-title="{l s='Unit price'}"> <ul class="price text-right" id="product_price_{$product.id_product}_{$product.id_product_attribute}{if $quantityDisplayed > 0}_nocustom{/if}_{$product.id_address_delivery|intval}{if !empty($product.gift)}_gift{/if}"> {if !empty($product.gift)} <li class="gift-icon">{l s='Gift!'}</li> {else} {if isset($product.is_discounted) && $product.is_discounted} <li> {if !$priceDisplay} {if isset($product.reduction_type) && $product.reduction_type == 'amount'} <li class="price{if isset($product.is_discounted) && $product.is_discounted} special-price{/if}"> {'Limit:'} {$product.discount_limit}<br/> {'On Limit'}{convertPrice price=$product.price_wt} {assign var='symbol' value=$currency->sign}<br/> {'Abv. Limit'}{convertPrice price=$product.price_wt + $product.reduction} {assign var='symbol' value=$currency->sign} </li> {else} {* <li class="price{if isset($product.is_discounted) && $product.is_discounted} special-price{/if}"> {'Limit:'} {$product.discount_limit}<br/> {'On Limit'}{convertPrice price=$product.price_wt} {assign var='symbol' value=$currency->sign}<br/> {'Abv. Limit'}{convertPrice price=(($product.price_wt + $product.reduction) / $product.price_without_specific_price)* 100 * -1} {assign var='symbol' value='%'} </li> *} {/if} {else} {if isset($product.reduction_type) && $product.reduction_type == 'amount'} <li class="price{if isset($product.is_discounted) && $product.is_discounted} special-price{/if}"> {'Limit:'} {$product.discount_limit}<br/> {'On Limit'}{convertPrice price=$product.price} {assign var='symbol' value=$currency->sign}<br/> {'Abv. Limit'}{convertPrice price=$product.price + $product.reduction} {assign var='symbol' value=$currency->sign} </li> {else} {* <li class="price{if isset($product.is_discounted) && $product.is_discounted} special-price{/if}"> {'Limit:'} {$product.discount_limit}<br/> {'On Limit'}{convertPrice price=$product.price} {assign var='symbol' value=$currency->sign}<br/> {'Abv. Limit'}{convertPrice price=(($product.price + $product.reduction) / $product.price_without_specific_price)* 100 * -1} {assign var='symbol' value='%'} </li> *} {/if} {/if} </li> {else} {if !$priceDisplay} <li class="price{if isset($product.is_discounted) && $product.is_discounted} special-price{/if}">{convertPrice price=$product.price_wt}</li> {else} <li class="price{if isset($product.is_discounted) && $product.is_discounted} special-price{/if}">{convertPrice price=$product.price}</li> {/if} {/if} {/if} </ul> </td> my problem is every time i click on the '+' or '-' button the display revert back to original display, unless i refresh the browser, can anyone help me please for the work around on this issue Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now