Support » Plugin: YITH WooCommerce Compare » Compare by all attributes

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter infokurs

    (@infokurs)

    Ok, I got it.

    class.yith-woocompare-helper.php
    need to add custom attributes in public static function standard_fields()

    class.yith-woocompare-frontend.php
    need to add in public function get_products_list(), to default case, after else

    $attributes = $product->get_attributes();
    $attribute = $attributes[$field];
    $product->fields[$field] = $attribute['value'];

    senatorman

    (@senatorman)

    Hi,

    This is what i was looking for.

    I only don’t understand exactly which files i have to edit.

    Can you explain this modification easier?

    Greetings Senatoman

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Compare by all attributes’ is closed to new replies.