uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Products
       uTest
       uReserve
       uShop
       uStorekeeper
       uGolf
       uDirectory
       uSignIn
 Tech Support
       Support Policy
       Knowledge Base
            uTest
            uReserve
            uShop
            uStorekeeper
            uGolf
            uDirectory
            uSignIn
       Documentation
       Reference Sites
 Legal
       Software Piracy
       Legal Notices
       Privacy Policy
       Licensing
 Miscellaneous
       Reseller Info
       Contact Us
       Site Map
Pop Up Window - buy more

Knowledge Base Lobby : uShop Support Conference : Future Features WishList
Oct-22-17 05:51 AM EST
Original Message
Pop Up Window - buy more
Author Schwab Ralf on 10-25-2000 at 13:45 (EST)
Hello,

a suggestion for a comming ushop version:

If the customer starts the shopping-process
and have a order value of lets say US$ 90.00,
and at a order value of US$ 100.00 we charge
no shipping fee, there should appear a window,
which tells the customer: Buy for US$ 10.00 more,
and you have not to pay the shipping fee.

Good Idea ?

bye

schwab ralf
E-MAIL AUTHOR | TABLE OF CONTENTS

Table Of Contents
  RE: Pop Up Window - buy more Bill Weiner, 2000-10-25 15:56:14 (1)

Messages In This Discussion
         1. RE: Pop Up Window - buy more
        Author Bill Weiner on 10-25-2000 at 15:56 (EST)
Thanks for the suggestion.

Actually, you may be able to setup such a message window now by writing your own JavaScript function that will check the subtotal. To do this, on your "Place Order" page, try:

STEP 1: Add the "uShopJSI" applet somewhere your "Place Order" page. Usually this is done at the very bottom. See the "JavaScript Examples" in the uShop Applet Reference and/or the uShop Programmer's Guide for more information about putting hte "uShopJSI" applet on your page.

STEP 2: Upon putting the "uShopJSI" applet somewhere on your "Place Order" page, you can use the uShopJSI method "getSubtotal" to access the current subtotal. Do this using the syntax:

var subtotal = document.uShopJSI.getSubtotal();

STEP 3: Put that call to the "getSubtotal()" method in a JavaScript function such as:

function checkSubtotal()
{
if (document.uShopJSI != null)
{
var subtotal = document.uShopJSI.getSubtotal();
if (subtotal < 100.0)
{
alert("Reminder: We offer free shipping on all orders over $100.00");
return;
}
}
}

STEP 4: Call that "getSubtotal()" function from somewhere on your "Place Order" page... perhaps via the "onLoad" in the BODY line of the page:

BODY BGCOLOR="#FFFFFF" onLoad="getSubtotal();"
TABLE OF CONTENTS

© 2003 Microburst Technologies, Inc.