Hide price and cart button for selected categories

Sometimes a store will have to combine two different functionalities – some items will be for sale online, but others may only need to be displayed as available for purchase. They may be too large or delicate to ship, or they might be advertised as “Price on Application”.  You can hide prices and cart buttons on selected categories, but they need to be hidden in two places – on the category page and on the individual product page. Note that prices will still be shown on the main shop page, so you may also want to disable that page using this code: Redirect main shop page