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

easy way to add an add to cart button after install

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-02-2010, 01:44 AM
 
larag larag is offline
 

Advanced Member
  
Join Date: Sep 2009
Posts: 35
 

Default easy way to add an add to cart button after install

Currently my add to cart button appears after a click on the product. I'd like to add an add to cart button to the summary page of products within my categories whilst allowing a click for extra details. I hope I have explained this correctly.
Is there a fairly simple way to do this?
I have achieved a number of small customisations with the help of many of the wizards within the Forum but I am self taught.
I look forward to some guidance as a search of the Forum didn't yield anything useful for me.

Lara Gibbons
www.chocolate-coated.com

X-Cart 4.1.10
__________________
4.1.10
Reply With Quote
  #2  
Old 12-02-2010, 04:32 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: easy way to add an add to cart button after install

General Settings/Appearance options. Enable the 'buy now' button.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-02-2010, 12:55 PM
 
larag larag is offline
 

Advanced Member
  
Join Date: Sep 2009
Posts: 35
 

Default Re: easy way to add an add to cart button after install

Thanks for your reply. I have that button enabled, "Enable buy now button in products list". I though there must have been something else to it. Got any ideas?

As an aside I love how people like yourself answer what probably seem like dumb questions from people like me...


Lara Gibbons
www.chocolate-coated.com

X-Cart 4.1.10
__________________
4.1.10
Reply With Quote
  #4  
Old 12-02-2010, 01:13 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: easy way to add an add to cart button after install

So when you enable that, they still don't show?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-02-2010, 02:20 PM
 
larag larag is offline
 

Advanced Member
  
Join Date: Sep 2009
Posts: 35
 

Default Re: easy way to add an add to cart button after install

My add to cart buttons only appear after you click on an image and go in for more details.
I thought that I must have missed something to get them activated. I probably could have activated them at some point when I installed my site, I don't really remember. After reading so many comments that they are useful on the category pages I thought that I would "turn them on". I have gone through the site settings and the enable buy now was already ticked. So I am not sure where to look next. With my limited knowledge I expected that may be I need to do something with the templates but I am always reluctant to play without some good directions. Lucky for me I can usually find them on the Forum.
__________________
4.1.10
Reply With Quote
  #6  
Old 12-02-2010, 03:15 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: easy way to add an add to cart button after install

Yea, that sounds like they might have been edited out of the templates. Are you using a single column or multi column display on the category pages?
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 12-02-2010, 03:28 PM
 
larag larag is offline
 

Advanced Member
  
Join Date: Sep 2009
Posts: 35
 

Default Re: easy way to add an add to cart button after install

Multi column, my products display 3 across.
__________________
4.1.10
Reply With Quote
  #8  
Old 12-02-2010, 03:32 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: easy way to add an add to cart button after install

Ah, that might have been a 'bug' in that version of X-Cart. Look at customer/main/products_t.tpl. Find this:

{*** Uncomment it if you need 'Buy Now' button ***
{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
*** Uncomment it if you need 'Buy Now' button ***}

and replace with this:

{if $usertype eq "C" and $config.Appearance.buynow_button_enabled eq "Y"}
{include file="customer/main/buy_now.tpl" product=$products[product]}
{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
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 12:02 PM.

   

 
X-Cart forums © 2001-2020