• Thanks for this, Awesome plugin works with my theme as well.

    Only questions i have is, can we disable this on the home page? Would be awesome to only show it in the entire shop, cart, checkout and order received page and not the home page.

    Thank you again for this awesome plugin though!

Viewing 1 replies (of 1 total)
  • Plugin Author macarthurval

    (@macarthurval)

    Hello Chris, I’m really glad that you like it!

    For disable it at the home page, you have to edit the line 5 at steps-template.php in “/templates/”:

    if ( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )){

    change it by:

    if (( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )) && is_front_page()!=true){

    or if you want shot it only at woocommerce’s pages (disable in home, blog, etc), change it by this:

    if (( WC()->cart->get_cart_contents_count() != 0 || is_wc_endpoint_url( 'order-received' )) && is_woocommerce()){

    I will implementate this funcionality like an option in future releases, thank you very much for your feedback!!

Viewing 1 replies (of 1 total)
  • The topic ‘Awesome work!’ is closed to new replies.