As described in this post I'd like to invert the row between shipping service and VAT calculation.
I don't know how to use that hook... Can someone tells me more?
EDIT: I followed the example. I created the module, it's active and running but I see that nothing happens.
I tell you what I did (it's all in italian): - Created posizione_iva.info file with this content
core = "7.x" description = "Modulo che sposta la riga dell'IVA dopo tutti i valori imponibili." name = "Posizione IVA"
- Created posizione_iva.module and copied the function
I have a doubt about this condition
if (substr($name, 0, 3) == 'iva')
Where can I find the right component name? I tried vat, VAT, iva, tax...
I use the default Drupal Commerce Kickstart installation and the "tax" module.