• Hello, I want it to be easier to add a product. Can I automatically select a product category and parameters (brand, size, color) based on the product name or description? I use the WCFM-category category hierarchy for categories

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author WC Lovers

    (@wclovers)

    What will be logic behind this association?

    Thread Starter adio93

    (@adio93)

    We have 15 categories and 2000 subcategories, and this is not the limit, the idea is that… When a seller enters a product name, he is prompted to select a category and immediately a subcategory, and he has already selected a category in 1-2 clicks. … Selecting a category takes no more than 5 seconds. Our Russian sites https://krsk.au.ru/ and https://www.avito.ru/ have had this function for a long time. I personally, as a seller on these sites, say that it is very convenient

    I did not subscribe to this topic and received notifications. Please get my email out of here

    Plugin Author WC Lovers

    (@wclovers)

    @dsnilo we can not do so. You have such a “Unsubscribe” button for the topic. Click on that – https://ibb.co/yqmZGmV

    @adio93, try this addon – https://drive.google.com/file/d/1vrxY0wuGRvZ5ZvusZbWzw-jLbf0dYwUa/view?usp=sharing

    Thread Starter adio93

    (@adio93)

    I am already using this addon, I suggest adding name based category suggestions to it

    Thread Starter adio93

    (@adio93)

    I have enabled the ability to add categories by providers, when using the wcfm-category-hierarchy addon, a category cannot be added, there is no add button

    Plugin Author WC Lovers

    (@wclovers)

    NO, this addon does not allow vendors to add new category.

    In fact, only category checklist view allow to add new category, not drop down view!

    Thread Starter adio93

    (@adio93)

    Hello, we were able to display always-on product attributes using the code:

    add_filter (‘wcfm_product_custom_attributes’, function ($ taxonomy_fields, $ att_taxonomy) {
    if (isset ($ taxonomy_fields [$ att_taxonomy]) && isset ($ taxonomy_fields [$ att_taxonomy] [‘value’])) {
    $ attributes = $ taxonomy_fields [$ att_taxonomy] [‘value’];
    $ wcfm_attributes = array ();
    if (! empty ($ attributes)) {
    foreach ($ attributes as $ acnt => $ wcfm_attribute) {
    $ wcfm_attributes [$ acnt] = $ wcfm_attribute;
    $ wcfm_attributes [$ acnt] [‘is_active’] = ‘enable’;
    $ wcfm_attributes [$ acnt] [‘is_visible’] = ‘enable’;
    }
    }
    $ taxonomy_fields [$ att_taxonomy] [‘value’] = $ wcfm_attributes;
    }
    return $ taxonomy_fields;
    }, 50, 2);

    Do you have a code to auto-populate the attributes based on the product name?
    For example, I enter the name of the product “Xiaomi temperature and humidity sensor 2, black color”
    The brand attribute fills in “Xiaomi”. The color attribute fills “Black”. These attributes have already been added earlier.

    Plugin Author WC Lovers

    (@wclovers)

    Sorry, there is no such code snippet..

    Thread Starter adio93

    (@adio93)

    Please think about it, it really would be very convenient

    Plugin Author WC Lovers

    (@wclovers)

    Please implement this for WooCommerce default Add product page and share that snippet with me.

    I will convert that for WCFM add product.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Selecting categories based on the product name’ is closed to new replies.