Zen Follower
- Join Date:
- Feb 2005
- Location:
- Italy
- Posts:
- 178
- Plugin Contributions:
- 0
order_total class and class redeclaration
Hello, I'd like to use order_total class in function function process_button() in a payment module.
If I simply use it, then when it's called later in the script (in the normal ZC flow), I obtain a 'cannot redeclare class... (all the classes initialized by order total modules).
How to avoid this?
Is it possible to 'destroy' a class declaration after having used it?
Thank you
Paolo De Dionigi
Co-maintainer of Zen Cart Italia