Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Login restore cart #3326

Closed
danijelGombac opened this issue Sep 11, 2015 · 1 comment
Closed

Login restore cart #3326

danijelGombac opened this issue Sep 11, 2015 · 1 comment

Comments

@danijelGombac
Copy link
Contributor

In login you added

foreach ($this->customer->getCart() as $key => $value) { $this->cart->add($key, $value); }

but in library cart accept

add($product_id, $qty = 1, $option = array(), $recurring_id = 0)

How can this work?

@danielkerr
Copy link
Member

closing this as i have am writing the cart to use the db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants