• Resolved Wayne

    (@waynep16)


    Love the plugin, works well.

    I want to disable Christmasift on my WooCommerce checkout page (causes too much confusion)

    Can you provide a snippet please to do this?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • same here

    Plugin Author Cyber Fox

    (@cyberfoxdigital)

    Hi there,

    That’s a good idea; so try this if you can:

    In FTP go into the plugin folder, then to includes and edit class-cf-christmasification.php

    On line 169 add the following:

    
    		//Hide on WooCommerce checkout pages
    		if ( function_exists('is_woocommerce') && ( is_cart() || is_checkout() ) ) {
    			return TRUE;
    		}

    Let me know if it works and I’ll update the plugin with this in the near future

    Steve

    (@thewebsmiths)

    Do you have a snippet to only show the effects on the homepage please?

    Thanks for the quick answer!

    BTW: before your update grom yesterday it didn’t work perfect

    Decided to use the plugin without music and without santa: works perfect.

    https://fotogaaf.nl/product-categorie/uw-kind-als-elfje-op-de-foto

    • This reply was modified 4 years, 3 months ago by fotogaaf.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Hide on a per page basis?’ is closed to new replies.