View Full Version : Featured Products

03-10-2009, 11:10 AM
- Fixed for register_globals off.
When off, after selecting a product from the search results the select box of all products still displays since $action was undefined.

- Changed setup for adding new product:
Instead of only being able to search, there are now two buttons on the main page. a "Search" button which will give you the option to search for a new product, and a "New Product" button which will allow you to use the 'old' way of just selecting a product from the dropdown.

(Note: if you do only want the search feature instead of both, look at lines 221-225 in featured.php to switch it)

- Updated global variables to short versions - ie $_GET, $_POST instead of $HTTP_GET_VARS and $HTTP_POST_VARS (not a biggie, just nicer ;) )

NOT full package!


More... (http://addons.oscommerce.com/info/651)