Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
Is there a way to calculate the shipping cost so that it shows that information in the shopping cart, not only in the checkout page?
Comments
Comment #1
CaptainPinkey CreditAttribution: CaptainPinkey commentedHey
I have the same problem as you, I don't need a selection of service or anything else in the checkout pane. I just want to calculate the shipping rate if the cart is shown or updated. I played a lot with the rules etc but nothing worked, maybe I try to build a light weight version of shipping with only the things I need. So that you have only one function for calculating the shipping rate an thats it.
Comment #2
msarmiento CreditAttribution: msarmiento commentedI have the same problem
Comment #3
rockaholiciam CreditAttribution: rockaholiciam commentedalso looking into it...any tips in the meantime would be appreciated.
Comment #4
zmove CreditAttribution: zmove commentedsubscribing to this
Comment #5
rockaholiciam CreditAttribution: rockaholiciam commentedSince the checkout block is a view, change the view footer to commerce line item summary from commerce order total.
Comment #6
mglamanWould this serve better as a contrib that extends Commerce Shipping? Essentially all that has to be invoked is
commerce_shipping_collect_rates
with an order.A contrib would also allow easier management for extra features around this functionality. For example, allowing zip code geolocation to allow FedEx/UPS/USPS rate calculation.
Comment #7
googletorp CreditAttribution: googletorp commentedComment #8
mglamanFollow up for those following; See Commerce Cart Estimate https://www.drupal.org/project/commerce_cart_estimate
Comment #9
radamiel CreditAttribution: radamiel commentedhttps://www.drupal.org/project/commerce_cp - Commerce Cart Pane allows to add Shipping and Coupon panes on cart page as well as create custom panes for cart page.
Comment #10
sambathbask CreditAttribution: sambathbask as a volunteer commentedHi All,
I also suffered from the same issue...
but I'm using Ubercart and Drupal 8 version. Is there any solution for this problem. It might be much helpful for me.