X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Extra Field Layout Issue (https://forum.x-cart.com/showthread.php?t=60811)

BestStuffUK 09-07-2011 04:34 AM

Extra Field Layout Issue
 
Hi,

We are using X-Cart 4.1.10 and Unix.

We added an extra field to include the EAN Barcode of our products to satisfy Google Base, and it would be convenient to display this on our product pages.

I've enabled this and currently the EAN shows up between the Weight and Quantity. The problem is that the other items in the list are all bullet pointed and the EAN is not, but a stray bullet point is created at the end of the list. I've tried playing around with the Extra Field templates - but I'm not sure what to look for.

Can anyone help please.

There's an example of what I am talking about here:

http://www.beststuff.co.uk/store/bluelounge-minidock-for-iphone-and-ipod.htm

Thanks

gb2world 09-08-2011 08:34 PM

Re: Extra Field Layout Issue
 
If you look at it with Firefox/Firebug, you can see the difference between that label and all the others is that it is inside <span></span> tags. The css is set up to add the padding and the bullet to the labels enclosed in span tags. So - you need to find where the other labels get the <span> tags applied, and do the same thing with your new one.

You can try looking at how one of the other extra field labels is entered, perhaps the <span> tags are there.

----

BestStuffUK 09-09-2011 02:48 AM

Re: Extra Field Layout Issue
 
Thanks very much! I found it in: /modules/Extra_Fields/product.tpl


All times are GMT -8. The time now is 01:20 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.