• Resolved ivanness

    (@ivanness)


    Good evening and thanks for this great plugin!
    I need help. On my site I have two products with different sku but a unique ean code. These products are connected to an external csv which should update the quantities in stock of both products that have the same ean code and the same number of pieces in stock. When I try to update the two products with the custom field ean wp all import it only updates one of the two products while the other ignores it.
    Is there a way to update both products with the same record?
    A thousand thanks

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

    (@wpallimport)

    Hi @ivanness,

    Is there a way to update both products with the same record?

    We don’t have built-in options for that, but you can achieve it with custom code and our API: http://www.wpallimport.com/documentation/developers/action-reference/. The idea would be to hook into ‘pmxi_saved_post’ so that you can look up all of the other products with the EAN that was just updated, then programmatically update them with the data in the $xml_node parameter.

    Plugin Author WP All Import

    (@wpallimport)

    Hi @ivanness,

    I’m marking this as resolved since it’s been inactive for a month. Feel free to open up a new topic if you still have any questions.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Update two products with one record’ is closed to new replies.