Totally Zenned
- Join Date:
- Jun 2007
- Location:
- Bronx, New York, United States
- Posts:
- 949
- Plugin Contributions:
- 3
Dynamically testing products in a cart for it's delivery type.
Does anyone know if there is a way to dynamically test each item in a shopping cart to see if it's a virtual item or not?
I'm currently using the cart's -> delivery_type method but the only problem I have with this is that when I test to see if a cart's contents is virtual or mixed, it works. But if I delete the item that is causing it register as virtual/mixed, the variable still returns that it's a mixed delivery type which is not the case.
Can anyone help?