• Resolved tenev30

    (@tenev30)


    Flatsome theme – Quick View bug with Simple Product Options. When i click Quick View with working Siple Product Options plugin result is this:

    Uncaught TypeError: jQuery(…).pofwProductOptions is not a function
    at eval (eval at <anonymous> (jquery.js?ver=1.12.4-wp:2), <anonymous>:18:35)
    at eval (<anonymous>)
    at jquery.js?ver=1.12.4-wp:2
    at Function.globalEval (jquery.js?ver=1.12.4-wp:2)
    at Ga (jquery.js?ver=1.12.4-wp:3)
    at a.fn.init.prepend (jquery.js?ver=1.12.4-wp:3)
    at a.fn.init.n.fn.<computed> [as prependTo] (jquery.js?ver=1.12.4-wp:3)
    at b.open (flatsome.js?ver=3.10.2:62)
    at Object.open (flatsome.js?ver=3.10.2:62)
    at Object.success (woocommerce.js?ver=3.10.2:7)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Pektsekye

    (@pektsekye)

    Hello,

    Try to replace the code:

    
        if (is_singular('product')){  
          wp_enqueue_script('pofw_product_options', $this->_pluginUrl . 'view/frontend/web/product/main.js', array('jquery', 'jquery-ui-widget'));
          wp_enqueue_style('pofw_product_options', $this->_pluginUrl . 'view/frontend/web/product/main.css');		  		  			
        }
    

    with:

     
          wp_enqueue_script('pofw_product_options', $this->_pluginUrl . 'view/frontend/web/product/main.js', array('jquery', 'jquery-ui-widget'));
          wp_enqueue_style('pofw_product_options', $this->_pluginUrl . 'view/frontend/web/product/main.css');		  		  			
    

    in the file:
    wp-content/plugins/product-options-for-woocommerce/product-options-for-woocommerce.php

    Stanislav

    Thread Starter tenev30

    (@tenev30)

    This working perfect. Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Flatsome theme – Quick View bug with Simple Product Options’ is closed to new replies.