PRODUCT.OrderCheckout Alignment Issues

General ShopSite user discussion

PRODUCT.OrderCheckout Alignment Issues

Postby Andy S. » Thu Jan 27, 2005 7:03 pm

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.html

Thanks!

Andy
Andy S.
 

Re: PRODUCT.OrderCheckout Alignment Issues

Postby loren_d_c » Thu Jan 27, 2005 9:31 pm

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.html

However, 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.html

Thanks!

Andy

loren_d_c
 
Posts: 2570
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: PRODUCT.OrderCheckout Alignment Issues

Postby Andy S. » Thu Jan 27, 2005 9:55 pm

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.html

However, 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.html

Thanks!

Andy

Andy S.
 

Re: PRODUCT.OrderCheckout Alignment Issues

Postby Andy S. » Thu Jan 27, 2005 11:13 pm

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.html

However, 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.html

Thanks!

Andy



Andy S.
 

Re: PRODUCT.OrderCheckout Alignment Issues

Postby loren_d_c » Fri Jan 28, 2005 12:09 am

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.html

However, 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.html

Thanks!

Andy





loren_d_c
 
Posts: 2570
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: PRODUCT.OrderCheckout Alignment Issues

Postby Andy S. » Fri Jan 28, 2005 9:24 am

EXACTLY the explanation I was looking for. Thanks so much for all of the
help!!!

Andy

"Loren" <loren_d_c@yahoo.com> wrote in message
news:ctckrf$b4$1@eval.shopsite.com...
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.html

However, 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.html

Thanks!

Andy





Andy S.
 


Return to User Forum

Who is online

Users browsing this forum: Google [Bot] and 107 guests