Restrict Shipping Methods by Product Category

Courier companies require merchants to comply with specific policies for certain types of products, such as “dangerous goods”. Depending on the shipping destination, shipping method, and package contents, a courier company may refuse to ship an order or may have specific pricing, packaging, handling, or forwarding requirements.

In the following example, Zone A Standard and Zone B Standard are restricted when a shipping package contains products from the Batteries category:

Exclude shipping methods from multiple Zones when shipping Batteries.

Restrict Payment Gateways by Shipping Method

Depending on what you are selling and how, compliance with Payment Gateway terms and conditions may require some effort on your part as some payment service providers may:

  • refuse to process payments for specific types of products, or
  • require merchants to present some kind of proof-of-shipment in order to resolve disputes that may arise between buyers/sellers, such as shipment tracking IDs.

In the following example, a Payment Gateway restriction is created to prevent customers who choose the Unregistered Postal Delivery shipping method from paying with PayPal:

Exclude PayPal when shipping via Unregistered Postal Delivery.


For more information see here https://woocommerce.com/document/woocommerce-conditional-shipping-and-payments/