- Download the modules Physical Fields and Commerce Physical Product
https://www.drupal.org/project/physical
https://www.drupal.org/project/commerce_physical
- Download the patch file #27 & #13. Use a program to patch the files. The module file gets changed, and commerce_physical.rules.inc gets created. Please find the patched files for Commerce Physical Product 7.x-1.x-dev 2015-Sep-19 enclosed
- Upload, overwrite and clear all caches.
- Now add a flat rate shipping service, give a name and save.
- Edit the component, and add a condition. You can now choose a weight condition (under a new section called 'commerce physical').
- To show this shipping option for weights under 5kg, just choose >, and then add 5 as a weight.
- To show this shipping option for weights between 5 and 10, first add a condition for '>5', then add an 'AND' condition, then add a final condition for ',10'.
Read more articles
- Log in to post comments