Check alle échte Black Friday-deals Ook zo moe van nepaanbiedingen? Wij laten alleen échte deals zien
Toon posts:

BTW aanpassen e-mail wordpress/woocommerce

Pagina: 1
Acties:
  • 210 views

Verwijderd

Topicstarter
Op dit moment ziet mijn totaal bedrag er op mijn factuur in woocommerce er zo uit:
Bestelling totaal: €x (inclusief €y BTW)

Hoe kan ik het volgende er van maken:
Subtotaal van bestelling: €z
BTW: €y
Bestelling totaal: €x

Zo heb ik het nu:

<tfoot>
<?php
if ( $totals = $order->get_order_item_totals() ) {
$i = 0;
foreach ( $totals as $total ) {
$i++;
?><tr>

<th scope="row" colspan="2" style="text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['label']; ?></th>

<td style="text-align:left; border: 1px solid #eee; <?php if ( $i == 1 ) echo 'border-top-width: 4px;'; ?>"><?php echo $total['value']; ?></td>

</tr><?php
}
}
?>
</tfoot>
Alvast bedankt!

  • NMe
  • Registratie: Februari 2004
  • Laatst online: 20-11 11:59

NMe

Quia Ego Sic Dico.

Ik zie geen vraag, dus ik ga er maar vanuit dat je nu verwacht dat wij wel even je code voor je aanpassen? Zo werkt het hier dus niet he? ;) Zie ook het hoofdstukje "Kan iemand even...?" in onze FAQ. In deze vorm gaan we je dus niet helpen. Zie ook De Quickstart.

Daarnaast zit je topic in het foute subforum (Waar hoort mijn topic?) en is code posten tussen quotes ook niet erg handig (Hoe post je code? / Hoe gebruik je de code tag?).

'E's fighting in there!' he stuttered, grabbing the captain's arm.
'All by himself?' said the captain.
'No, with everyone!' shouted Nobby, hopping from one foot to the other.


Dit topic is gesloten.