Examples Menu Form Submit Image Submit Group Assembled Group Item Number

Group BuyObjects allow you to set up the page so that the customer can purchase multiple items on a page with one click. They are well suited to sales of parts, office supplies, and other such items. There is no CatalogIntegrator limit to how many can be put on a page. These Group BuyObjects are separated into Forms and Field Elements, so that you can add as many bundles of Field Elements to the forms as you like, and customize the page any way you wish.

There are two kinds:

1) quantity Activated, which means that by entering a quantity greater than zero, the item will be put in the cart when the customer clicks on the submit or "Add" button.

2) Checkbox Activated, which means that by checking the checkbox beside an item, that item will be put in the cart when the customer clicks on the submit button.

The chart on the right shows the relationship of the Group BuyObject Forms and the Field Elements bundles.

There are also two Group BuyObject Pages already assembled in tables. You can add or remove Field Element bundles on these pages to accomodate the number of items you wish to offer.

1g.       

Group BuyObject Form, quantity Activated, plain form Submit.

(Note: This Form requires quantity Activated Group BuyObject Field bundles.)

It is appropriate when you

  • you want customers to be able to purchase several items on a page before going to checkout. For example, office supplies, parts, music CDs. etc.
  • You want them to be able to purchase any quantity of any item.

Source Code:

<form name="MultipleItemsGroup" action="../Cart/addGroup.php" method="post">
<!-- (C) 2001 eCatalogBuilders. All rights reserved by eCatalogBuilders. -->

<input type="hidden" name="multipleitems" value="yes">
<input type="hidden" name="checkboxed" value="no">
<!--This is the Form Field for Multiple Item BuyObjects Pages with quantity Activation. Put the Multiple BuyObjects inside it It is not inside a table like the others, but you can put tables in it..-->
<input type="submit" value="Purchase" name="Submit">

</form>

2g.       


Group BuyObject Form, quantity Activated, Image Submit.

(Note: This Form requires quantity Activated Group BuyObject Field bundles.)


It is appropriate when you

  • you want customers to be able to purchase several items on a page before going to checkout. For example, office supplies, parts, music CDs. etc.
  • You want them to be able to purchase any quantity of any item.
  • You want an image submit button.

Source Code:

<form name="MultipleItemsGroup" action="../Cart/addGroup.php" method="post">
<!-- (C) 2001 eCatalogBuilders. All rights reserved by eCatalogBuilders. -->

<input type="hidden" name="multipleitems" value="yes">
<input type="hidden" name="checkboxed" value="no">
<!--This is the Form Field for Multiple Item BuyObjects Pages. Put the Multiple BuyObjects inside it It is not inside a table like the others, but you can put tables in it..-->
<input type="image" border="0" name="imageField" src="Images/add.gif" align="absmiddle">
</form>

3g.     

Group BuyObject Form, Checkbox Activated, plain form Submit.

(Note: This Form requires Checkbox Activated Group BuyObject Field bundles.)

It is appropriate when you

  • you want customers to be able to purchase several items on a page before going to checkout. For example, office supplies, parts, music CDs. etc.
  • You intend them to order just one of any item, by checking the checkbox beside it.

Source Code:

<form name="MultipleItemsGroup" action="../Cart/addGroup.php" method="post">
<!-- (C) 2001 eCatalogBuilders. All rights reserved by eCatalogBuilders. -->

<input type="hidden" name="multipleitems" value="yes">
<input type="hidden" name="checkboxed" value="Yes">
<!--This is the Form Field for Multiple Item BuyObjects Pages. Put the Multiple BuyObjects inside it It is not inside a table like the others, but you can put tables in it.-->
<input type="submit" value="Purchase" name="Submit">

</form>

 4g.       

Group BuyObject Form, Checkbox Activated, Image Submit.

(Note: This Form requires Checkbox Activated Group BuyObject Field bundles.)

It is appropriate when you

  • you want customers to be able to purchase several items on a page before going to checkout. For example, office supplies, parts, music CDs. etc.
  • You intend them to order just one of any item, by checking the checkbox beside it.
  • You want an image submit button.

Source Code:

<form name="MultipleItemsGroup" action="../Cart/addGroup.php" method="post">
<!-- (C) 2001 eCatalogBuilders. All rights reserved by eCatalogBuilders. -->

<input type="hidden" name="multipleitems" value="yes">
<input type="hidden" name="checkboxed" value="yes">
<!--This is the Form Field for Multiple Item BuyObjects Pages. Put the Multiple BuyObjects inside it It is not inside a table like the others, but you can put tables in it..-->
<input type="image" border="0" name="imageField" src="Images/add.gif" align="absmiddle">

</form>

 5g.       

Group BuyObject Field Elements , quantity Activated

    

It goes inside a Group BuyObject Form, quantity Activated when

  • you want customers to be able to purchase several items on a page before going to checkout. For example, office supplies, parts, music CDs. etc.
  • You want them to be able to purchase any quantity of any item.
  • You want an image submit button.

You can put as many of these in a Group BuyObject Form as you want.

Source Code:

<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td>
<input type="hidden" name="item[]" value="001G">
<input type="hidden" name="product[]" value="Product Name">
<input type="hidden" name="price[]" value="0.01">
<input type="hidden" name="nontax[]" value="no">
<input type="hidden" name="custID[]">
<input type="hidden" name="length[]" value="5">
<input type="hidden" name="width[]" value="1">
<input type="hidden" name="height[]" value="1">
<input type="hidden" name="weight[]" value="1">&nbsp;&nbsp;&nbsp;
<!--This BuyObject goes inside the form field of a Group BuyObject Container. It will not work otherwise. You can put multiple Group BuyObjects in a single Group BuyObject Container.
<!-- (C) 2001 eCatalogBuilders. All rights reserved by eCatalogBuilders. -->

Leave the value of the quantity field set to 0 (zero) so that it will not be added to the cart unless customer puts a real number in it.-->
<input size="2" maxlength="2" name="quantity" value="0" type="text">&nbsp;
</td>
</tr>
</table>

6g.       

BuyObject Field Elements, Checkbox Activated

  

It goes inside a Group BuyObject Form, Checkbox Activated when

  • you want customers to be able to purchase several items on a page before going to checkout. For example, office supplies, parts, music CDs. etc.
  • You do not want to offer varying quantities.

You can put as many of these in a Group BuyObject Form as you want.

Source Code:

<table border="0" cellpadding="4" cellspacing="0">
<tr>
<td bgcolor="white">
<input type="hidden" name="item[]" value="001G">
<input type="hidden" name="product[]" value="Product Name">
<input type="hidden" name="price[]" value="0.01">
<input type="hidden" name="quantity[]" value="1 ">
<input type="hidden" name="nontax[]" value="no">
<input type="hidden" name="custID[]">
<input type="hidden" name="length[]" value="5">
<input type="hidden" name="width[]" value="1">
<input type="hidden" name="height[]" value="1">
<input type="hidden" name="weight[]" value="1">&nbsp;
<!--This BuyObject goes inside the form field of a Group BuyObject Container. It will not work otherwise. You can put multiple Group BuyObjects in a single Group BuyObject Container.
<!-- (C) 2001 eCatalogBuilders. All rights reserved by eCatalogBuilders. -->

In this Object, the checkbox is the quantity input, and must be named "quantity". By default, its value is "1". You can change that to a higher number if need be.-->&nbsp;

<input type="checkbox" value="1" name="quantity">

</td>
</tr>
</table>

Return to Menu Form Submit Image Submit Group Assembled Group Item Number

Top