Closed (works as designed)
Project:
Commerce Flat Rate
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Dec 2011 at 04:02 UTC
Updated:
6 Mar 2013 at 17:48 UTC


Comments
Comment #1
daniel kulbeThis possibility is available in commerce_shipping module an will be displayed as your second variation. But commerce flatrate has no callback "details_form".
It is possible to add the flatrate details as markup! It will change on the flatrate service selection.
Comment #2
daniel kulbeHere is my solution:
Hope you put it into future releases!
Comment #3
dedek commentedYes, showing details next to shipping choice would be really perfet feature.
Comment #4
kurtfoster commentedI would also love to have this feature. It would then be very easy to provide a description of the different shipping services to the user at checkout time so they know what they are choosing.
Comment #5
srgk commentedthis feature will be very useful
Comment #6
rszrama commentedShipping 2.x does indeed support such a feature through its shipping service details form callbacks, it just isn't part of the Flat Rate module by default. There are simply too many configurations for us to know what core feature to add in, so right now it's best for developers to extend the module themselves through hook_commerce_shipping_service_info_alter(). You can look at the Shipping Method Example module for how to use the callbacks.
Comment #7
giorgoskI used following code to put the description of each shipping item after the DISPLAY TITLE
this only happends in the checkout page (not review and cart pages)
hope someone finds it usefull
Comment #8
imiksuThanks @GiorgosK for sharing the snippet. It works, but I recommend to wrap the
$shipping->data['shipping_service']['display_title']and$shipping->data['shipping_service']bycheck_plain()function.Thanks!