Results 1 to 7 of 7

Disabling checkout and add to cart functionality initially

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 ...

      
  1. #1
    Lurker
    Join Date
    Apr 2004
    Posts
    2
    Rep Power
    0


    Default Disabling checkout and add to cart functionality initially

    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

  2. #2
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    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. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    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>  <a href="' . tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . tep_image(DIR_WS_IMAGES . 'header_checkout.gif', HEADER_TITLE_CHECKOUT) . '</a>'; ?>  </td>



    BTW are you looking at the computer creator contribution?

    Good luck
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    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. #4
    Lurker
    Join Date
    Apr 2004
    Posts
    2
    Rep Power
    0


    Default

    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. #5
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    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 - To contact, post on the forum or click here
    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. #6
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    jpf
    Quote Originally Posted by jpf
    CCC has there own forum also.
    Do you have an URL for that forum?
    Thanks.
    Neil

  7. #7
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,688
    Rep Power
    22


    Default

    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 - To contact, post on the forum or click here
    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!

Similar Threads

  1. Visitors checkout cart does not merge
    By Lady_Lobo in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 03-23-2004, 07:51 AM
  2. MS2-MAX functionality
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 11
    Last Post: 12-24-2003, 11:57 PM
  3. Empty cart on secure checkout
    By fragzilla in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 09-17-2003, 02:35 PM
  4. checkout says theres no item in cart when there is
    By humbags in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 07-18-2003, 01:59 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •