Home Forums WoodMart support forum Problems with linked products

Problems with linked products

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #410626

    metuza
    Participant

    Hello,

    Is there any limits for how many products that can be linked as variants? I have setup 5 linked variations and 3 of them works very well and 2 of them not. The 2 that has problems has both 11 variants. The problem is that the active swatch is not highlighted.
    https://www.villmarksbua.no/produkt/fritidsutstyr/pa-kalde-dager/igloo-termo-30c-str-50/
    https://www.villmarksbua.no/produkt/fritidsutstyr/pa-kalde-dager/igloo-innersokker-30c-str-50/

    On this product it works ok:
    https://www.villmarksbua.no/produkt/fritidsutstyr/pa-kalde-dager/kartanker-av-tova-saueull-45-46/

    Another thing, what is the action hook / priority for the linked variants form? I need to move it down a bit to get it into same position as standard variable products.

    Brgds
    Rune

    #410631

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Could you please send us your admin access so we can check what is wrong there?

    Thank you in advance.

    #410644

    metuza
    Participant

    Hello,

    Here we go, find it attached.

    #410788

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    We have fixed this issue on your website. Please, check from your end.

    Kind Regards

    #410812

    metuza
    Participant

    Hello,

    Yes i have seen it, looks good thank you.

    But do you have an action hook etc. as i should have moved it a little bit down?

    Brgds
    Rune

    #410863

    Artem Temos
    Keymaster
    Xtemos team

    Hello,

    Here is a custom hook for this task

    add_action( 'init', function() {
        remove_action( 'woocommerce_single_product_summary', [ XTS\Modules\Linked_Variations\Frontend::get_instance(), 'output' ], 25 );
        add_action( 'woocommerce_single_product_summary', [ XTS\Modules\Linked_Variations\Frontend::get_instance(), 'output' ], 55 );
    }, 10);

    Kind Regards

    #410898

    metuza
    Participant

    Thank you, works great.

    Brgds
    Rune

    #410930

    Artem Temos
    Keymaster
    Xtemos team

    You are welcome!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Problems with linked products’ is closed to new replies.