We all know that Drupal Commerce is really flexible. If you want variable pricing dependant upon location, csutomer type or basket size, no problem. However, some areas of Drupal Commerce do require not only relatively specialist knowledge, but also coding to give the required outcome. We recently had an interesting problem through Cambridge Digital Academy, wherein they were looking at displaying discounts at the checkout form. By default the order of display is:
Most Drupal Commerce sites, one would think, are likely to want to send emails to their customers detailing the contents and total cost of their order for confirmation purposes. However, it can be surprisingly difficult to show all of the information required, so I thought I'd write something down to make sure I have something to refer to next time this comes up!
By default, the tokens available to the commerce mail module only show each individual line item and the order total. There is no separate token to show taxes or shipping costs, which is very confusing for the customer.
All sorts of fun this week at Will Hall Online trying to use the Drupal Commerce Feeds module to import several hundred images on to a site. Initially our thoughts had been to manage file uploads via the IMCE module, but once the data requirements of our client became clear it was apparent that a more efficient solution was needed. Here's what we did: