Jump to content
agata81

Retail price in the summary of purchases

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More