I am trying to get shipping rates for products and am having the following problem. The shipping rates are real-time quotes and are provided using the following info; weight, originating zip code, and ship to zip code. The originating zip code is pulled from a database as well as the weight. The ship to zip code is entered in by the visitor.
I need to group products together based on their manufacturers, which is also pulled from the database. So if the visitor has for example 3 products in their shopping cart and two are from the same manufacturer (this is a variable in the database) it will add the products weight together for those two products and request a real-time shipping quote for that combined weight and then it will request a real-time shipping quote for the remaining product and finally it will add the two quotes together and return one final price. I am having a problem with the grouping of the same manufacturer products and requesting one quote.
Any help would be greatly appreciated, thanks in advance!!!