Jump to content

Last cart ID?


Recommended Posts

Hello:

If you are in a payment omdule you should look for the current cart id: $this->context->cart->id. That's the one that belongs to the current user. If not you should query DB table but this is not related at all with context.

Regards

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...