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

Loosing 'Buy Now' and 'Add to wish list' buttons

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-08-2006, 09:35 AM
 
Tweek Tweek is offline
 

Advanced Member
  
Join Date: Jul 2006
Posts: 32
 

Default Loosing 'Buy Now' and 'Add to wish list' buttons

Hi,

In 'general settings -> appearance options', in the section that says: "Display products list in multiple columns (1-3) (leave empty to use standard format)"..when I choose 2 columns or more, I loose the 'Buy Now' and 'Add to wish list' buttons from the main page.

Any idea how to keep them while running 2 columns in a 600x800 format environment? The products display correctly, the buttons just diasappear and require the customer to click for more info to actually purchase the product.

Thanks in advance!
__________________
Dave Hockaday
Scootworks, Inc.
X-Cart 4.1.2
Reply With Quote
  #2  
Old 07-08-2006, 09:25 PM
 
robf robf is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 61
 

Default

Hi there, here's how you go about doing that.

Open up skin1/customer/main/products_t.tpl

this file does have the code needed for a buy it now button, they have just coded it out. If you hvaen't changed the file yet then it will start at line 62, just remove that line and line 66 and you should be good to go.

This is what those 2 lines look like in case you have changed that file, these are what you have to remove.

Code:
{*** Uncomment it if you need 'Buy Now' button ***

Code:
*** Uncomment it if you need 'Buy Now' button ***}

Hope that helps
Rob
__________________
x-cart 4.1.6
PHP 4.4.2
MySQL server 4.0.26-log
MySQL client 5.0.20
Operation system FreeBSD
Perl 5.008008
Reply With Quote
  #3  
Old 07-08-2006, 09:27 PM
 
robf robf is offline
 

Advanced Member
  
Join Date: May 2006
Posts: 61
 

Default

I should have also mentioned, xcart uses products.tpl when you have 1 column selected but when you ues 2 or more it looks for products_t.tpl
__________________
x-cart 4.1.6
PHP 4.4.2
MySQL server 4.0.26-log
MySQL client 5.0.20
Operation system FreeBSD
Perl 5.008008
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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:42 PM.

   

 
X-Cart forums © 2001-2020