Skip to content

Conversation

ptsl-admin
Copy link

protected __cart_content has no key "items". Hence the remove_item method in LP_Cart never actually worked.

Now the remove_item() method of _cart_content takes $cart_id as parameter and removes item if cart_id exists in _cart_content

protected __cart_content has no key "items". Hence the remove_item method in LP_Cart never actually worked. 

Now the remove_item() method of _cart_content takes $cart_id as parameter and removes item if cart_id exists in _cart_content
In cases if customer id is not set then run $this->init() once. 
It becomes necessary when this function is invoked while doing ajax. While doing ajax $this->_customer_id is always '' which is sorted using ->init()
@ptsl-admin
Copy link
Author

In cases if customer id is not set then run $this->init() once.
It becomes necessary when this function is invoked while doing ajax. While doing ajax $this->_customer_id is always '' which is sorted using ->init()

the $src_only argument was not being used to get the profile picture URL only
the $src_only argument was not being used to get the profile picture URL only
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

Successfully merging this pull request may close these issues.

1 participant