Dimensional Shipping Option 1
Perhaps an index is all you need to add to the various products. Call it the** dimension_index** field.
Then your products pile up in the cart and it provides shipping options based on a calculated** dimension_value**.
So, customer comes to the cart adds one DVD, dimension_index is 1. They go to the cart, it sees there's only 1 DVD with dimension_index 1 and assigns a dimension_value of 1. The shipping modules look for dimension_value before they become available**.** The customer gets one choice... an envelope.
But wait, they want to add a skateboard to their 'How to Ride' DVD. The dimension_index of the board is 3. Now the cart could add 3+1 = 4 and assign a dimension_value of 3. The customer would only see box shipping options.
**Dimensional Shipping Option 2
**Imagine an editable *admin shipping table *that displays a merchant shipping table provided by the shipping company. The ones I have list L-W-H in a zone table with the price beside each size.
Products could carry with them a **dimension_index **field that reads as if it was L-W-H.
The* new admin shipping table* has an extra field with a dimension_reference.
The cart would mash the _index with the _reference and 'pick' the closest match = dimension_value.
Shipping modules would look for the *dimension_value *before they become available.
Both options would allow you to use number grouping, ranges, even zone values to accurately filter the shipping options. Now imagine an alphanumeric code that assigns existing zones to number ranges.
Wait, you've got two shipping companies... use a second editable *admin shipping table... *
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian