Shipping Zone set
Permalink Browser Info Environment
Hey JohntheFish!
I was kind of curious about something. Nothing is broken. I'm just curious how you did it. :)
How is it that the detail pages knows what zone the customer selected? I see in the database it's only labeled as something like "2_ZBS_delivery", but how does it know what zone?
Just curious! Thanks!
I was kind of curious about something. Nothing is broken. I'm just curious how you did it. :)
How is it that the detail pages knows what zone the customer selected? I see in the database it's only labeled as something like "2_ZBS_delivery", but how does it know what zone?
Just curious! Thanks!
Type: | Discussion |
---|---|
Status: | Archived |
I am not clear what your question is, can you add some detail.
Sorry! Yea. I was wondering how pages such as detail.php know what the shipping zone is. All I'm seeing in the database is something like "2_ZBS_delivery". How does it know exactly what zone?
ecommerce re-runs the shipping calculation whenever it does anything. Not particularly efficient, but that is how it knows what the shipping calculation is without actually saving the result.
Ohh. You're talking about that getAvailableShippingMethods function huh?
I think so, but am away from my development systems for the next few days so can't be 100% on that at the moment.
Sorry about bugging you! :) just wondering. No worries. Have a great day!