![]() |
Weird space issue above "Buy Now" button
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? |
Moving to Template Editing
|
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? |
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? |
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. |
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:
{* $Id: buy_now.tpl,v 1.15.2.7 2004/12/01 15:15:49 mclap Exp $ *} |
All times are GMT -8. The time now is 05:45 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.