Jump to content

Hide price of specific product in PrestaShop product details page.


Recommended Posts

I want to hide the price of a specific product in PrestaShop.

 

I have the basic idea in creating a module and I've created a module. I want to load the product name id and a check box in the back office after clicking on the configure button. Hope modifying the code like Db::getInstance()->executeS(‘SELECT * FROM ‘._DB_PREFIX_.’product’); can help me but I couldn't find a way to put it and get the values from database.

 

I also want to save the values which are checked in the configuration page and while viewing the product page if the product id has a check box value 1 then the price will not be shown. Can someone give me some tips on how to do this? Thank you very much.

Edited by J.Sahu (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...