Videos

Drupal Commerce: Using Feeds Tamper to change Dollars/Cents to Minor Units

Date Published: 
06/28/2011
Duration: 
05:50

When you're importing products into Drupal Commerce, you have to import prices as "minor units". In the US this would mean "cents", not "dollars and cents". So Commerce Feeds wants "11000" instead of $110.00. This screeencast uses the excellent Feeds Tamper to transform 110.00 into 11000 before it gets imported.