Okay
  Public Ticket #3957879
cart of agent
Open

Comments

  •  14
    mariateresa started the conversation

    Hi, I have a problem.

    1. I enter like agent

    2. I pass as client

    3. I create a cart, but not make order

    4. I pass to agent and change client

    5. when I enter to the fist client the cart is delated

    Will it possible save the cart?

  •  2,361
    WebWizards replied

    Hi Mariateresa,

    By default, the cart is cleared when switching between users.

    To keep the cart contents when switching between users, please add this code snippet to your theme's functions.php file or using a code snippets plugin:

    add_filter('salesking_empty_cart_on_switch','__return_false');
    

     

    Let me know if you run into any issues!

    Kind regards,
    Stefan