hey guys,
I have the table rate clone mod added. BUT i want only certain rates to apply to certain products.. but we have the master_category_id limited to 2, and the products_model only works if your models are all the same, which in my opinion, is not very organized.
i found the common denominator to be products_sort_order. now, for those who don't care about the sort order of your products within a category, this will be your solution:
// disable/enable for based on product sort order
if ((IS_ADMIN_FLAG == false && $_SESSION['cart']->in_cart_check('products_sort_order','1') > 0)) {
// show shipping method
$this->enabled = true;
} else {
// hide shipping method
$this->enabled = false;
}
so, for example, if you are drop shipping like me, then have all product sort orders from one vendor be 1
and the next vendors products be sort order 2 and so on.
this can be updated in mass via .csv directly from the database tables export/import feature..
add this to whatever shipping method you want to use and only that will show up for that vendor..
now, if a customer adds products from multiple vendors then you have to have some sort of flat rate or table based on price for mixed products in cart. this is the only solution i've found, it's not very creative, but it gets the job done.
i hope this helps, i've been pulling my hair out on this issue like a lot of you..
oh! and to the developers, please look over the code and concept of this method.. let us know how we can improve it :smile: