For an example of the form fields required for a product to send a
Quantity value with it when added to the cart, just look at the
OrderAnywhere HTML for a product that has the 'Display Order Quantity'
checkbox checked in Edit Product Layout.
For example, if the product's record number were 4, you would see this
in the OrderAnywhere HTML:
input type=text size="2" name="4:qnty" value="1"
So in your template if you are making all of your form elements instead
of using the [-- PRODUCT.OrderCheckout --] tag, you might add this in
your form:
[--IF PRODUCT.DisplayOrderQuantity--]
input type=text size="2" name="[-- PRODUCT.RecordNumber --]:qnty"
value="1"
[--END_IF--]
Or, if you just always want the Quantity box there and don't want to
worry about checking the checkbox in the product settings, dispense with
the IF statment around the form field.
-Loren
Andy S. wrote:
Even though I am still wondering about the quantity field question from
my
last post (because I would like to customize my look even more), I added
to
add_to_cart.gif the attribute align="absmiddle" and removed the vspace
attribute and that seems to have done the trick.
Thanks Loren!
Andy
"Andy S." <andy@yourweb.com> wrote in message
news:ctcd6f$s1u$1@eval.shopsite.com...
Hi, Loren,
The valign may be the ticket.
I looked at all the examples and couldn't find one that had an example
of
putting in a qty field. Am I missing that?
Thanks!!
Andy
"Loren" <loren_d_c@yahoo.com> wrote in message
news:ctcbii$r4p$1@eval.shopsite.com...
You can't directly edit the output of the [-- PRODUCT.OrderCheckout --]
tag, so if you need a drastic change in the layout of the elements that
it outputs, then instead of using this tag, you will have to create all
of the form elements it outputs manually, see the example in this doc
page on how you could do that:
http://www.shopsite.com/templates/examp ... tions.htmlHowever, the alignment of images comes from the attributes of the image
itself, so if all you want to do is not have the image up so high, try
going to Images, select the 'add_to_cart.gif', which is the name of the
image you are using, and Edit Image Attributes. I believe that if you
remove the 'valign=3' attribute it may allow the image to display
lower.
-Loren
Andy S. wrote:
Is there a way to adjust the alignment of the finiteoptions, quantity
field
and add to cart button that shopsite generates using the [--
PRODUCT.OrderCheckout --] tag?
There appears to be no rhyme or reason to the layout, as the quantity
box
and add to cart buttons are never aligned.
Example (please excuse the broken links and photos):
http://www.chairguys.com/Store/9611GL.htmlThanks!
Andy