Skip to content

window.checkout is undefined if minicart is removed #1458

Closed
@Zaylril

Description

@Zaylril

Hey,

When building the cart/checkout page on my current theme, i've removed the minicart from the cart page in the header. However this results in me now getting an error when clicking proceed to checkout as the checkoutUrl is undefined in the window.checkout object.

You should be able to proceed to the checkout without having the minicart available on the page (I've just had to hide it for now with css rather than remove).

Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue: Ready for WorkGate 4. Acknowledged. Issue is added to backlog and ready for developmentbug report

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions