• Resolved foxinbox

    (@foxinbox)


    Hi!

    i’ve XML with data, that contains information about tax.
    I created 2 tax classes with WooCommerce:
    Standard – 23% and Reduced Rate – 8%

    My XML contains value of the tax – ex. 8
    I need to change class tax based on that value.

    XML looks like that:
    <product>
    <tax>
    <value>8</value>
    </tax>
    </product>

    How can i achive that with Xpath? Or maybe it is another way to do it?

    Regards

Viewing 1 replies (of 1 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @foxinbox,

    How can i achive that with Xpath? Or maybe it is another way to do it?

    As long as the value is also the slug, you can import it via the “Set tax class with XPath” option in the “General” tab of our WooCommerce Add-On, see: https://d.pr/i/wDgtn9.

Viewing 1 replies (of 1 total)
  • The topic ‘Tax Class’ is closed to new replies.