osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 04-28-2004, 04:03 AM
Lurker
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mikefrench
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 04-28-2004, 06:37 AM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 04-28-2004, 06:38 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
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
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 04-28-2004, 08:13 AM
Lurker
 
Join Date: Apr 2004
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mikefrench
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 04-28-2004, 08:55 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
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
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-28-2004, 04:45 PM
neil's Avatar
Active Member
 
Join Date: Nov 2002
Posts: 245
Thanks: 9
Thanked 7 Times in 6 Posts
Rep Power: 7
neil is on a distinguished road
Default

jpf
Quote:
Originally Posted by jpf
CCC has there own forum also.
Do you have an URL for that forum?
Thanks.
Neil
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-29-2004, 06:22 AM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Location: Manitoba, Canada
Posts: 1,808
Thanks: 5
Thanked 105 Times in 91 Posts
Rep Power: 12
jpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to alljpf is a name known to all
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
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 09:33 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax