Support » Plugin: ATUM Inventory Management for WooCommerce » Same SKU in two product pages

  • Resolved gbasterra


    Hello Salva,

    I have a little problem with the supplier SKU. The product with the SKU is the same (is an unisex product with only one stock) but I have created two product pages withe the same product (men and women) so I can include the images of men in one of the pages and women in the other page.

    I found a filter for using the same sku in woocommerce:

    add_filter( ‘wc_product_has_unique_sku’, ‘__return_false’ );

    But now, when I use ATUM´s supplier SKU I cannot use the same SKU in the two product pages. Any idea of how can I solve this problem?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Salva Machi


    Hi @gbasterra

    Technically, an SKU must be unique (at least when the stock is managed in the right way).
    But we understand that some sites can need special configurations.

    To do so you can use this filter:

    add_filter( 'atum/model/product/supplier_sku_found', '__return_false' );

    Best Regards,

    Thread Starter gbasterra


    Thank you very much Salva, it works great.

    I know it is unusual in a store to have duplicate SKUs but it is really the same product with same stock but I have not found another way to do it to be able to display two pages with the photos of men and women respectively. I will control the stock with a plugin that allows two products to be linked by centralizing the stock so that it is the same for both men and women.

    Plugin Author Salva Machi


    I understand.
    Good to know that it worked 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.