Community Add-Ons
| Maintainers: | Skittles |
Bypass Product Listing Page Ver. 1.0
for osCommerce Online Merchant v2.2
This contib forces the index page to redirect to the first product of the category:
- IF the category isn't the main catalog page (cPath=0),
- AND IF one or more products exist for that category.
If the category does not contain any products, it will be processed the same as before
adding this code.
There are only nine (9) lines to add to index.php, all together in the same location. Very simple install. (Equally simple to remove, if it isn't what you expected.)
Full package. Contains one (1) file.
Version 1.1 contains both the original changes from Ver. 1.0, and a variation
that can be used to redirect to the first product of the category:
- IF the category isn't the main catalog page (cPath=0),
- AND IF only one product exists for that category.
If the category does not contain any products, it will be processed the same as before
adding this code.
For this variation, there are only 10 lines to add to index.php, all together in the same location. Very simple install. (Equally simple to remove, if it isn't what you expected.)
Full package. Contains one (1) file.
