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)
-   -   easy way to add an add to cart button after install (https://forum.x-cart.com/showthread.php?t=56840)

larag 12-02-2010 01:44 AM

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

balinor 12-02-2010 04:32 AM

Re: easy way to add an add to cart button after install
 
General Settings/Appearance options. Enable the 'buy now' button.

larag 12-02-2010 12:55 PM

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

balinor 12-02-2010 01:13 PM

Re: easy way to add an add to cart button after install
 
So when you enable that, they still don't show?

larag 12-02-2010 02:20 PM

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.

balinor 12-02-2010 03:15 PM

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?

larag 12-02-2010 03:28 PM

Re: easy way to add an add to cart button after install
 
Multi column, my products display 3 across.

balinor 12-02-2010 03:32 PM

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}


All times are GMT -8. The time now is 07:43 PM.

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