Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Can you provide some more information please?

    Thread Starter ovedmo

    (@ovedmo)

    when i switch o customer i want to keep the cart as is and assign it to the customer.

    for example, the main admin/user added items to cart and when switching to customer i want the cart to be the same as the main admin/user!

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Thanks. That’s how User Switching used to work with WooCommerce, but I changed it many years ago because 99% of the time that’s unexpected behaviour. Most of the time when you switch into a customer account you don’t want to affect their shopping cart.

    Your best approach here is to switch to the customer before adding items to the cart. Then, the items will be correctly added to the customer’s cart too and remain there for the customer to use.

    Cheers!

    Thread Starter ovedmo

    (@ovedmo)

    i know i saw the history, but any suggestion to change it to keep items/cart.

    Give me few hinits i will try . It is very important for me to change it .

    thank you

    • This reply was modified 1 year, 10 months ago by ovedmo.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘how to keep woocommerce cart’ is closed to new replies.