EAN and Variation Swatches for WooCommerce plugin

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #84960
    Ben
    Guest

    Do this plugin works well with Variation Swatches for WooCommerce .

    Is there a way to “Ajax update” the EAN code on front-end product page when a variation is selected ? I cannot figure it out by myself

    #84961
    Tom Anbinder
    Moderator
    Plugin Support

    Hi Ben,

    Could you please let me know which “Variation Swatches for WooCommerce” plugin are you referring to? And if it’s paid – could you please send me its zip for testing (to [email protected]), or if possible, share an access to your site.

    As for AJAX – I could probably implement it, however, currently, we are doing it without AJAX. First we pass the required params (i.e. all variations EANs) to woocommerce_available_variation filter. Then in JavaScript, we can access the variation’s EAN by simply variation.ean.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.