Using safari as browser the quantity box and shopping cart are not adjusting the width if a customer wants to order a large number of products. It is working ok with the other browsers. Anybody any idea how to fix this?
Attachments
quantity box.jpg (83.57 KiB) Viewed 3646 times
I know this is a very late response and the tc will not benefit from my message.
However as i just found myself in this same situation and this was about the only post i could find, i would like to post my solution.
Don't know if it is the only way to work this out, but with the css i had no luck either.
Go to:
catalog/view/theme/default/template/product and open product.tpl
and around line 221 there is this section:
In that section change the line:
Adjust the size="2" to your needs, so in my case i changed it to 5 to make it show 5 digits quantity box.
Please note this only affects the productpage quantity box, if you need it changed in the Cart view also...
Go to: catalog/view/theme/default/template/checkout, open the cart.tpl and around line 66 look for:
Als change that where it says size="1" to your desire.
Hope this helps anybody!
Anton
However as i just found myself in this same situation and this was about the only post i could find, i would like to post my solution.
Don't know if it is the only way to work this out, but with the css i had no luck either.
Go to:
catalog/view/theme/default/template/product and open product.tpl
and around line 221 there is this section:
Code: Select all
div class="cart">
<div><?php echo $text_qty; ?>
<input type="text" name="quantity" size="2" value="<?php echo $minimum; ?>" />
<input type="hidden" name="product_id" size="2" value="<?php echo $product_id; ?>" />
Code: Select all
<input type="text" name="quantity" size="2" value="<?php echo $minimum; ?>" />
Please note this only affects the productpage quantity box, if you need it changed in the Cart view also...
Go to: catalog/view/theme/default/template/checkout, open the cart.tpl and around line 66 look for:
Code: Select all
<td class="quantity"><input type="text" name="quantity[<?php echo $product['key']; ?>]" value="<?php echo $product['quantity']; ?>" size="1" />
Hope this helps anybody!
Anton
Who is online
Users browsing this forum: No registered users and 108 guests