Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author James Golovich

    (@jamesgol)

    If you email ([email protected]) me a copy of the theme I can take a look at it.

    Plugin Author James Golovich

    (@jamesgol)

    I discovered what is happening here. The typical woocommerce templates call the ‘woocommerce_before_main_content’ action before displaying anything else. The theme does not, but calls a WooCommerce provided function woocommerce_content() which does all the heavy lifting to provide integration.

    I’ve submitted a PR to WooCommerce to add these hooks, but who knows what will happen with it.

    I’ll see if I can come up with a workaround for you.

    Plugin Author James Golovich

    (@jamesgol)

    If you want to try the dev version I moved where the expiration check is called so it should be working better for you. This should be a better place for it to happen on any theme.

    Plugin Author James Golovich

    (@jamesgol)

    I still need to do some more testing and fix up the logic a bit, but that should get you most of the way there.

    Plugin Author James Golovich

    (@jamesgol)

    Fixed in latest version (1.50), please let me know if you are still having issues.

    Thread Starter brendanmcoffey

    (@brendanmcoffey)

    This is great! Working much better. Thanks so much. I do have one other question. Do you have a shortcode for the countdown so I could add it to the top of the cart page as well?

    Plugin Author James Golovich

    (@jamesgol)

    I checked the cart and checkout page with the X theme and the countdown showed up on both of those.

    Thread Starter brendanmcoffey

    (@brendanmcoffey)

    I don’t actually get the countdown for the cart or the checkout page. I tried twentysixteen and I don’t get them either.

    For the two pages, they are set up as regular pages with these shortcodes only in the content box:
    [woocommerce_cart]
    [woocommerce_checkout]

    The shop page however, where I am able to now see the countdown, does not have a shortcode and is an un-editable page.

    Any ideas?
    FYI the site is https://diaperdrawer.staging.wpengine.com/

    Plugin Author James Golovich

    (@jamesgol)

    Very odd. I double checked my test and the cart and checkout pages are just as you describe, a simple page containing only the shortcode.

    Do you have any other WooCommerce related plugins or theme mods in your child theme installed that might be conflicting?

    Thread Starter brendanmcoffey

    (@brendanmcoffey)

    Looks like it was an issue with a plugin. Woocommerce poor guys swiss knife to be exact. Disabled this and all is working! I should have known to check with plugins but thanks for helping me out!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Countdown missing on shop page’ is closed to new replies.