jakeliu Posted December 27, 2005 Share Posted December 27, 2005 Hello all, I just install osCommerce on my site. But only want the catalog function to show picture, price ect. Maybe later, when I want sell something, that I can turn on the shopping cart function again. But I cann't find where to disable the shopping cart function in the Admin page. Thanks all :lol: Link to comment Share on other sites More sharing options...
-Spazmatic- Posted December 27, 2005 Share Posted December 27, 2005 could you just delete shopping_cart.php or set it's CHMOD to something like 400? It will allow them to look at everything but when they add it to the cart, well, nothing will happen because there will be no cart to shop with. Link to comment Share on other sites More sharing options...
Nacer Posted December 27, 2005 Share Posted December 27, 2005 This may help: http://www.oscommerce.com/community/contributions,3109 Regards, Nacer. Link to comment Share on other sites More sharing options...
jakeliu Posted December 28, 2005 Author Share Posted December 28, 2005 " This contribution removes the "Buy Now" and "Add To Cart" buttons for selected products by adding a checkbox to the categories.php page when you add or edit a product. You can set the default behavior for this feature in the Product Listing menu under Configuration. This allows you to decide whether the default is to allow the buttons, or not depending on your needs. You can also change this on a per item basis using the checkbox added to the add and edit functions for the products. We have included all the files modified as well as a SQL script to make the change to the database. If you have a clean installation of 2.2 MS2 you can simply run the sql script, and overwrite your existing files with those provided for a quick mod. All of the changes are marked with "JLG Disable Buy Now and Shopping Cart" so you can find them easily. " Do anyone know how to run the SQL script? Thanks for the help Link to comment Share on other sites More sharing options...
jakeliu Posted December 28, 2005 Author Share Posted December 28, 2005 oh oh I find out how to run the sql script, it from the phpmyadmin -> select the database -> run the sql script. But the thing is it don't work, my add to cart still working, I can still check out my shopping car. I only want catalog function, to show what do I sell, but don't want them to buy it online. Nacer Thank you for the link. Maybe I'll try one more time. -Spazmatic- I'll try this now, hope it don't break anything lol Link to comment Share on other sites More sharing options...
jakeliu Posted December 28, 2005 Author Share Posted December 28, 2005 "Page Not Found" lol maybe delete shopping_cart.php maybe is not a good idea after all . if someone know please let me know thanks Link to comment Share on other sites More sharing options...
jakeliu Posted December 28, 2005 Author Share Posted December 28, 2005 got it, need go in each product and check disable shopping cart thansk all :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.