[Plugin: WooCommerce] Trigger variations dropdown with js (3 posts)

  1. after_midnight
    Posted 2 years ago #

    Hi guys!

    We're using woocommerce to sell colorboxes. For the products we almost only use the variable-product-option.
    Recently we added a Modal with all options, to choose the color from
    (next to the variations-dropdown).

    After an option is clicked, the slugValue is properly passed to the dropdown. But no event triggers, to populate the correct price.

    I already tried to fire the onchange() event of the dropdown but nothing happened at all.

    What kind of event has to be triggered and how?

    appreciate any help!

  2. imzeeshan
    Posted 2 years ago #

    What is your website, can I have a look.

    I am doing a form submit (non ajaxy way for now ) on my shop - see sample - http://nestopia.com/shop/product/washington/

  3. after_midnight
    Posted 2 years ago #

    I tried form.submit(); too, but this moves the selected product right away to the cart.
    What I need is a way to simulate a selection change on the variation dropdown.

    (my shop page is in german, btw.)

Topic Closed

This topic has been closed to new replies.

About this Topic