www.uburst.com www.uburst.com

"Pop Up Window - buy more"

Go back to the LobbyClick here to Go Back to Main ListingClick here to see helpClick here to Search the Forum

Future Feature Wish List
Forum Type: Public
Moderator: edmunds
Time Zone: EST
Printer Friendly Format
Original Message
 
"Pop Up Window - buy more"
Posted by Schwab Ralf on Oct-25-00 at 01:45 PM (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

Click to Send Alert Message to the Administrator Click to edit this messageClick to EMail Click here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents

 Table of Contents

RE: Pop Up Window - buy more, Bill Weiner, Oct-25-00, (1)

 

 
Click here to goto Click here to goto the Lobby
Messages in this discussion
 
1 . "RE: Pop Up Window - buy more"
Posted by Bill Weiner on Oct-25-00 at 03:56 PM (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();"

Remove this Message: Administrator and Moderator onlyClick to Send Alert Message to the Administrator Click to edit this messageClick here to reply to this messageClick here to reply to this message with quotesClick to goto the Table of Contents


Archive This Thread: Admin and Moderator OnlyRemove This Thread: Admin and Moderator Only
Click here to goto Click here to goto the Lobby

 

 

 

 

 

 

 

 

 

 

 

 
Questions or problems regarding this bulletin board should be directed to Webmaster
©1997-1999 by DCScripts. All rights reserved.