Jump to content


Public support for Show price in different currencies at the same time module. Ask about this module and get free public help.
Photo

multiprice cart problem


  • Please log in to reply
3 replies to this topic

#1 davidstefic

davidstefic

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 14 August 2022 - 05:26 PM

https://mypresta.eu/...prestashop.html

i have purchased multiprice but the code for cart does not work...

 

i have found the right tpl file, but code " {hook h='displayMultiPrice' price=$product.total_wt} " does not work... it shows only regular price...

 

 

 

another problem:

it is showing on product pages and catalog pages. 

but -10% is not showing price in €...

 

Attached Files



#2 Milosz

Milosz

    Advanced Member

  • Members
  • PipPipPip
  • 117 posts

Posted 18 August 2022 - 09:14 AM

Hello david, 

the version of your prestashop is 1.6 or 1.7 ? 



#3 davidstefic

davidstefic

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 18 August 2022 - 08:04 PM

1.7



#4 wOOw

wOOw

    Newbie

  • Members
  • Pip
  • 1 posts

Posted 30 August 2022 - 04:06 PM

For me also not working. (I have both versions. )

 

For version 1.7.  (here is example for  cart-detailed-product-line.tpl)

 

<div class="col-md-6 col-xs-2 price">
            <span class="product-price">
              <strong>
                {if !empty($product.is_gift)}
                  <span class="gift">{l s='Gift' d='Shop.Theme.Checkout'}</span>
                {else}
                  {$product.total}
                  {hook h='displayMultiPrice' price=$product.total_wt}
                {/if}

 

---------------------------

 

Or for version 1.6 (here is example for shopping-cart-product-line.tpl)

 

{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>
<br/>{hook h='displayMultiPrice' price=$product.price_wt}
{else}
 
 
----------------------------
 
What are we doing wrong? 
 
Thanks!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users