For performance reasons, it may be desireable to have all of the
store's product pages on the faster public server and then just
transfer to the slower encrypted secure server when the customer wants
to actually place the order. The uShopOrderImageButtonCGI applet
provides the means to do this. That is, you can place all of the
store's product pages on your public server, then configure this
applet to load the order page on your secure server when the customer
is ready to order.
Note that this applet is identical to the uShopOrderButtonCGI applet
except this applet allows you to specify any image to be used instead
of a regular text label on the button. The image can be any .gif or
.jpg and can be of any size. There is also an option to specify whether
you want a 3-D border around the applet or not.
Note also that in order to configure this, you must have:
See the uShop User's Manual for a step-by-step description of setting
up this button.
- Configured the ushop_cgiscript on your secure server.
- Put the order.template on your secure server.
- Put any necessary uShop classes on your secure server (Typically
in a subdirectory of your main directory called "classes")
See also ushop_cgiscript_pg.pl,
Note: Optional parameters are in italics
- scriptpath - The full path to the ushop_cgiscript_pg.pl on your server. Example:
- order_page - This is the name and path relative to the CGI directory on your
secure of the order template file. For example, if you created
an order page called MyOrderPage.html and put this page in the
main directory on your server, then you would set this parameter
to "../MyOrderPage.html". See also
- image - The image to be displayed as the button. This parameter can be
specified as the full URL to the image or as the path relative to
where the .class files are located. If the image is in the same
directory as the .class files, then you can just specify the image
- border - This parameter lets you specify whether you want a 3-D border
around the image or not. The default is "YES". If you do not
want a border, specify this parameter as "NO".
<APPLET CODE = "uShopOrderImageButtonCGI_pg.class" WIDTH=80 HEIGHT=35>
<PARAM NAME=scriptpath VALUE="https://www.uburst.com/cgi-bin/ushop/ushop_cgiscript_pg.pl">
<PARAM NAME=order_page VALUE="order_pg.template">
<PARAM NAME=image VALUE="example_secure_order.gif">
<PARAM NAME=border VALUE="YES">