• Resolved tofuSCHNITZEL

    (@tofuschnitzel)


    Following scenario arose:
    People fill their cart and are not logged in, then for checkout (or before) they login but the “local” cart gets overridden by the cart that existed when they were logged in last time.

    Is there a way to ask the customer (if there are items in the account cart) if they want to keep the local cart or continue the account cart?

    cheers,
    Tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support con

    (@conschneider)

    Engineer

    Hi Tobias,

    You can make use of some Javascript to prompt on submit. Here is a jQuery solution with a simple prompt on submit.

    https://jsfiddle.net/conschneider/xpvt214o/403397/

    This is very basic and does not yet check if there is a filled cart of the user trying to login.

    Kind regards,

    • This reply was modified 6 years, 4 months ago by con.
    Thread Starter tofuSCHNITZEL

    (@tofuschnitzel)

    HI,
    thanks for the suggestion. This is the “Frontend solution”.
    Is there also a backend solution that would be capable of merging the two carts?
    Or at least let them keep the local cart and override the account one?

    cheers,
    Tobias

    Plugin Support con

    (@conschneider)

    Engineer

    Hi Tobias,

    Certainly, but that is a much more tough cookie to bake ?? and I think beyond of what we can provide here.

    Kind regards,

    Thread Starter tofuSCHNITZEL

    (@tofuschnitzel)

    Sure, I understand. Just wanted to check if someone knows if this already exists as a plugin.

    thanks anyway.

    cheers,
    tobias

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Ask which cart to keep’ is closed to new replies.