Jump to content



* * * * - 1 votes

[support] MultiGeoZone MultiTable Shipping Module


  • Please log in to reply
327 replies to this topic

#21   iecwillow

iecwillow
  • Members
  • 139 posts
  • Real Name:willow

Posted 07 November 2004 - 09:17 PM

Thanks for this great contribution. Everyting works fine and easy to setting. But there is a problem when I use shipping table method as count. If you change the Qty. in shopping cart by directly input the numbers in, the shipping charge will remain same, won't get update to the correct Qty. in checkout_shipping.

For example:

Add item A in cart, shipping charge $5.95
Add item B in cart, shipping charge updated to 2 items' rate $7.95
Add item B again in cart, shipping charge updated to 3 items' rate $9.95

which works perfectly. However, if you

Modify Qty. of B item from 2 to any other number(no matter more or less), shipping charge remain on 2 items' rate $9.95

Is this a bug?

BTW, I want set my shipping charge as 1st item $5.95, $2.00 each for any additional item, because of the length, I only able to add the exactly rate for 30 items in shipping table, is there any way to easier set as a forumla?

Thanks for any help.

#22   dreamscape

dreamscape
  • Members
  • 1,546 posts
  • Real Name:departing this world in search of another

Posted 07 November 2004 - 10:54 PM

iecwillow, on Nov 7 2004, 03:17 PM, said:

which works perfectly. However, if you

Modify Qty. of B item from 2 to any other number(no matter more or less), shipping charge remain on 2 items' rate $9.95

Is this a bug?
In osCommerce when you change the qty of a product in the cart, you have to hit the update button.  You cannot just hit the checkout button.  If you, it won't update the qty.

iecwillow, on Nov 7 2004, 03:17 PM, said:

BTW, I want set my shipping charge as 1st item $5.95, $2.00 each for any additional item, because of the length, I only able to add the exactly rate for 30 items in shipping table, is there any way to easier set as a forumla?

<{POST_SNAPBACK}>


You can do per-item with the percentage option.

set the handling fee to $3.95 and then setup the table to do $2 per item (200% per item):
1:200%

This will give you the table you desire:
1 item - $5.95
2 items - $7.95
3 items - $9.95
4 items - $11.95
5 items - $13.95
etc
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke

#23   Chuckler

Chuckler
  • Members
  • 21 posts
  • Real Name:Dean Winter

Posted 10 November 2004 - 03:05 AM

Hi - first of all, awesome contribution  :thumbsup:

Onto the question: Maximum weight with MZMT - how does this work?

My setup:
Geo Zone 7
shp: QLD - Brisbane
Geo Zone 7 Table Method
weight
Geo Zone 7 Handling Fee
0
Geo Zone 7 Shipping Table 1
0:$5,1:$7,10:$10,20:$20,25:40
Geo Zone 7 Shipping Table 2
Geo Zone 7 Shipping Table 3

Enter the Maximum Package Weight you will ship 25   
Package Tare weight. 0   
Larger packages - percentage increase. 0  

I have an item that I've made 1.0kg for testing.
If I have 1 item, the shipping is calculated at $7 (as expected)
If I have 5 items, the shipping is calculated at $7 (as expected)
If I have 10 items, the shipping is calculated at $10 (as expected)
If I have 20 items, the shipping is calculated at $20 (as expected)
If I have 25 items, the shipping is calculated at $40 (as expected)
If I have 26 items, the shipping is calculated at $11 (unexpected)

I've read elsewhere that osCommerce splits any package above maximum weight into multiple packages. So, for 26kg, it splits it into two 13kg packages, for which $10 is the correct weight per package.

But there should be two packages, am I correct? It should calculate as $20?

Thanks for any help.

#24   ExtraB

ExtraB
  • Members
  • 81 posts
  • Real Name:Eric Bonnici
  • Location:Canada

Posted 10 November 2004 - 03:18 AM

myb, on Nov 4 2004, 02:39 AM, said:

I'm new to this too, but let me give my two cents.

I think one way to do it is to specify those 'sub-zones' in where the various shipping options would otherwise go.  (I.E. the tables area)  Instead of UPS - Ground, Air-Mail etc. you could have North Ontario, West Ontario etc.  This would mean the customer needs to pick their shipping area in the delivery options, like they would currently pick their shipping method.  It wouldn't be automatic.

Maybe the better way to is to make zones for each of those options.  But then I'm not sure how the right one would be picked.  It would normally select the zone based on the province code in the address area of the account.  This makes it seem like you couldn't really subdivided a zone below a state or province.  Well, you could make your zones subprovincial, and I guess you could have tax rates in for them all.  But the problem is, how do you get your customer to enter this in their address area.  Could it be in a popup?  It could be county/municipality based.  Bah, this is over my head on how to deal with it all.

You know, a better way would be to have a table of shipping rates based on the postal code.  That would be one mother of a table though!

<{POST_SNAPBACK}>


I am a relative beginner to PHP and OSC but do know that living in Canada and using Canada Post for shipping that rates are determined by postal code. I wonder if there would be a way to break provinces and states from the USA etc down by zip/postal codes. That would make sense but then that would probably involve countless hours of work. You would have to get copies of Canada Posts shipping zones listed by postal code and there is a whole lot of them.... I downloaded the tables / charts from their site... another problem would be as Canada Posts rates change ( in the future rates will surely rise) then you would have to spend coutnless hours reentering rates into OSCommerce.

I wonder if anyone has an easy or less tedious solution or idea of how this work.

Thanks
Eric B
AJ2000

#25   dreamscape

dreamscape
  • Members
  • 1,546 posts
  • Real Name:departing this world in search of another

Posted 10 November 2004 - 04:15 AM

Chuckler, on Nov 9 2004, 09:05 PM, said:

But there should be two packages, am I correct? It should calculate as $20?

Thanks for any help.

<{POST_SNAPBACK}>


Ah sorry, I forgot to put in multi package support.  It should be fixed now:

http://www.oscommerce.com/community/contributions,2571
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke

#26   dreamscape

dreamscape
  • Members
  • 1,546 posts
  • Real Name:departing this world in search of another

Posted 10 November 2004 - 04:18 AM

ExtraB, on Nov 9 2004, 09:18 PM, said:

I wonder if anyone has an easy or less tedious solution or idea of how this work.

<{POST_SNAPBACK}>


Why not try one of the Canada Post modules for osCommerce?

http://www.oscommerce.com/community?contri...post&category=2
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke

#27   Chuckler

Chuckler
  • Members
  • 21 posts
  • Real Name:Dean Winter

Posted 10 November 2004 - 05:17 AM

dreamscape, on Nov 10 2004, 02:15 PM, said:

Ah sorry, I forgot to put in multi package support.  It should be fixed now:

http://www.oscommerce.com/community/contributions,2571

<{POST_SNAPBACK}>

Woo hoo!  That's perfect, thanks again for an awesome contribution.

#28   loveacrossborders

loveacrossborders
  • Members
  • 53 posts
  • Real Name:Shaun

Posted 10 November 2004 - 10:50 AM

Hi Dreamscape,

I saw the new bug-fix that you added today. How can I install the bug fix manually?


dreamscape, on Nov 10 2004, 11:15 AM, said:

Ah sorry, I forgot to put in multi package support.  It should be fixed now:

http://www.oscommerce.com/community/contributions,2571

<{POST_SNAPBACK}>



#29   dreamscape

dreamscape
  • Members
  • 1,546 posts
  • Real Name:departing this world in search of another

Posted 10 November 2004 - 03:04 PM

loveacrossborders, on Nov 10 2004, 04:50 AM, said:

Hi Dreamscape,

I saw the new bug-fix that you added today. How can I install the bug fix manually?

<{POST_SNAPBACK}>


If you download and read the install instructions, you will see that to update you just overwrite the module file.  There is no need to overwrite the language file and there is no need to uninstall/reinstall the module.
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke

#30   ExtraB

ExtraB
  • Members
  • 81 posts
  • Real Name:Eric Bonnici
  • Location:Canada

Posted 10 November 2004 - 09:57 PM

dreamscape, on Nov 10 2004, 04:15 AM, said:

Ah sorry, I forgot to put in multi package support.  It should be fixed now:

http://www.oscommerce.com/community/contributions,2571

<{POST_SNAPBACK}>


The problem with the Canada Post Mod is that you are forced into using prices set by Canada post. You can really add in extra costs for things like packaging and handling (like if you have to pay someone to package and send things out for you). I also so a lot of people having trouble with that mod so I stayed away.

To complicate matters Canada Post will only be used to ship to people who order from Canada or anywhere in the world except the USA. We have a small storage space in the USA because we live right accross the border. It is cheaper for us to travel accross the border and send by the US Postal service.... and it is much faster for usa customers.

This is why I like the multitable mod... we can set the prices and rates on what they truely are. not what Canada post forces us to use as a value.

Thanks though
Eric B
AJ2000

#31   Chuckler

Chuckler
  • Members
  • 21 posts
  • Real Name:Dean Winter

Posted 11 November 2004 - 04:21 AM

Hi dreamscape ...

