Contributions

Features (Category Index)
Search: 

Custom Products 1.0

This contribution displays a custom product category based on the user login. The logged in user sees their products as well as normal ones, and nobody else's custom products. If the user is not logged in, the category is not displayed at all.

It should be noted that this contribution was originally made to display custom photos for a photographer's site. You'll see a file named myphotos.php which I just don't have time to stop and change to something generic. You should change it to whatever you want -- see the notes for more details.

Expand All / Collapse All

Custom Products v1.02 bug fix 28 Oct 2008

there's a bug in previous version: the custom products' category is shown on the Log Off page. It is hidden on refresh
This bug is now fixed. In the includes/boxes/categories.php file
//find
if (strlen(trim($customer_id.""))==0
//add after
|| !tep_session_is_registered('customer_id')

Custom Products v1.02 1 Sep 2008
Custom Products v1.01 3 Mar 2007
Custom Products 1.0 Guymon Adams 10 May 2004

Note: Contributions are used at own risk.