Using woocommerce. Most of my products are free shipping apart from 3 small items that I will charge postage. If the customer only buys a small product then postage is charged. If they only buy a large product it is free postage.
However, if the customer purchases a large product AND a small item the two products would be packed together and the postage would be free.
I added a snippet of code and placed it in function.php so only the 3 small items will be charged postage if purchased separately but I cannot get the other part sorted....if the customer buys a small product AND a large one no postage should be shown. At the moment if a large and small product is purchased postage is shown.
Can anyone point me in the right direction