Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Quantity Box - TEXTFIELD SIZE (size of box)

Quantity Box - TEXTFIELD SIZE (size of box)

Locked

Views: 1,819

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
18 Jan 2007, 2:36 AM
#1
waltonics avatar

waltonics

New Zenner

Join Date:
Jan 2007
Posts:
5
Plugin Contributions:
0

Quantity Box - TEXTFIELD SIZE (size of box)

Hi I want to change the size of the quantity box in the shopping cart. Just being fussy really but no one is going to order more than one or two of our products so having the size of the text input box as 4 wide is just ugly.

The closest Ive got is in tpl_shopping_cart_default.php with what I think writes the textbox, but I cant for the life of me work out where it is adding the "size=4" bit to the html input field for the shopping cart quantity box.

the line I think is: (line 71ish)

echo $product['quantityField'] . '<br />

thanks if anyone can help, searching has only turned up multiple posts about minimums etc... I really just want to change the size of the box, thats all!

18 Jan 2007, 2:46 AM
#2
waltonics avatar

waltonics

New Zenner

Join Date:
Jan 2007
Posts:
5
Plugin Contributions:
0

Re: Quantity Box - TEXTFIELD SIZE (size of box)

never mind, just found it:

/includes/modules/pages/shopping_cart/header_php.php

Seems like that is an area I just have to overwrite and cant overide with a custom folder? Oh well, its a small change I can change back come an update...

Now that Ive signed up, thanks to all the people who contribute such great answers to the forums~! Ive been using them solidly for a month now and have had no trouble finding solutions to my problems..

18 Jan 2007, 3:55 PM
#3
nappy_nature avatar

nappy_nature

New Zenner

Join Date:
Jan 2007
Posts:
33
Plugin Contributions:
0

Re: Quantity Box - TEXTFIELD SIZE (size of box)

Hi Waltronics,
I think you and I must apply the same mental attitude: "Carry on banging head against the wall, and pray":blink:
once you have begun putting in so much effort your very dubious at starting over on another cart option...or is that just me?