X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Look but don't Buy... Non-active Cart (https://forum.x-cart.com/showthread.php?t=61369)

websitesthatwork 10-25-2011 11:40 AM

Look but don't Buy... Non-active Cart
 
I am designing a new site. Client is not ready to have to take online purchases yet, maybe a year or two. Is there an easy way to disable/remove the cart/checkout links, buttons and pages, so people can look at the items and not be confused that they aren't able to purchase anything? A way that doesn't interfere with my ability to switch the cart back to active mode in the future. What settings and templates would I need to adjust? Any specifics would be most appreciated.

cflsystems 10-25-2011 07:17 PM

Re: Look but don't Buy... Non-active Cart
 
You need to comment out the "buy", "add to cart" buttons, quantity boxes... from products_t.tpl, products_list.tpl, product.tpl, product_details.tpl... there could be other, you can place a switch in admin and use an if statement to check if the switch is on/off to show/hide these features

websitesthatwork 10-25-2011 10:42 PM

Re: Look but don't Buy... Non-active Cart
 
Brilliant! A "switch", tell me more. Do you have an example of what the text looks like?

cflsystems 10-26-2011 09:53 AM

Re: Look but don't Buy... Non-active Cart
 
You have to create new option in config table and then use its value to on/off these features. The text can be anything you want


All times are GMT -8. The time now is 04:35 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.