Ajouter un commentaire

Soumis par Joan (non vérifié) le 05/10/2018 à 18:21 - Permalien

Hi, I'm trying to set up taxes for a site, and I wonder what is the $rate_id of my spanish VAT super reduced type...

I think reduced vat type has $rate_id=reduced
from this example:
switch ($product_type) {
case 'book':
$rate_id = 'reduced';
break;
In fact, if I inspect the code of European VAT types admin page, I get:
<tr data-drupal-selector="edit-configuration-european-union-vat-rates-table-20" class="odd">
<td>Super Reduced</td>
<td>4% (Since gen. 1st 1995)</td>
</tr>
18:18
Then, just, where is located the "european union vat rates table"?