- Issue created by @khiminrm
Hi! I've noticed when using the module, the shipping method plugin applies() method is ignored.
Add custom shipping method plugin or use shipping plugin with not empty logic in the 'applies' method.
Create shipping method and use the plugin.
Test if applies method from the plugin is executed.
Use similar condition from Drupal\commerce_shipping\Entity\ShippingMethod::applies()
in Drupal\commerce_conditions_plus\Entity\ShippingMethod::applies():
if ($this->getPlugin() && !$this->getPlugin()->applies($shipment)) {
return FALSE;
}
Active
2.0
Code