Jump to content

OR instead of AND displaying shipping methods in order


Recommended Posts

I have got a particular product, that requires a special type of shipping. I want to make this shipping visible only when this product is in Cart. Let's call it product X. 

 

a. when someone buys product A, it shows all carriers except this special type
b. when someone buys product X, it shows all carriers + this special one

c. when someone buys products A and X together, it shows all carriers + this special one (like in b.)

 

I assume it's a matter of changing a SELECT function in a particular class, to get OR condition instead of AND, but i have absolutely no idea where to find it :(

I hope my problem is clear, thanks for help.

Link to comment
Share on other sites

×
×
  • Create New...