Viewing 15 replies - 1 through 15 (of 19 total)
  • Plugin Author Steve Truman

    (@a3rev)

    @bolivares

    https://www.coreytegeler.com/bolivares/storefront/

    The gallery cannot work without WooCommerce installed and activates and at least 1 product published

    https://www.coreytegeler.com/bolivares/storefront/

    Thank you

    Thread Starter Corey

    (@bolivares)

    Sorry I was just reinstalling it, should be up in a minute

    Thread Starter Corey

    (@bolivares)

    Back online

    Plugin Author Steve Truman

    (@a3rev)

    @bolivares

    I do not see the WooCommerce Dynamic Gallery activated?
    https://www.coreytegeler.com/bolivares/shop/pablo-ribbed-winter-skully-4/

    My God that Sign-up pop that comes up each time you click on a product is annoying.

    Thread Starter Corey

    (@bolivares)

    Sorry about that, didn’t realize that I needed to fix a few things after the reinstallation. Both of those issues should be fixed now, but I still can’t get the plugin working correctly

    Thread Starter Corey

    (@bolivares)

    Have you checked it out yet?

    Thread Starter Corey

    (@bolivares)

    I’ve installed the update and still having these issues

    https://www.coreytegeler.com/bolivares/shop/salvador-crewneck-sweater-3/

    Plugin Author Steve Truman

    (@a3rev)

    @bolivares

    Looked at your site – you have many issues with the site because either the theme you are using or a plugin is filtering or removing this action wp_enqueue_script() in the footer.

    Dynamic gallery cannot work without that filter
    Normally WooCommerce will include checkout.js script into this page but I don’t see any script of WooCommerce on your product pages.

    You will see your site can’t load State when you change from United State to Australia
    You also can’t hide Shipping Information when you tick on Ship to billing address? field
    You also can’t hide create account when untick on Create an account?

    Please sort that out and you will find not only our Plugin but the WooCommerce plugin will work as it should. Thank you

    Thread Starter Corey

    (@bolivares)

    Wow thanks so much for that! Do you think if I search for wp_enqueue_script() in all of my WordPress directories saved on my computer it’ll appear in a file visible for me to remove or alter?
    Really appreciate the help!

    Plugin Author Steve Truman

    (@a3rev)

    You actually need to work out why it is removed or filtered or was ever in the theme – because if something has removed it or filtered it – it will just happen again

    Thread Starter Corey

    (@bolivares)

    Ok thanks again, I’ll look into it when I get the chance to hop on my computer. Haven’t had this much hope in the month this issue has been occurring for.

    Plugin Author Steve Truman

    (@a3rev)

    If you used a Premium WooCommerce ready theme you would not have this issue – Free is great – But – as you have discovered you can waste days even in your case a month of time and untold frustration.

    Thread Starter Corey

    (@bolivares)

    Client changed e-commerce platform after developing most of the site and I honestly had no idea it would be a problem. Kind of a beginner haha

    Thread Starter Corey

    (@bolivares)

    Ok so in functions.wp-scripts.php I’ve found the following code very similar versions repeated throughout:

    function wp_script_is( $handle, $list = 'enqueued' ) {
    	global $wp_scripts;
    	if ( ! is_a( $wp_scripts, 'WP_Scripts' ) ) {
    		if ( ! did_action( 'init' ) )
    			_doing_it_wrong( __FUNCTION__, sprintf( __( 'Scripts and styles should not be registered or enqueued until the %1$s, %2$s, or %3$s hooks.' ),
    				'<code>wp_enqueue_scripts</code>', '<code>admin_enqueue_scripts</code>', '<code>init</code>' ), '3.3' );
    		$wp_scripts = new WP_Scripts();
    	}
    
    	return (bool) $wp_scripts->query( $handle, $list );
    }

    Could the problem lie somewhere in this file? I could send over the rest of the scripts if the above isn’t sufficient enough.

    Thread Starter Corey

    (@bolivares)

    Also found a list of wp_enqueue_script in functions.php calling several .js files which I commented out at one point because they were causing other errors and have not caused any additional problems when they were working. The add to cart button as well as the gallery weren’t working before that either.

    I’ve removed the comment tags so that part is back online, although not sure if that was the exact issue you spoke of.

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘[WooCommerce Dynamic Gallery] Undefined variable’ is closed to new replies.