Woocommerce - Is there a way to show/ hide shipping methods based on product brand and stock count?

Viewed 15

Looking for help, I have an online shop, and I would like to adjust shipping methods depending on the product the customer chooses. The shop is located in Portugal.

Basically, I would like to create a set of rules:

Products from brands A and B can be shipped everywhere, from brand C only to Portugal.

Product rules: If the product's stock count is more than 0 - local pick-up is available if it's "in stock," there is another method with local pick-up in 5-6 days.

An additional rule for Brand C - If the product's stock count is more than 0 - local pick-up is available, and shipping is available everywhere if it's "in stock," there is another method with local pick-up in 5-6 days and shipping available in a long time.

I'm using flexible shipping ( basic version, can upgrade if needed), and Perfect Brands for WooCommerce.

Do you guys think it can be done by PHP? Or should I mix some kind of coding with other plugins?

0 Answers
Related