Remove Price from Product Page


https://forum.kartris.com/Topic2214.aspx
Print Topic | Close Window

By bpaluch - Mon 22 Jul 2013
I have a website we are trying Kartris on. WE set it to Catalog only, which was great for removing the add-to-cart and basket, but we would also like to remove the price display from the product page.

I'm okay changing the code, just wondering the most painless way, or if there's a setting or combination of settings that would do this without having to touch the code, as I foresee wanting to do this for more sites in the future.

Thanks.
By jaymer - Mon 22 Jul 2013
doesn't changing the config setting

frontend.products.display.fromprice


to n remove prices from the site?
By Neil - Mon 22 Jul 2013
Would it not be just as easy to hide with css?
By toomuchpresha - Tue 23 Jul 2013
Neil (7/22/2013)
Would it not be just as easy to hide with css?


If you do this and then turn styles off, the price would still show. This isn't ideal.

Are you trying to hide all prices? What are you trying to achieve?

In the UserControls/Other folder there is the ProductVersions control.
You could always find the prices you want to hide in there then set the literals visible="false"
By Paul - Tue 23 Jul 2013
Yes, certainly if hiding any controls from the code rather than with CSS, they should be set to be hidden by setting this within the ASP tag or user control

Visible="false"

rather than by removing them. Because there may be code behind that sets values for these controls in the code-behind. By setting them to not be visible, you don't break any of that code.