• Resolved bartekduls

    (@bartekduls)


    Hello, I have a problem.

    I am updating products (stock) on WooCommerce from an xml file with this method: https://www.wpallimport.com/documentation/syncing-stock/.

    Everything works very well but the problem is when the wholesaler changes the SKU to another, Then it creates duplicate products for me. How can I search products not by _sku but for example by attribute “Manufacturer code:”. This code does not change and then I would have the SKU updated to the new one in case of change.

    Regards

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

    (@wpallimport)

    Hi @bartekduls,

    How can I search products not by _sku but for example by attribute “Manufacturer code:”.

    Unfortunately, that would require a custom inline PHP function, which is not supported by our free plugins.

    Is it possible for you to copy the manufacturer code values into custom fields for the products so you can match by that custom field instead of _sku?

    Thread Starter bartekduls

    (@bartekduls)

    It doesn’t search. I tried pa_manufacturer-code, attributes:pa_manufacturer-code and many others and unfortunately attributes does not search.

    Plugin Author WP All Import

    (@wpallimport)

    Hi @bartekduls,

    It doesn’t search. I tried pa_manufacturer-code, attributes:pa_manufacturer-code and many others and unfortunately attributes does not search

    Unfortunately, that’s true. We don’t have a built-in option for searching by an attribute value in an “Existing Items” import. It requires custom code, which our free plugin doesn’t support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Syncing Stock Levels – New SKU’ is closed to new replies.