Adding new functionality to certain pages

Permalink
Hi,

I want to add some new functionality to pages in my website.
Right now I have a page on which I maintain the available products. I have to edit this manually every few days to keep it updated.
I was thinking, that it'd be much easier to keep things up to date if these pages have a visibility option. So if Product 1 is out of stock, I then change this page to hidden. If Product 1 gets back in stock, I edit it again and make it visible again.

Sidenote: I can't automate this process entirely, since there is no webshop or similar linked to this website that keeps track of stock. For now I really want to keep it like that.

So I basically need to be able to edit visibility on pages. I've tried searching for this, but I was unable to find anything about this.

Can anybody help me out or point me in the right direction?

 
Steevb replied on at Permalink Reply
Steevb
Try this:

In 'Edit Properties' (Base Information) of the product, try setting the 'Quantity In Stock' to a certain amount.

Then on the product detail page or where ever the product appears, click 'edit' and check the Inventory box 'Hide if this product is sold out'.
mhawke replied on at Permalink Reply
mhawke
@Steevb, I think you're assuming that the site is using the eCommerce package but I think not.

@Amay, how is the content of the 'catalog' page of products being generated? If it's generated by using a Page List block then you can set the 'Exclude from Page List' attribute on the product's landing page if the product is out of stock.

http://www.concrete5.org/documentation/using-concrete5/in-page-edit...

There are lots of 'Custom Templates' for the Page List to let you tailor the look of the output from the Page List to your liking. Just type 'Page List' into the search box on the Add-ons page on concrete5.org and you'll see a ton of options.