• Resolved mcdeth

    (@mcdeth)


    Hello, how can I read inside php function value of ean number in following example?

    <product id="xxx">
       <sizes>
          <size id="yy" ean="ean-number"></size>
       </sizes>
    </product>
Viewing 1 replies (of 1 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @mcdeth,

    Assuming you’re importing the “product” element, you can access the EAN with this XPath:

    {sizes[1]/size[1]/@ean}

    To generate the XPath, you can click the “ean” attribute and drag it into the import template.

    As far as PHP functions, our free plugin doesn’t support them, and we can only help with our free plugins on this forum, so you’d have to contact us about that here: https://www.wpallimport.com/support/.

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