Jump to content

help needed how to hide price on $0 price " and EXACTLY WHERE TO PASTE CODE? " Presta Shop 1.7


Recommended Posts

i am running prestashop 1.7 and i have a need to HIDE price on $0 items or $0 combinations

i found this code but i have no idea what folder or file to edit or where or how to insert it ?

{if $product.price_amount eq "0"} 
<p> </p>
{else}
{block name='product_prices'}
   {include file='catalog/_partials/product-prices.tpl'}
{/block}
{/if}

 

you see i have combinations attribute's for a product and i have create some attribute tags like " select preferred " and i have set them to "0" so people dont order but the price still shows? $0.00 need some help please if you wouldn't mind 

bottom line i just need so that any product or combination that is set to $0.00 well automatically hide price.

 

any help would be greatly apricated GOD BLESS YOU AND HAPPY HOLIDAYS ! 

best,

Riot @GRFFX 

 

Edited by GRFFX STUDIO (see edit history)
Link to comment
Share on other sites

You must specify where you want to hide the price, whether in the product list or in the product detail.
The product list has a different file for editing than the product detail.

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...