Community Add-Ons
| Maintainers: | xXDesertRoseXx |
Remove Price and Buy Now Buttons
for osCommerce Online Merchant v2.2
This mod will remove the pricing and buy now buttons and will disable the "Add to Cart" button and Shopping Cart Box.
If you want to use the OSC as a catalog and not be selling products then this is the mod to use.
There is another file which has to be edited that I forgot in the previous file I uploaded.
This package includes the same as below but with the changes to catalog/includes/modules/new_products.php.
The changes has to be made on line 33.
Simply replace line 33 with this:
'text' => '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id='
. $new_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES .
$new_products['products_image'], $new_products['products_name'],
SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a><br><a href="' .
tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' .
$new_products['products_id']) . '">' . $new_products['products_name'] .
'</a><br>');
