Pricing

Pending

Import WP Addon - WooCommerce Updated 1 week ago 1 Reply

NIKOLAOS asked 1 week ago on June 17, 2025 at 8:43 am

Hello 


I want to mark up the buying price from the xml file by % and add 24% VAT. How I can  do that? 

Thanks in advance.

J

James replied Support Agent

1 week ago on June 17, 2025 at 8:48 am

Hi Nikolaos,

You can use a custom php function to take a value, add your % and then add 24% vat, when you have added your function to your website, you can then use it in your importer, by replacing the csv / xml selection e.g. {1} in the importer with your custom function for example called my_custom_func , you would replace {1} with [my_custom_func("{1}")].

An example of using a custom function can be found here: https://www.importwp.com/docs/modifying-dates-using-custom-methods/

James