| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
"Buy Now" button without the "Quantity" | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||||
|
|||||||||
Thank you
Thank you for the info.
__________________
X-Cart Gold - 4.7.12 |
|||||||||
#32
|
|||||||
|
|||||||
Here's my Buy_now.tpl, can anyone reply with a code i can use?
I want remove the quantity and make default 1, and also center the Buy NOW button.. any help will be appreciated very much Code:
__________________
hyratech X-CART Gold 4.1.10 Hosted - Unix |
|||||||
#33
|
|||||||
|
|||||||
Guys, im confused i dont have anything like this
My buy_now.tpl look like this
{include file="buttons/button.tpl" button_title=$lng.lbl_buy_now href=$href title=$title style=$style} It there a mod or add on that i am missing? Would love to eliminate the quanity option when selecting buy it now. But some people reference the products.tpl and others are working on the buttons.tpl file. While this thread deals with the buy_now.tpl Help please.... xcart- 4.0.16 |
|||||||
#34
|
|||||||
|
|||||||
You need to read the whole thread...there is code that you need to replace in order to hide the quantity select box.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#35
|
|||||||
|
|||||||
Balinor,
I have read the whole thread a couple of times checking to see where changes have been made but my original .tpl files dont look like any posted here. I have also cut and pasted code to try these changes to only get a big server error message. I have tried modifying the button, buy_now and product tpl files but i cant get them to work. Newbie here seeks enlightnment. |
|||||||
#36
|
|||||||
|
|||||||
Ok,
Well i found that there are a couple of buy_now.tpl, after geting the correct one, "customer, Main, ..... buy_now.tpl i pasted the code from Jon and it appeared to work except when i hit the buy now button it would goto the store home.php and not the summary page. |
|||||||
#37
|
|||||||||
|
|||||||||
to remove qty dropdown and text, i found it much easier to do it this way:
create your own buy now or add to cart gif include it where you want it in product.tpl use this code for your hyperlink [img]{$ImagesDir}/addtocart.gif[/img] then just comment out or erase this entire table Code:
this will affect your wishlist stuff, feature comparisons and downloadable products, but if you don't use these it shouldn't be a problem. works well in 4.0.18, and seems to be an easier solution that the others i saw, and you can incorporate your custom add to cart button, b/c the default x-cart ones are lame. -mike[/code]
__________________
X-Cart Gold 4.0.17 & 4.0.18 Linux Server Hands-On Hosting http://www.CoreCases.com - Ipod Cases http://www.InnovativeOutlet.com - Pet Plants and other cool stuff you need |
|||||||||
|
|||
X-Cart forums © 2001-2020
|