Jump to content

Retail price in the summary of purchases


agata81

Recommended Posts

Hello

I have a store in Prestashop 1.6.1.2

I am trying to add a retail (basic) price in addition to the group discount and promotion price.

sc.jpg.4e174ebf5b465b6d5e2f3cf682279ad5.jpg

The retail price is 36.90

I managed to split the group price and with an additional promotion

I modified the shopping-cart-product-line.tpl file

Code corresponding to the group rebate (price after a permanent rebate):

<td class="cart_unit" data-title="{l s='Cena po stałym rabacie'}">
        <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 !$priceDisplay}
                    
                    <li class="old-price-koszyk">{convertPrice price=$product.price_without_specific_price}</li>
                {/if}
            {/if}
        </ul>
    </td>

 

Additional promotion code (price after additional discount):

<td class="cart_unit" data-title="{l s='Cena po dodatkowym rabacie'}">
        <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 !$priceDisplay}
                    <li class="price{if isset($product.is_discounted) && $product.is_discounted && isset($product.reduction_applies) && $product.reduction_applies} special-price{/if}">{convertPrice price=$product.price_wt}</li>
                {else}
                        <li class="price{if isset($product.is_discounted) && $product.is_discounted && isset($product.reduction_applies) && $product.reduction_applies} special-price{/if}">{convertPrice price=$product.price}</li>
                {/if}
                
            {/if}
        </ul>
    </td>

 

I don't know how to display the retail price, i.e. without any discount.

Please help

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...