简体   繁体   中英

Show price in prestashop

I am using prestashop 1.6 and in my front-office the product price is not showing when the user is not logged , I've searching all around google and try different solution inside the back-office but nothing work,

here is the code inside my template

      {if !$priceDisplay}
      {convertPrice price=$product.price}
      {else}
      {convertPrice price=$product.price_tax_exc}
      {/if}

I try to dump the price content but there is nothing inside it when the user is not logged

my goal is to show price even for user who is not logged

In your admin panel go to Customers/Groups and enable Show prices for all groups. It seems that the problem is there

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM