Hi,
If you set the quantity to unlimited in your products, the quantity will be removed in the XML file automatically.
Now, if you want to provide no quantity in the XML file while still having a quantity in HikaShop, you could either:
- if you run the plugin manually to retrieve the XML file before uploading it you Google, you could open the XML with notepad++ and run a search and replace regex to remove the tag for all the products.
- if you run the plugin automatically with a cron, you'll have to remove the code:
if($product->product_quantity != -1){
$xml .= "\t".'<g:quantity>'.$product->product_quantity.'</g:quantity>'."\n";
}
in the file plugins/hikashop/google_products/google_products.php
Note however that the modification will be reverted after each update of HikaShop, so you'll have to reapply it.