| ||||||||||
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 |
#11
|
|||||||||
|
|||||||||
Look forward to hearing from you. I'm not sure if the result of the space is in this template, or if it's in currently template. But try the code below and see if it fixes it.
Code:
|
|||||||||
#12
|
|||||||
|
|||||||
Okay that did the trick to get rid of the gap however the button is still aligning to the left hand side of the box and is not centered under the pricing details
Also if a customer is logged in both the buy now and wishlist buttons fall on the same line side by side I would like them to fall under one another and be centerred, with the buy now button on top maybe it is the whislist button that is somehow causing the buy now button to default to the left hand side ?? What do you suggest? Thanx Kirsten
__________________
Kirsten X_Cart Gold Version 4.0.11 www.silverimports.com.au www.diamondimports.com.au |
|||||||
#13
|
|||||||||
|
|||||||||
Try this
Code:
|
|||||||||
#14
|
|||||||
|
|||||||
Okay Jon almost there
This new tpl edit works fine for both the buy now and wishlist buttons and it now centered correctly for both logged in and guest customers However I have one other issue that it does not work for I have some items which are available for purchase by special order so instead of having a no price or please enter your price showing there I changed the language on this to read Special Order Email Us for more details. with a link to email me straight away So is it possible to not have the buy now button or the add to cart buttons attach itself to those products with no price but still have the ability to have them added to wishlist if the customer is logged in??? As ideally that is the way I would like them to work If you have a look at my home page I have one product there that has a no price but with the email link and i do not want the buy now button or add to cart button if the customer goes to see more details to be an option for this item www.silverimports.com.au/shop/home.php Thanx Kirsten
__________________
Kirsten X_Cart Gold Version 4.0.11 www.silverimports.com.au www.diamondimports.com.au |
|||||||
#15
|
|||||||||
|
|||||||||
Try this:
Code:
|
|||||||||
#16
|
|||||||
|
|||||||
Well almost done
The buy now button does not show for products that have no price the wishlist button does show for customers that are logged in for items with no price , but the link does not work to actually add it to the wishlist If you look at this page you will see the details of products that have no price, there I have the add to cart button showing which I do not want to show up for items with no price and for all products i do not want that quantity drop down menu to show up just have it set as a default of one when a person clicks on add to cart www.silverimports.com.au/shop/product.php?productid=16192&cat=0&page=1 The last minor thing I want to do is for the products with no price , if a customer clicks on email us is it possible to have a default subject enterred for the email that relates to the product they are interested in so that there is no confusion as to what product they are enquiring about and saves the customer time to type in item # and name?? if this is so how do i add this to the href link for the email? Thanx Kirsten
__________________
Kirsten X_Cart Gold Version 4.0.11 www.silverimports.com.au www.diamondimports.com.au |
|||||||
#17
|
|||||||
|
|||||||
Wow, I hope Jon is getting paid for this
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#18
|
|||||||||
|
|||||||||
If the wishlist does not work to add the product to the cart, then it is a limitation of x-cart which would require extra programming and cannot be provided through instructions as testing to find the correct code would be required.
In order to edit the product pages and remove the add to cart button on those pages, you'd have to edit product.tpl You'll have to work some of this out yourself or purchase some custom programming You can use this in a mail tag: <a href="mailto:Company Name <youremail@domain.com>?subject=EMAIL TITLE - {$product.product} - {$product.productid}"> |
|||||||||
#19
|
|||||||
|
|||||||
Yes Jon has been extremely helpful!!
He has helped me achieve some changes that I would not have been able to do without many fatal errors of which I have become accustomed, and have then had to inlist the techs at Qualiteam to ressurrect my site! But slowly I am getting some order into the way I want my site to run and look even though it is still very much a straight x cart site with no major changes in the original template design wise. For that I will definately need to commission a design expert, but in the meantime..... I am feeling a bit better about my site now and I think I have come quite a long way in just over three weeks ( although very arduous and stressful ones!! ) LOL I am sure most of the experts here laugh and think omg how dumb is this woman at some of the posts and questions I have made BUT - you never know some of my little questions and dilemmas may actually be of help to others whom also have no knowledge or experience Thanx again to all the ppl who have given me advice and have helped me by answerring some of my questions Kirsten This is how my eyes are after too many long nights!
__________________
Kirsten X_Cart Gold Version 4.0.11 www.silverimports.com.au www.diamondimports.com.au |
|||||||
#20
|
|||||||
|
|||||||
Quote:
Hi. I have made this change as suggested and it works fine. However, when an item has sold out, obviously the 'Buy Now' button is no longer shown which is fine, but I still need the 'Out of Stock' text to show instead of just a blank space where the 'Buy Now' button was. How can I achieve this? I also need to make exactly the same changes (ie. to lose the 'quantity dropdown' and yet still display 'out of stock' when sold out) to the 'Add to Cart' button displayed in the individual product listings. I have searched and searched the forum but cannot find anything that applies to this particular issue.
__________________
v4.0.18 |
|||||||
|
|||
X-Cart forums © 2001-2020
|