quaker-tech / wf-features

Features for the Western Friend website. Built with Drupal.
GNU Affero General Public License v3.0
0 stars 0 forks source link

Group subscriptions should have no shipping cost #152

Open brylie opened 7 years ago

brylie commented 7 years ago

When checking out with group subscriptions, there should be no shipping cost.

brylie commented 7 years ago

Related SO question: https://stackoverflow.com/questions/45846762/variable-shipping-cost-based-on-product-type-in-drupal-commerce

brylie commented 7 years ago

One sticking point in this issue is related to calculating shipping costs.

The group subscriptions share the shopping cart with book orders. The group subscription should have no shipping cost, but is being counted during the shipping cost calculation.

I have experimented quite a bit with shipping calculation rules, but cannot figure out how to calculate shipping cost based on product type. After researching and watching several videos, I found the following discussion/issues:

I tried Conditional Rules, but got a 404 error when adding a new 'if' condition to the Drupal Commerce calculation rule.

brylie commented 7 years ago

I opened another issue with Drupal Commerce, asking for the rule to be added to Commerce core:

https://www.drupal.org/node/2905893#comment-12242166