New to OpenCart and running a customized version of 1.5.5.1. I am having some issues with 'Remove' from cart:
I can see from dumping the
$_SESSION
that I have[cart] => Array([88:base64_encoded(serialized($option)=] => 1)`
and
[key] => 88:base64_encoded(serialized($option)=,
but the
$this->cart->remove($this->request->get['remove'])
is only removing the [cart]
and not [key]
.
I begin with the following by adding an item to the cart:
[cart] => Array ( [88:YTo1OntpOjMyMDtzOjM6IjMwOCI7aTozMjE7czozOiIzMDYiO2k6MzIyO3M6MzoiMzA1IjtpOjMyMztzOjM6IjMxMCI7aTozMjQ7czozOiIzMDkiO30=] => 1 ) [key] => 88:YTo1OntpOjMyMDtzOjM6IjMwOCI7aTozMjE7czozOiIzMDYiO2k6MzIyO3M6MzoiMzA1IjtpOjMyMztzOjM6IjMxMCI7aTozMjQ7czozOiIzMDkiO30=
And on removing it, I am left with:
[cart] => Array ( ) [key] => 88:YTo1OntpOjMyMDtzOjM6IjMwOCI7aTozMjE7czozOiIzMDYiO2k6MzIyO3M6MzoiMzA1IjtpOjMyMztzOjM6IjMxMCI7aTozMjQ7czozOiIzMDkiO30=
- I would like to refresh the
route=product/category&path=##
on the removal from the mini-cart in the header, but am stumped as to where to look for that.
Thanks for any direction.