Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Extra Field Layout Issue

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-07-2011, 04:34 AM
 
BestStuffUK BestStuffUK is offline
 

Newbie
  
Join Date: Jun 2008
Posts: 6
 

Default 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
__________________
X-Cart Gold 4.5.4
Add-on: CDSEOpro
Server: UNIX
Reply With Quote
  #2  
Old 09-08-2011, 08:34 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default 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.

----
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #3  
Old 09-09-2011, 02:48 AM
 
BestStuffUK BestStuffUK is offline
 

Newbie
  
Join Date: Jun 2008
Posts: 6
 

Default Re: Extra Field Layout Issue

Thanks very much! I found it in: /modules/Extra_Fields/product.tpl
__________________
X-Cart Gold 4.5.4
Add-on: CDSEOpro
Server: UNIX
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 07:16 AM.

   

 
X-Cart forums © 2001-2020