I have one more question if I may:
// class methods
    function quote($method = '') {
      global $order;

      $this->quotes = array('id' => $this->code,
                            'module' => constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TEXT_TITLE') . ' (' . $shipping_weight . ' lbs)',
                            'methods' => array());

This section here doesn't work for me, it shows this:
This is currently the only shipping method available to use on this order.  
  Brisbane Shipping Options ( lbs)  

So, I changed the "lbs" to
 (' . $shipping_weight . $MODULE_SHIPPING_ZONES_TEXT_UNITS . ')',
as MODULE_SHIPPING_ZONES_TEXT_UNITS is defined in
/includes/languages/english/modules/shipping/zones.php as
define('MODULE_SHIPPING_ZONES_TEXT_UNITS', 'kg(s)');

but now it displays :
This is currently the only shipping method available to use on this order.  
  Brisbane Shipping Options ()  

Any tips?

#32   Chuckler

Chuckler
  • Members
  • 21 posts
  • Real Name:Dean Winter

Posted 11 November 2004 - 04:31 AM

Scratch that, I'll do it the easy way:

Chuckler, on Nov 11 2004, 02:21 PM, said:

Hi dreamscape ...

I have one more question if I may:
// class methods
    function quote($method = '') {
      global $order;

      $this->quotes = array('id' => $this->code,
                            'module' => constant('MODULE_SHIPPING_MZMT_GEOZONE_' . $this->delivery_geozone . '_TEXT_TITLE') . ' (' . $shipping_weight . ' kgs)',
                            'methods' => array());


but it displays :
This is currently the only shipping method available to use on this order. 
  Brisbane Shipping Options ( kgs) 

Any tips?


#33   dreamscape

dreamscape
  • Members
  • 1,546 posts
  • Real Name:departing this world in search of another

Posted 11 November 2004 - 03:16 PM

you have to add $shipping_weight to the global variables.

i.e., change `global $order;` to `global $order, $shipping_weight;`
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke

#34   Chuckler

Chuckler
  • Members
  • 21 posts
  • Real Name:Dean Winter

Posted 12 November 2004 - 02:11 AM

dreamscape, on Nov 12 2004, 01:16 AM, said:

you have to add $shipping_weight to the global variables.

i.e., change `global $order;` to `global $order, $shipping_weight;`

<{POST_SNAPBACK}>

In case anyone else reads this and misunderstands, in modules/shipping/mzmt.php
// class methods
    function quote($method = '') {
      global $order, $shipping_weight;

NOT under  
  function mzmt() {
      global $order;

;)

#35   puckett_jw

puckett_jw
  • Members
  • 73 posts
  • Real Name:Jimmy Puckett

Posted 26 November 2004 - 01:45 AM

I am having problems moving from MRMT to MZMT.  This is the steps that I took:

* Removed the MRMT module from the shipping modules in admin
* Deleted the two mrmt.php files
* Installed per the instructions

Now customers cannot login.  Items can be added to the cart, but when we check out, the login form takes us back to the login screen.  Anyone have any ideas?

-jimmy

#36   ilok

ilok
  • Members
  • 13 posts
  • Real Name:Ed

Posted 01 December 2004 - 12:31 AM

Hope this is not a stupid question. But what is the use/purpose of more than 1 table per geo region?

never mind figured it out after reading


define('MODULE_SHIPPING_MZMT_GEOZONE_1_TABLE_1_TEXT_WAY', 'Ground');
define('MODULE_SHIPPING_MZMT_GEOZONE_1_TABLE_2_TEXT_WAY', 'Second Day');
define('MODULE_SHIPPING_MZMT_GEOZONE_1_TABLE_3_TEXT_WAY', 'Next Day');

Edited by ilok, 01 December 2004 - 12:35 AM.


#37   puckett_jw

puckett_jw
  • Members
  • 73 posts
  • Real Name:Jimmy Puckett

Posted 14 December 2004 - 09:20 PM

I am trying to come up with a way to rovide free shipping on specific products.  I was woundering about the possiability of putting the price in the wieght field and setting MZMT to base shipping on weight.  Then we could put 0 for wieght on the products that we wanted free shipping.  Anyone doing this?  Anyone have any suggestions?


Thanks,
Jimmy

#38   dreamscape

dreamscape
  • Members
  • 1,546 posts
  • Real Name:departing this world in search of another

Posted 14 December 2004 - 09:25 PM

puckett_jw, on Dec 14 2004, 03:20 PM, said:

I am trying to come up with a way to rovide free shipping on specific products.  I was woundering about the possiability of putting the price in the wieght field and setting MZMT to base shipping on weight.  Then we could put 0 for wieght on the products that we wanted free shipping.  Anyone doing this?  Anyone have any suggestions?
Thanks,
Jimmy

<{POST_SNAPBACK}>


Why not have the shipping table method be based on weight, and saying 0 weight has 0 shipping, and then the rest of your table??  That would exclude any products with zero weight from the shipping calculation (they'd have free shipping).
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke

#39   puckett_jw

puckett_jw
  • Members
  • 73 posts
  • Real Name:Jimmy Puckett

Posted 14 December 2004 - 09:33 PM

dreamscape, on Dec 14 2004, 05:25 PM, said:

Why not have the shipping table method be based on weight, and saying 0 weight has 0 shipping, and then the rest of your table??  That would exclude any products with zero weight from the shipping calculation (they'd have free shipping).

<{POST_SNAPBACK}>


I think that is what I asking?  You are saying to use wieght to calculate shipping, and put the price in the weight field, but 0 in the weight for free shipping products correct?

#40   ExtraB

ExtraB
  • Members
  • 81 posts
  • Real Name:Eric Bonnici
  • Location:Canada

Posted 15 December 2004 - 12:24 AM

puckett_jw, on Dec 14 2004, 09:33 PM, said:

I think that is what I asking?  You are saying to use wieght to calculate shipping, and put the price in the weight field, but 0 in the weight for free shipping products correct?

<{POST_SNAPBACK}>


Hi Puckett

I am pretty sure that is exactly what you need to do. When you put in a products info in the admin area set its weight to 0.... and in the shipping table for this module set 0 weight to 0 dollars.

Also by default osCommerce sets a default package tare weight of 3 lbs... meaning that 3lbs is added to the weight of every order on top of what you have set in your tables for this module.

To set the tare weight to $0 you need to go to
Configuration> Shipping/Packaging > Package Tare Weight
in the admin

Good luck

Eric B
AJ2000