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

Quantity pulldown box formatting ?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-07-2006, 08:42 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Quantity pulldown box formatting ?

In the product detail page, my "quantity" pulldown box looks TERRIBLE in all browsers, except Safari...

Does anyone know where this pulldown menu gets its formatting? How can I make it so that the quantity number is actually viewed by the customer (besides when the menu is piulled down)?

Thanks,

jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #2  
Old 09-07-2006, 09:38 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Quantity pulldown box formatting ?

i believe the formatting is done in skin1/modules/Product_Options/display_options.tpl and look for {$v.option_name}
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #3  
Old 09-08-2006, 02:38 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default Re: Quantity pulldown box formatting ?

Actually that isn't an option, that's the quantity drop-down box. Change the size of the box to 2 or 3 on product.tpl:

<OPTION value="{%quantity.index%}" {if $smarty.get.quantity eq %quantity.index%}selected{/if} size="3">{%quantity.index%}</OPTION>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 09-08-2006, 04:20 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Quantity pulldown box formatting ?

Thanks guys... but neither suggestion solved the problem... hmm. It clearly is not in "display_options.tpl". Padraic, the <size="3"> is a good idea, and seems like the right thing, but in my product.tpl, it doesn't do ANYTHING.

I'm gonna revert to a virgin copy of product.tpl and see what happens...

Could a CSS class be making a mess of this? I also noticed that my <p> tags in the detailed product description are no longer working... I can <p>Detailed Product Text</p> all day long, and it looks like a single <br>. That's not how it used to be... hmm...

it's always something...
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #5  
Old 09-08-2006, 05:05 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Quantity pulldown box formatting ?

Upon further review...

The new "thickbox" seems to making a mess of the formatting...

1. I restored to a virgin product.tpl
2. systematically restored my mods, testing as we go.
3. everything was perfect, until the final edit, enabling the "thickbox" include at the end of the file, and all formatting goes to hell.

if I disable the "thickbox" include, all formatting is restored, including <p> and the qty pulldown.

I know where to look now... thanks for being here...

Jeremy
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
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 01:58 PM.

   

 
X-Cart forums © 2001-2020