Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Daniel Iser

    (@danieliser)

    @carolineelisa – I have been working on this for future versions, but currently you will need to do it via filters.

    This can be customized to use any checks you want such as Woo Conditionals https://docs.woothemes.com/document/conditional-tags/

    function mycustom_popup_is_loadable( $is_loadable, $popup_id) {
    	if( $popup_id == 1516 && is_woocommerce() ) {
    		return true;
    	}
    	return $is_loadable;
    }
    add_filter('popmake_popup_is_loadable', 'mycustom_popup_is_loadable', 1000, 2 );

    hope this helps.

    We are working to build this into future versions.

    Please take a moment to rate and review the plugin and or support.

    Just insert this into the wordpress theme’s function.php file?

    Located in: wp-content/themes/themename/functions.php

    Plugin Author Daniel Iser

    (@danieliser)

    @seanturner – correct. You need to change the id(1516) to match your popups ID.

    Plugin Author Daniel Iser

    (@danieliser)

    @carolineelisa – Better woocommerce support was added in v1.3. Check that out and you should no longer need these custom filters.

    Closing this ticket due to inactivity. If your still having an issue post here and we will continue troubleshooting.

    Please take a moment to rate and review the plugin and or support.

    Thread Starter CarolineElisa

    (@carolineelisa)

    Hi again, sorry for lack of reply earlier.

    I now have the latest version of Popup Maker installed and we still do not see the popup on the shop page.

    I also tried using the following in my functions.php file, but it doesn’t help:

    function mycustom_popup_is_loadable( $is_loadable, $popup_id) {
    	if( is_woocommerce() ) {
    		return true;
    	}
    	return $is_loadable;
    }
    add_filter('popmake_popup_is_loadable', 'mycustom_popup_is_loadable', 1000, 2 );

    Thanks.

    Plugin Author Daniel Iser

    (@danieliser)

    @carolineelisa – v1.4 should resolve that. It has more WC conditions and we will be adding even more in v1.4.1

    The beta is available now and should be out soon.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Popup not appearing on WooCommerce shop page’ is closed to new replies.