• Hi,
    I’m working on a price comparison website and I compare prices by SKUs so, your plugin can generate the same SKUs which have similar product Titles?

Viewing 15 replies - 1 through 15 (of 26 total)
  • Plugin Author Dan Zakirov

    (@alexodiy)

    Hello.

    I can make a function in the plugin add “Allow identical SKUs”.

    You can also allow same SKUs using wc_product_sku_enabled filter like this:

    add_filter('wc_product_sku_enabled', '__return_false' );

    But be sure to write if this is needed in the plugin, it will help us a lot.

    Thread Starter sucost

    (@sucost)

    Hi,

    Thank You very much.

    How can I install this line of code because I’m a non-coder and please give me the path to install?

    Thread Starter sucost

    (@sucost)

    I forget to ask, it can generate similar SKUs of the same products and I have thousands of products so, generate in bulk?

    Plugin Author Dan Zakirov

    (@alexodiy)

    By applying this function, the plugin will be able to generate the same SKU…

    Regarding the code, just insert this line at the end of your theme’s root functions.php file

    /wp-content/themes/--your--themes--/functions.php

    But then again… I can add this filter directly to the plugin. Should I do that?

    Thread Starter sucost

    (@sucost)

    Okay again thank you.

    (But then again… I can add this filter directly to the plugin. Should I do that?) I don’t understand what you mean?

    Plugin Author Dan Zakirov

    (@alexodiy)

    @sucost

    Let me in the settings of the plugin put a new parameter “Allow duplicate SKU” and with the checkbox on, everything will work as you want

    Thread Starter sucost

    (@sucost)

    I don’t import the SKUs I simply use your plugin to generate SKUs?
    I have a query, How your plugin find that this is same product and add same sku?

    Plugin Author Dan Zakirov

    (@alexodiy)

    I’m a little confused about the task right now. Do you want to import SKUs?

    If the product name is the same as another product, when you use the filter I wrote above, the plugin will create the same SKU

    Describe the task more precisely

    Thread Starter sucost

    (@sucost)

    I import the products using the External importer pro plugin and didn’t import SKUs.

    If the product name is the same as another product, when you use the filter I wrote above, the plugin will create the same SKU.

    I take Amazon as my base affiliate store, first, I import thousands of products from Amazon and then import products from small online stores so that products get in line.

    Can this filter find products automatically and add SKU?

    Plugin Author Dan Zakirov

    (@alexodiy)

    sucost (@sucost)

    If the name is the same, then in theory, everything should work. I wanted to add this filter for a long time, within 24 hours I will do, so if you can be patient, I will update the plugin

    Thread Starter sucost

    (@sucost)

    Thank you for your help.

    Plugin Author Dan Zakirov

    (@alexodiy)

    You can download an updated version of the plugin and the “Duplicate SKUs” checkbox will appear in the settings

    Thread Starter sucost

    (@sucost)

    Hi,
    It didn’t work.

    Product Name:
    1) Charcoal Face Wash with Activated Charcoal and Coffee for Oil Control – 250ml SKU: SU_789867984
    2) Mamaearth Charcoal Face Wash with Activated Charcoal & Coffee for Oil Control (250) SKU: SU_325559667

    These are the results.

    Help me.

    Plugin Author Dan Zakirov

    (@alexodiy)

    And how did you want it? What should be the right result?

    Plugin Author Dan Zakirov

    (@alexodiy)

    The products clearly don’t match the name, and besides, I thought you were going to generate by slug… I think in this case you need a custom solution.

    For example, you need to make a function that will check the name of the previous generated product and if, for example, at least 2 or 3 words match the name of the previous generated product, you need to set the SKU value of the previous product.

    I could help, I’ll try to think of something, but I need time to do it.

Viewing 15 replies - 1 through 15 (of 26 total)
  • The topic ‘Duplicate the SKUs which have similar Product Title.’ is closed to new replies.