<form name="demo" method=post action="!MYURL!"> <input type=hidden name="action" value="quickbuy"> <input type=hidden name="order_id" value="!ORDERID!"> <input type=hidden name="showcart" value="0"> <input type=hidden name="item_id" value="item_001"> <input type=hidden name="item_name" value="Widget 1"> <input type=hidden name="item_price" value="1.00"> <input type=hidden name="item_weight" value="2.5"> <input type=hidden name="item_option1" value="Purchased via QuickBuy"> <input type=hidden name="item_option2" value="Small"> <input type=hidden name="qty" value="1"> <input type=submit value="Quick Buy"> </form>Since this form takes the place of the normal Perlshop 'Enter' command, the web page containing this form does not go inside the Perlshop catalog directory. Instead, it goes in the standard html directory for your web site.
As of Perlshop 4.2.08, the order_id field can be used to specify an order ID
value to use.
For example:
<input type=hidden name="order_id" value="321654987">
The second option is to take the customer to the View Cart page, which allows them to see their shopping cart prior to their checking out.
These options are controlled by the "showcart" input field of the QuickBuy form. If this value is set to 0, as shown in the example above, the customer is taken directly to the Check Out page. If the "showcart" value is set to 1, the customer is taken to the View Cart page.
For QuickBuy sites, it is recommended that the following Perlshop command buttons to turned off:
This can be done by following the instructions in the ps.cfg file.