Creating Static and Database-Driven Info Baskets
Example
- Some modifications to a static or database-driven shopping basket system
can transform it into an info basket. Using an info basket a customer can
easily request more information about the items in their info basket (rather
than purchasing the items). The following instructions apply to static
and database-driven info baskets.
MGI Tags
Steps
- Customize the shopping basket display.
- Remove the payment information section of the check out page and post
directly to the order processing page.
- Remove the confirm order page.
- Replace the mgiSendOrder tag with the mgiSendInfoRequest tag on the
order processing page.
Step 1: Customize the shopping basket display.
- Information requests do not require pricing and shipping information.
The default shopping basket display contains both of these elements. Customize
the mgiShoppingBasket tag so that it does not include pricing and shipping
information. See the Customizing the Shopping
Basket Display tutorial for instructions.
Step 2: Remove the payment information section of the check out page
and post directly to the order processing page.
- Open the check out page in a text editing program that allows you to
view and modify the HTML. For an information request, payment information
is not required, therefore remove the mgiPaymentInfo tag leaving the mgiShippingInfo
tag and submit button.
-
- In the next step, the confirm order tag will be removed so the check
out page needs to link directly to the order processing page. To link the
check out page directly to the order processing page, change the action
in the HTML form tags from the name of the confirm order page (e.g., confirmorder.html)
to the name of the order processing page (e.g., orderprocessing.html).
Step 3: Remove the confirm order page.
- The confirm order page is necessary for shopping baskets because the
tax is calculated on that page after a customer enters their shipping location.
For info baskets, pricing information is not used, therefore the confirm
order page should be deleted.
Step 4: Replace the mgiSendOrder tag with the mgiSendInfoRequest tag
on the order processing page.
- Open the order processing page in a text editing program that allows
you to view and modify the HTML. Replace the mgiSendOrder tag with the
mgiSendInfoRequest tag. The mgiSendInfoRequest tag works similarly to the
mgiSendOrder tag in that it sends an formatted email with the contents
of the information request. However, the mgiSendInfoRequest email is formatted
without the payment information. The following is an example mgiSendInfoRequest
tag:
<mgiSendInfoRequest to="info@domain.com"
from="webmaster@domain.com"
subject="Info Basket"
mailserver="mail.domain.com">
|