uShop English (U.S.) for 179!

uStorekeeper English (U.S.) for 149!

 Tech Support
       Support Policy
       Knowledge Base
       Reference Sites
       Software Piracy
       Legal Notices
       Privacy Policy
       Reseller Info
       Contact Us
       Site Map
Shipping Modifier in Ushopinput13 Class

Knowledge Base Lobby : uShop Support Conference : General Questions
Jul-16-18 06:28 AM EST
Original Message
Shipping Modifier in Ushopinput13 Class
Author Paul Cangialosi on 02-07-2001 at 19:19 (EST)
It is possible to create a negative Shipping Modifier? Or is it possible to have something have free freight while other products are based on weight? I used the weight calculation method. If I want to have something that is a Free shipment item and enter 0.00 as the weight it will still add the initial Y value to it.

Table Of Contents
  RE: Shipping Modifier in Ushopinput13 Class Bill Weiner, 2001-02-08 06:03:07 (1)

Messages In This Discussion
         1. RE: Shipping Modifier in Ushopinput13 Class
        Author Bill Weiner on 02-08-2001 at 06:03 (EST)
So it sounds like your are using the "Weight Formula" shipping calculation:

Shipping Charge = (ORDER WEIGHT * X) + Y

...but want a way to flag certain items as having FREE shipping?

Well, there is a modification that you can make to the "" script that will allow you to specify negative Shipping Modifiers and/or negative Weights for your products.

To make this modification:

STEP 1: Make a backup of your current "" file... just in case.

STEP 2: Open the "" file with any text editor such as WordPad.

STEP 3: Do a search on the following line:

$vstring =~ s/[^0-9.]//g; # remove everything except numbers and periods.

And change that line to:

$vstring =~ s/[^-0-9.]//g; # remove everything except dashes, numbers and periods.

STEP 4: Save the file (as text if your editor asks).

STEP 5: Try it out by setting a negative value in "shipping_modifier" parameter and/or the "weight" parameter of the applets that you want to have Free shipping.

If that doesn't work, then maybe you can just use the shipping modifier for all of your products ... and not use the "Weight Formula" at all. That way you can just leave the free shipping items as having a "shipping_modifier" of $0.00.

Otherwise, you may just have to implement your own "custom_shipping" subroutine to calculate your shipping charges.

But in any case, we'll look into the possibility of providing a simple keyword for marking items as having free shipping.

© 2003 Microburst Technologies, Inc.