for my woocommerce e-shop i use WpAllImport plugin for importing my products with their variations. Typically one product with the variations is shown below
The parent product has no price/sale price values and the price/sale price values are all the same for all variations.
Now i want to export an xml file with only my parents products with WpAllExport plugin. As there is no price/sale price values the tag <price> </price> and <sale price> </sale price>is return empty with no values.
I realise that i need php function for the export to pass any variation price/sale price to parent product price fields.
Does someone help me with the php function i have to write?
Thank you in advance