This is a discussion on Disabling checkout and add to cart functionality initially within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Hi, I'm implementing a catalog based "shop" for a client, and plan to use osCommerce MS2-MAX. What I will need ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I'm implementing a catalog based "shop" for a client, and plan to use osCommerce MS2-MAX. What I will need to do is initially only use the catalog functionality while they sort out online payment providers and computers in the shop - this could take a couple of months. Can I configure osCommerce quickly to remove the cart and checkout so customers can just browse and search - and then reenable and if so how. I couldn't seem to disable in admin.... any help & suggestions much appreciated Mike |
| Sponsored Links | ||
| ||
|
#2
| ||||
| ||||
| 1. comment out the shopping_cart in includes/column_right.php require(DIR_WS_BOXES . 'shopping_cart.php'); TO // require(DIR_WS_BOXES . 'shopping_cart.php'); 2. remove the php block that controls the checkout button on product_info.tpl.php line 197 <td class="main" align="right"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> TO <td class="main" align="right"></td> Reverse those steps when you are ready to sell. Untried & untested but should work.
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
|
#3
| ||||
| ||||
| Suggest allowing checkout - and use "pickup" as shipping (call to make arrangement) and "cod" or such as payment (call to make arrangements). That way your not turning down customers and you give them that "personal touch". If you "have to" remove the "add to chart" and such - then comment out the proper code and restore at a later date as needed. advanced_search_result.php and index.php - Comment out: 'PRODUCT_LIST_BUY_NOW' => PRODUCT_LIST_BUY_NOW); product_reviews.php, product_reviews_write.php and product_reviews_info.php - Comment out: echo '<p><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>'; products_new.php - Comment out: <td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCTS_NEW, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $products_new['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td> I think I got most of it....- Oh yea -remove the "CART" buttons on the header.php file: <a href="' . tep_href_link(FILENAME_SHOPPING_CART) . '">' . tep_image(DIR_WS_IMAGES . 'header_cart.gif', HEADER_TITLE_CART_CONTENTS) . '</a>&nbsp;&nbsp;<a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>&nbsp;&nbsp;</td> BTW are you looking at the computer creator contribution? Good luck
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#4
| |||
| |||
| Thanks to all - I'll give the pickup as an option - although most is mail order.....see where you are coming from though. Otherwise I'll comment out. Didn't know about the contribution - can you point me to where on the site it is covered ? Many thanks Mike |
|
#5
| ||||
| ||||
| Custom Computer Creator http://www.oscommerce.com/community/contributions,407 Also a version at: http://www.oscommerce.com/community/contributions,1487 Just remember that this has to be intergated into the BTS format that MS2-MAX uses - there is a few people who have done this and is normally takes a bit of time but is NOT impossable - there are people running CCC with BTS... CCC has there own forum also. Good Luck
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
|
#6
| ||||
| ||||
| jpf Quote:
Thanks. Neil |
|
#7
| ||||
| ||||
| Look at the first link (contribition #407) - it has the forum listed there and in the file I beleve. BTW I have not used CCC before.
__________________ JPF - osCMax Fourm Moderator Try out our osCMax at: Live Catalog Demo Limited access Admin: Live Admin Demo Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped! |
| Sponsored Links | ||
| ||
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visitors checkout cart does not merge | Lady_Lobo | osCommerce 2.2 Installation Help | 1 | 03-23-2004 07:51 AM |
| MS2-MAX functionality | Anonymous | osCMax v1.7 Discussion | 11 | 12-24-2003 11:57 PM |
| Empty cart on secure checkout | fragzilla | osCommerce 2.2 Modification Help | 3 | 09-17-2003 02:35 PM |
| checkout says theres no item in cart when there is | humbags | osCommerce 2.2 Modification Help | 0 | 07-18-2003 01:59 PM |