Community Add-Ons
Products options added to product edit page
for osCommerce Online Merchant v2.2
I think some users might need to have easier and quicker way to add/modify options for products.
Original distribution of osCommerce gives separate page for this.
Now on the page where you update(edit) products you will have the list of options set for the product you are updating.
NOTE: There is no options list when you create new product.
After you create new page it will refresh and the option list will show
For more contributions please visit www.algozone.com
in install step 3:
*** Step 3 ***
IN THIS SECTION:
if (USE_CACHE == 'true') {
tep_reset_cache_block('categories');
tep_reset_cache_block('also_purchased');
}
tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id));
}
break;
case 'copy_to_confirm':
....
REPLACE:
tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id));
WITH:
// commented and replaced for product attributes contrib
// tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id));
tep_redirect(tep_href_link(FILENAME_CATEGORIES, 'cPath=' . $cPath . '&pID=' . $products_id . '&action=new_product'));
// end replacement
*** End Step 3 ***
when click update button it returns product edit page Skip step 3.
