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)
-   -   add to cart directly (https://forum.x-cart.com/showthread.php?t=15077)

kalmaster 07-08-2005 08:12 AM

add to cart directly
 
Does anyone know how to put a "Add to cart" for the product listings, similar to what computergeeks.com on their listings
check out here
http://www.geeks.com/products.asp?cat=CDR

Thank you =)[/quote]

balinor 07-08-2005 08:24 AM

Yea, just use the 'buy now' button and change it to 'add to cart'

kalmaster 07-08-2005 10:25 AM

yes i know that. But what i'm talking about is having it when the multiple products are listed, not in the detailed section.

balinor 07-08-2005 10:27 AM

That is what I'm saying...that is where the buy now button appears if you turn it on in General Settings. You could just change the text to 'add to cart'.

kalmaster 07-08-2005 10:38 AM

ohhh i see, thank you!
I think i know why i don't see it, though because it is already enabled in my appearance options.
I don't see it because it's the fashion mosaic template i'm using.
Does anyone know the code since it was perhaps removed from this template?

Thank you

balinor 07-08-2005 10:39 AM

Check products.tpl and products_t.tpl and make sure the buy now button isn't commented out. May have a comment in there like {**** remove this for buy now button ****} or something like that.

kalmaster 07-08-2005 11:33 AM

that worked!
thank you so much! it was in the products_t.tpl
Code:

{*** 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 ***}


kalmaster 07-08-2005 11:56 AM

One more question...
How do i change the text from Buy Now to Add to Cart?
I'm looking in the templates
but all it says is in the Buy_Now.tpl is:
Code:

{include file="buttons/button.tpl" button_title=$lng.lbl_buy_now href=$href title=$title style=$style font="MarkedButton"}
Which i have absolutely have no idea, what to do.
how would i change the variable $lng.lbl_buy_now?

Thank you!

balinor 07-08-2005 12:07 PM

Easiest way it to just replace this:

lng.lbl_buy_now

with this

lng.lbl_add_to_cart

kalmaster 07-09-2005 06:50 PM

thank you :)


All times are GMT -8. The time now is 11:14 PM.

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