There is a custom plugin to generate the feed for a product export in XML. I am trying to make the plugin obsolete and do it in the standard Shopware XML template.
The plugin e.g has data like:
$payload['purchase_price_gross'] = $purchasePrice?->getGross();
$payload['in_discount'] = $productPrice?->getListPrice()?->getGross() !== $productPrice?->getGross();
The question is if it’s possible to retrieve this data too in the XML template standard provided by Shopware for the Product Export Feed.
<product>
<price></price>
<purchase_price_gross></purchase_price_gross>
<purchase_price_net></purchase_price_net>
<in_discount></in_discount>
</product>