I know this is an old thread but i still use this as opencart one seems to not work with my google base account, it always returns no brand.
However my feed has stopped working, i have altered my cart to add tax at the checkout so the product price is excluding VAT.
My problem is that this is calculating the overall total including VAT so google takes that price, then there bot checks my website and sees the price without VAT so they disapprove of the item.
From my understanding this is whats causing the problem :
Code: Select all
// Add price
$special = $p['special'];
$price = $this->tax->calculate(($special ? $special : $p['price']), $p['tax_class_id']);
$item->appendChild($this->_c('g:price', $price));
Any help on this matter would be much appreciated
Thanks