Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Look but don't Buy... Non-active Cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-25-2011, 11:40 AM
 
websitesthatwork websitesthatwork is offline
 

Member
  
Join Date: Oct 2011
Posts: 11
 

Default 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.
__________________
Xcart Version 4.44
Site under development: http://shell22.tdl.com/~cochise/home.php
Reply With Quote
  #2  
Old 10-25-2011, 07:17 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 10-25-2011, 10:42 PM
 
websitesthatwork websitesthatwork is offline
 

Member
  
Join Date: Oct 2011
Posts: 11
 

Default 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?
__________________
Xcart Version 4.44
Site under development: http://shell22.tdl.com/~cochise/home.php
Reply With Quote
  #4  
Old 10-26-2011, 09:53 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default 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
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:21 PM.

   

 
X-Cart forums © 2001-2020