We are having trouble with syncs to our external ordering system.
When the orders.php file was written, our store was showing pricing inc VAT, but now we have changed in customer groups to show prices ex VAT. As a result, as below the orders are pulling through at T0 tax code.
<SalesOrderLine>
<eCommerceCode>120G-120G-07</eCommerceCode>
<Code>120G-120G-07</Code>
<Quantity>1</Quantity>
<eCommerceItemID>516</eCommerceItemID>
<ItemGross>10</ItemGross>
<TaxCode>T0</TaxCode>
</SalesOrderLine>
Would someone be able to advise where to change this? In the orders.php file it shows the below (I did change tax_incl to tax_excl to see if it would make a difference)
$order_details->order_lines[] = array(
"sku" => $sku,
"ecommerce_code" => $sku,
"variant_code" => $sku,
"external_item_id" => $line_detail->id_order_detail,
"quantity" => $line_detail->product_quantity,
"item_gross" => $line_detail->unit_price_tax_excl,
"vat_code" => $format->GetVatCode($line_detail->tax_rate)
Would it be the _product_line.tpl file that needs changing instead of the orders.php?
Many thanks in advance!