Welcome Guest, Not a member yet? Register   Sign In
Checking Contents of $this->cart->contents() Array
#1

[eluser]Unknown[/eluser]
Hi All,

Does anyone know a way of checking if a product with a certain name exists in the $this->cart->contents() array?
I need to add a tax to the cart but only if a certain item exists in the cart.

Thanks!
Andy
#2

[eluser]bluepicaso[/eluser]
well its my first turn to the cart, I may suggest you to please add the tax to each product while adding to the cart. Hope this solves. I may be poor at economic facts, Sorry for that.




Theme © iAndrew 2016 - Forum software by © MyBB