Forums / Built-in Shipping and Payment Modules / Any way to set minimum weight for shipping purposes?

Any way to set minimum weight for shipping purposes?

Views: 1,646

Results 1 to 11 of 11
9 Aug 2011, 5:13 PM
#1
johnny_roastbeef avatar

johnny_roastbeef

New Zenner

Join Date:
Dec 2010
Posts:
56
Plugin Contributions:
0

Any way to set minimum weight for shipping purposes?

We have some items that are pretty light weight and inexpensive yet too large to fit in an envelop. We have had occasions where a customer makes a $10 purchase (which yields a $3 profit) and calculates out to $2 for shipping. Say our actual shipping cost is $6; and we have just lost money.

If we could force the cart to set a minimum shipping weight of 1lb, we could probably minimize the instances were we lose money in this way.

We cant simply increase the listed weight on these light items, because if they were to buy in any quantity, the costs would quickly get out of hand.

Can this be done?

9 Aug 2011, 5:40 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Any way to set minimum weight for shipping purposes?

What shipping modules are you using? :unsure:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Aug 2011, 5:45 PM
#3
johnny_roastbeef avatar

johnny_roastbeef

New Zenner

Join Date:
Dec 2010
Posts:
56
Plugin Contributions:
0

Re: Any way to set minimum weight for shipping purposes?

We are using UPS, USPS & zones, in addition to freeshipper & store pickup.

Zen cart 1.3.9h

9 Aug 2011, 6:02 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Any way to set minimum weight for shipping purposes?

You could try editing the shopping_cart.php class file and changing the function show_weight to read:

  function show_weight() {
    $this->calculate();
    if ($this->weight < 1) {
      return 1;
    } else {
      return $this->weight;
    }
  }

and see how this works for you ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Aug 2011, 6:29 PM
#5
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Any way to set minimum weight for shipping purposes?

Would adding 1 pound to the tare weight do the same thing across the board?

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

9 Aug 2011, 6:31 PM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Any way to set minimum weight for shipping purposes?

No, that would add 1lb regardless of the weight ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

9 Aug 2011, 6:31 PM
#7
johnny_roastbeef avatar

johnny_roastbeef

New Zenner

Join Date:
Dec 2010
Posts:
56
Plugin Contributions:
0

Re: Any way to set minimum weight for shipping purposes?

Brilliant. Looks like its the fix I was looking for.
Thanks!

9 Aug 2011, 6:34 PM
#8
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Any way to set minimum weight for shipping purposes?

TNX Linda

I've just learned something new for today :smile:

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

9 Aug 2011, 6:37 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Any way to set minimum weight for shipping purposes?

johnny roastbeef, thanks for the update that this is now working ... :smile:

RixStix ... glad to help teach you something new today ... :cool:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

31 Aug 2011, 9:08 PM
#10
hockey2112 avatar

hockey2112

Zen Follower

Join Date:
Jun 2010
Posts:
204
Plugin Contributions:
0

Re: Any way to set minimum weight for shipping purposes?

Can this type of solution be implemented if I wanted to have a minimum number of products per order? For instance, I have Products A, B, and C. I do not want a shopper to be able to just order one product A... but they can order two A's, and A and a B, etc. Basically, as long as they order two units, I would be happy.

Is that possible?

Thanks!

31 Aug 2011, 9:19 PM
#11
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Any way to set minimum weight for shipping purposes?

There is an add on for minimum order based on amount ... you could probably adapt it to be minimum quantity ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!