Forums / Built-in Shipping and Payment Modules / how to set a Max shipping fee?

how to set a Max shipping fee?

Views: 625

Results 1 to 4 of 4
23 Mar 2012, 1:51 PM
#1
burger avatar

burger

New Zenner

Join Date:
Mar 2012
Posts:
20
Plugin Contributions:
0

how to set a Max shipping fee?

Hi
I want to set a maximum shipping fee of £8.
I have the individual items/weight to calculate the shipping costs and they add up just fine,
But for example someone buy 10 items all costing £1 each to ship=£10

I want it to stay at £8 as I would send by courier and they could order as much as they wanted and pay no more.

For smaller orders (under £8 shipping no change)

Many thanks

23 Mar 2012, 1:59 PM
#2
ajeh avatar

ajeh

Oba-san

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

Re: how to set a Max shipping fee?

You could customize the Item Rate item shipping module with:

      $this->quotes = array('id' => $this->code,
                            'module' => MODULE_SHIPPING_ITEM_TEXT_TITLE,
                            'methods' => array(array('id' => $this->code,
                                                     'title' => MODULE_SHIPPING_ITEM_TEXT_WAY,
                                                     'cost' => ((MODULE_SHIPPING_ITEM_COST * $item_total_count) > 8.00 ? 8.00 : (MODULE_SHIPPING_ITEM_COST * $item_total_count)) + MODULE_SHIPPING_ITEM_HANDLING )));

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!

24 Mar 2012, 11:02 AM
#3
burger avatar

burger

New Zenner

Join Date:
Mar 2012
Posts:
20
Plugin Contributions:
0

Re: how to set a Max shipping fee?

Hi
Many thanks for your reply,
I think i explained it wrong, i am using perweightunit.

Does this make a difference.

Thanks

24 Mar 2012, 12:33 PM
#4
ajeh avatar

ajeh

Oba-san

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

Re: how to set a Max shipping fee?

Then you could customize the code to work with Per Unit perweightunit shipping module ...

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!