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!

Type: Discussion
Status: New
rainmaker
View Replies:
JohntheFish replied on at Permalink Reply
JohntheFish
I am not clear what your question is, can you add some detail.
rainmaker replied on at Permalink Reply
rainmaker
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?
JohntheFish replied on at Permalink Reply
JohntheFish
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.
rainmaker replied on at Permalink Reply
rainmaker
Ohh. You're talking about that getAvailableShippingMethods function huh?
JohntheFish replied on at Permalink Reply
JohntheFish
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.
rainmaker replied on at Permalink Reply
rainmaker
Sorry about bugging you! :) just wondering. No worries. Have a great day!

concrete5 Environment Information

Browser User-Agent String

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You have not specified a license for this support ticket. You must have a valid license assigned to a support ticket to request a refund.