Post by gfmpr » Mon Dec 06, 2021 5:39 pm

I would like the items in the customer cart database to be cleared on login and only the items in the current session cart retained. So if a customer returns to the website, adds items to the cart, goes to checkout, logs in, only the items from the current session are in the cart, none from a previous session.

Newbie

Posts

Joined
Mon Dec 06, 2021 5:38 pm

Post by paulfeakins » Mon Dec 06, 2021 8:40 pm

If you can't find an extension, you could pay a developer such as ourselves or post a job in the Commercial Support Forum.

UK OpenCart Hosting | OpenCart Audits | OpenCart Support - please email info@antropy.co.uk


User avatar
Guru Member
Online

Posts

Joined
Mon Aug 22, 2011 11:01 pm
Location - London Gatwick, United Kingdom

Post by straightlight » Mon Dec 06, 2021 11:29 pm

Partial OC version. You may be referring to this request: viewtopic.php?t=211273 .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gfmpr » Tue Dec 07, 2021 12:10 am

straightlight wrote:
Mon Dec 06, 2021 11:29 pm
Partial OC version. You may be referring to this request: viewtopic.php?t=211273 .
No. If there were products in the basket when I went to the site, then if I later go unauthorized and log in during the ordering process, the old ones will also be added to the new basket.

Newbie

Posts

Joined
Mon Dec 06, 2021 5:38 pm

Post by straightlight » Tue Dec 07, 2021 12:19 am

gfmpr wrote:
Tue Dec 07, 2021 12:10 am
straightlight wrote:
Mon Dec 06, 2021 11:29 pm
Partial OC version. You may be referring to this request: viewtopic.php?t=211273 .
No. If there were products in the basket when I went to the site, then if I later go unauthorized and log in during the ordering process, the old ones will also be added to the new basket.
This is what the first post of that topic refers about ... for users who just logs in ...

However, how and what you do mean by unauthorized? In what way?

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gfmpr » Tue Dec 07, 2021 12:39 am

straightlight wrote:
Tue Dec 07, 2021 12:19 am
gfmpr wrote:
Tue Dec 07, 2021 12:10 am
straightlight wrote:
Mon Dec 06, 2021 11:29 pm
Partial OC version. You may be referring to this request: viewtopic.php?t=211273 .
No. If there were products in the basket when I went to the site, then if I later go unauthorized and log in during the ordering process, the old ones will also be added to the new basket.
This is what the first post of that topic refers about ... for users who just logs in ...

However, how and what you do mean by unauthorized? In what way?
Guest, when they add items to cart unauthorized, and than log in in cart

Newbie

Posts

Joined
Mon Dec 06, 2021 5:38 pm

Post by gfmpr » Tue Dec 07, 2021 12:46 am

I need to clear the old session cart saved in the database when I log in or log out.

like this https://www.opencart.com/index.php?rout ... n_id=24991

Newbie

Posts

Joined
Mon Dec 06, 2021 5:38 pm

Post by straightlight » Tue Dec 07, 2021 12:48 am

While the authorized explanation is still unclear, you seem to have found your extension.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by gfmpr » Tue Dec 07, 2021 4:43 am

straightlight wrote:
Tue Dec 07, 2021 12:48 am
While the authorized explanation is still unclear, you seem to have found your extension.
Look - viewtopic.php?t=39900, its my problem, but here is solution for 1.5, can u help me to do it for 2.3?

Newbie

Posts

Joined
Mon Dec 06, 2021 5:38 pm

Post by xxvirusxx » Tue Dec 07, 2021 5:39 pm

gfmpr wrote:
Tue Dec 07, 2021 4:43 am
but here is solution for 1.5, can u help me to do it for 2.3?
You have tried the code from here?
viewtopic.php?f=110&t=39900&start=20#p699020

Upgrade Service | OC 2.3.0.2 PHP 8 | My Custom OC 3.0.3.8 | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by cmsroom » Tue Dec 07, 2021 7:58 pm

You can try https://www.opencart.com/index.php?rout ... r=cmsrooms

But It's available for Opencart 3 , If you need we can modify for opencart 2.3

You may like these extension : - https://www.opencart.com/index.php?rout ... r=cmsrooms


New member

Posts

Joined
Fri Sep 28, 2018 1:37 am
Who is online

Users browsing this forum: No registered users and 58 guests