• Resolved laconicsky

    (@laconicsky)


    I use Woocommerce on three very similar sites and on one of them I have 2 issues.

    When a logged out user clicks on my buy button they should be directed to my /checkout page. Most of the time this happens.

    However some of the time it incorrectly directs them to /basket instead. The other two sites never do this.

    I have tested with all plugins deactivated and no caching on etc.

    All three sites use the same theme. All three sites have the same settings in Woocommerce and Stripe (although one of the “correct” sites also uses PayPal).

    Worth noting is that when the third site does behave correctly and directs them to /checkout the page looks completely different to the other two sites /checkout pages.

    Here are the two correctly behaving sites checkout pages:

    https://cln.sh/fGn7zfxp

    https://cln.sh/VNsg0hdh

    And here is the third sites /checkout page:

    https://cln.sh/9TmkB3tt

    Completely different layout to the others.

    I share this as it might shed some light on my main problem of the buy button incorrectly redirecting to /basket for this website.

    https://cln.sh/c311ZkRw

    Would appreciate some help as the theme makers have suggested coming to you as well.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Saif

    (@babylon1999)

    Hello @laconicsky,

    Thank you for reaching out!

    However some of the time it incorrectly directs them to /basket instead. The other two sites never do this.

    This is expected if the cart is empty.

    And here is the third sites /checkout page:

    https://cln.sh/9TmkB3tt

    The first two websites utilize the default WooCommerce shortcodes, while this particular one uses the new cart & checkout blocks, which have been the default configuration since WooCommerce 8.3.

    Since WooCommerce Blocks don’t utilize the same hooks/templates as shortcodes, I have a feeling that “Buy Now” is a custom solution you added, which explains why it’s not working with blocks.

    To address this, you have two options:

    Let us know if you have any other questions or if I misunderstood your request. :?)

    Thread Starter laconicsky

    (@laconicsky)

    Thanks for the prompt reply.

    I’ll share your comments with the theme builder and come back to you if needed.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @laconicsky,

    Should you require further assistance or have any more questions or concerns, don’t hesitate to get in touch with us.

    We are always here to help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Checkout page displays differently to second site’ is closed to new replies.