| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
change Buy Now button in product list | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
change Buy Now button in product list
I'd like to replace the Buy Now button with a customized View Options button for products w/options on the Product List page. I want to leave the Buy Now button in place for items w/o options.
Does anyone know how I can differentiate between the two in webmaster mode so I can edit the button text for these items??...or know of an appropriate mod for this? I▓ve tried searching the forum for answers but haven▓t had any luck. Thanks for any help. Paco ...This is what I▓m basically going for: http://www.mypetshoppe.com/images/layout/button_problem.gif
__________________
Version 4.0.18 |
|||||||
#2
|
|||||||
|
|||||||
Re: change Buy Now button in product list
Webmaster mode isn't going to cut it on this one I'm afraid, you'll need to use some Smarty {if} statements in the code itself.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
Re: change Buy Now button in product list
Hi Ryan, Thanks for the input. You don't recall seeing any user mods for this type of thing do you?
__________________
Version 4.0.18 |
|||||||
#4
|
|||||||
|
|||||||
Re: change Buy Now button in product list
Try this...I don't guarantee it will work, but it is worth a shot:
in buttons/buy_now.tpl, replace this: button_title=$lng.lbl_buy_now with this: {if $product.is_product_options ne 'Y' || $config.Appearance.buynow_with_options_enabled ne 'Y'}button_title=$lng.lbl_buy_now{else}button_titl e="View Options"{/if}
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
Re: change Buy Now button in product list
Didn't work. Thanks for the attempt though.
__________________
Version 4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|