<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Add To Cart By Impersonate User</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121452380" />
  <subtitle>Add To Cart By Impersonate User</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=121452380</id>
  <updated>2026-04-05T22:15:02Z</updated>
  <dc:date>2026-04-05T22:15:02Z</dc:date>
  <entry>
    <title>RE: Add To Cart By Impersonate User</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121474680" />
    <author>
      <name>Alpha Yash</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121474680</id>
    <updated>2022-07-22T16:08:03Z</updated>
    <published>2022-07-21T04:53:08Z</published>
    <summary type="html">&lt;p&gt;i'm trying to post&lt;a
    href="https://vidmateapp.win/moviesflix/"&gt;.&lt;/a&gt;&lt;a
  href="https://vidmateapp.win/homepage/"&gt;.&lt;/a&gt; and it isnt getting
  posted.. is there a glitch in the forum?&lt;/p&gt;</summary>
    <dc:creator>Alpha Yash</dc:creator>
    <dc:date>2022-07-21T04:53:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: Add To Cart By Impersonate User</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121462558" />
    <author>
      <name>dhruvisha panchasara</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121462558</id>
    <updated>2022-07-08T13:12:27Z</updated>
    <published>2022-07-08T08:18:55Z</published>
    <summary type="html">&lt;p&gt;Hello &lt;br /&gt; I appreciated your response. &lt;/p&gt;
&lt;p&gt;I have a use case where one cart belongs to a single user.&lt;/p&gt;
&lt;p&gt;Regarding your suggestion for sharing a cart within multiple account.
  Could you please suggest how can we acheive that functionality?&lt;br /&gt;  &lt;/p&gt;</summary>
    <dc:creator>dhruvisha panchasara</dc:creator>
    <dc:date>2022-07-08T08:18:55Z</dc:date>
  </entry>
  <entry>
    <title>RE: Add To Cart By Impersonate User</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121452923" />
    <author>
      <name>Jeffrey Handa</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121452923</id>
    <updated>2022-06-24T15:54:36Z</updated>
    <published>2022-06-24T15:54:36Z</published>
    <summary type="html">&lt;p&gt;Could you provide more detail on the use-case?  If these are two
  people that work for the same company (Account) and are sharing a cart
  then you would want to ensure you have set up your Channel as B2B or
  B2X and use Accounts as Olaf has suggested.  &lt;/p&gt;
&lt;p&gt;However, if this is a customer service agent or sales agent that's
  helping a consumer (B2C or B2B) then you would want to look into
  setting up a Sales Network.  There is some documentation
  here:  https://learn.liferay.com/commerce/latest/en/users-and-accounts/account-management/using-organizations-to-create-a-sales-network.html
  that might help you.  You will need to create Organizations to model
  the &amp;quot;seller&amp;quot; and Accounts to model the &amp;quot;buyer&amp;quot; and
  define a Sales Agent role as desribed here;  https://learn.liferay.com/commerce/latest/en/users-and-accounts/roles-and-permissions/commerce-roles-reference.html?highlight=sales%20agent#sales-agent. &lt;/p&gt;</summary>
    <dc:creator>Jeffrey Handa</dc:creator>
    <dc:date>2022-06-24T15:54:36Z</dc:date>
  </entry>
  <entry>
    <title>RE: Add To Cart By Impersonate User</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121452831" />
    <author>
      <name>Olaf Kock</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121452831</id>
    <updated>2022-06-24T14:46:58Z</updated>
    <published>2022-06-24T14:46:57Z</published>
    <summary type="html">&lt;p&gt;I'm considering impersonation a purely technical approach, as you're
  largely indistinguishable from the impersonated user account.&lt;/p&gt;
&lt;p&gt;My recommendation would rather be to utilize accounts for this
  purpose.You can share a cart within an account.&lt;/p&gt;</summary>
    <dc:creator>Olaf Kock</dc:creator>
    <dc:date>2022-06-24T14:46:57Z</dc:date>
  </entry>
  <entry>
    <title>Add To Cart By Impersonate User</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121452379" />
    <author>
      <name>dhruvisha panchasara</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=121452379</id>
    <updated>2022-06-24T13:22:35Z</updated>
    <published>2022-06-24T11:23:29Z</published>
    <summary type="html">&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;While working with lifereay-commerce 7.4.3.6-ga6, I am facing an issue. &lt;/p&gt;
&lt;p&gt;I want to impersonate the users and add products to cart on behalf of
  that users, but while performing this the products are being added to
  cart by admin user(but not as impersonate user).&lt;/p&gt;
&lt;p&gt;Could anyone please provide some inputs on this.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</summary>
    <dc:creator>dhruvisha panchasara</dc:creator>
    <dc:date>2022-06-24T11:23:29Z</dc:date>
  </entry>
</feed>
