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)
-   -   Quantity pulldown box formatting ? (https://forum.x-cart.com/showthread.php?t=24740)

carpeperdiem 09-07-2006 08:42 PM

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

inebriate 09-07-2006 09:38 PM

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}

balinor 09-08-2006 02:38 AM

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>

carpeperdiem 09-08-2006 04:20 AM

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... :(

carpeperdiem 09-08-2006 05:05 AM

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


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

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