Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 General help me questions
 Simple order form
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

johnagr
Starting Member

Australia
8 Posts

Posted - August 26 2005 :  20:42:26  Show Profile  Reply with Quote
Does anyone know how to create a very simple order form? What I would like to do is have a single page for customers to place there order, with products listed from the database including a checkbox, quantity and price field, in a very simple one-page form. At present clients have to search for products, or navigate through pages and pages to find their items.

Thanks in advance.

John

greatphoto
VP-CART Super User

USA
304 Posts

Posted - October 21 2005 :  20:20:27  Show Profile  Reply with Quote
You can do this with product templates as described in the following steps:

  • Put all your products in one category. They can also remain in your other categories if you like. (hint: hold down control to select multiple subcategories from the list)

  • Set xproductsperpage to a value equal or greater than the total number of products you have.

  • Set xproductselect=Yes to enable quantity and check box for each product

  • Create a simple product template that shows each of your products in one line with its check box and quantity

  • Set the catextra field of the category used in the first step to point to your new template.

  • Set xcategoryproducttemplates=Yes to enable categories to use different templates if you want your products to still display a different way in other categories.




Edited by - greatphoto on October 21 2005 20:30:39
Go to Top of Page

johnagr
Starting Member

Australia
8 Posts

Posted - November 02 2005 :  04:05:15  Show Profile  Reply with Quote
Thanks greatphoto, but I want to be able to have "both" methods available. the current setup for new customers and the form for advanced/repeat customers who know what they would like to order. If this is possible with your method, please let me know.

Thanks,

John






quote:

You can do this with product templates as described in the following steps:

  • Put all your products in one category. They can also remain in your other categories if you like. (hint: hold down control to select multiple subcategories from the list)

  • Set xproductsperpage to a value equal or greater than the total number of products you have.

  • Set xproductselect=Yes to enable quantity and check box for each product

  • Create a simple product template that shows each of your products in one line with its check box and quantity

  • Set the catextra field of the category used in the first step to point to your new template.

  • Set xcategoryproducttemplates=Yes to enable categories to use different templates if you want your products to still display a different way in other categories.




Edited by - greatphoto on October 21 2005 20:30:39



Go to Top of Page

greatphoto
VP-CART Super User

USA
304 Posts

Posted - November 02 2005 :  06:06:51  Show Profile  Reply with Quote
Hi John-

You can use both methods simultaneously. Here are a few of the reasons this works:

1) Products can exist in more than one category.
2) Product categories can each use a different template, via the catextra field.

So, you can follow the directions I wrote, leaving all of your existing categories as they are. Create the new category, and edit each of your products to make them active in their present category and the new one.

Effort saving tip: If xcategoryproducttemplates is enabled but catextra is blank, then the default template will be used. This means you can save effort by only specifying catextra for your new simple order form category, leaving the others the same. All the others will use the default template, and you wont have to edit each one of them.

Caution: The default template is slightly different than the normal product display without templates. You may need to tweak the default template a bit to get it displaying the way you like. However, this may be an advantage because once you see how powerful the templates are, you may want to modify the default template significantly to improve the appearance of your site overall.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00