| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Quantity pulldown box formatting ? | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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 |
|||||||
#2
|
|||||||
|
|||||||
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}
|
|||||||
#3
|
|||||||
|
|||||||
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 |
|||||||
#4
|
|||||||
|
|||||||
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 |
|||||||
#5
|
|||||||
|
|||||||
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|