| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Weird space issue above "Buy Now" button | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() With 2 of my products I have about half an inch of white space above the "Buy Now" button in the products/features view.
I've turned on borders for all the tables in "/customer/main/buy_now.tpl" and see there is an empty row (the buy it now buton is actuall a table within a table.) I've tried deleting the contents of that row just to see what happens and my "Buy Now" button stops working. Anybody else have this issue and know a quick fix?
__________________
X-cart 4.1.0 X-Configurator 4.1.0 PHP 4.4.2 |
|||||||
#2
|
|||||||
|
|||||||
![]() Moving to Template Editing
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() By not working do you mean:
- Image disappears? - Image link fails to correctly go to basket? - some other issue? When you delete the row are you sure that the table structure isn't being broken? i.e. removing a <td></td> but leaving <tr> or something on the code?
__________________
MarkH Web Development Manager Jackel International Limited X-Cart Version 4.0.13 + Customisations http://www.tommeetippee.co.uk/ |
|||||||
#4
|
|||||||
|
|||||||
![]() Hi jackel,
By not working, I mean the button is there but clicking on it does nothing. It doesn't process the "Buy Now" and go to a new page. I reverted back to the original so that it works again but I still have the spacing issue with these two products. I did some further adjusting and found that the two items that have the white space above are electronic items. When I took the electronic link off of the item a "quantity" drop down box appears in the white space. I added a new product and made it an electronic download and sure enough, same thing. I noticed when I add a product option to the product the white spacing goes away. :O Has anybody experienced this? Any ideas how to fix it?
__________________
X-cart 4.1.0 X-Configurator 4.1.0 PHP 4.4.2 |
|||||||
#5
|
|||||||
|
|||||||
![]() The answer is partially fixed here:
http://forum.x-cart.com/viewtopic.php?t=17262&highlight=hide+quantity except the "buy now" is centered. I will post again when I've fixed it.
__________________
X-cart 4.1.0 X-Configurator 4.1.0 PHP 4.4.2 |
|||||||
#6
|
|||||||
|
|||||||
![]() Ok here's the code if any one else ever has the same problem. Just replace /customer/main/buy_now.tpl with this (and thanks to Jon who pretty much did all the work for this in another thread):
Code:
__________________
X-cart 4.1.0 X-Configurator 4.1.0 PHP 4.4.2 |
|||||||
|
|||
X-Cart forums © 2001-2020
|