Jump to content

how can i hide the old price when i apply a discount so only the new price is shown


royns

Recommended Posts

  • royns changed the title to how can i hide the old price when i apply a discount so only the new price is shown

You can edit this file "themes/classic/templates/catalog/_partials/product-prices.tpl"

and edit this part of the code

{block name='product_discount'}
      {if $product.has_discount}
        <div class="product-discount">
          {hook h='displayProductPriceBlock' product=$product type="old_price"}
          <span class="regular-price">{$product.regular_price}</span>
        </div>
      {/if}
    {/block}

Or

You can use this module to https://1.envato.market/RyR6da to do it. With this you can edit your product details page. So you can hide your discount section easily.

 

 

Edited by SmartDataSoft (see edit history)
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...