VTMIN_Cart

The VarkTech Minimum Purchase for WooCommerce VTMIN Cart class.

Defined (1)

The class is defined in the following location(s).

/core/vtmin-cart-classes.php  
  1. class VTMIN_Cart {  
  2. public $cart_items; 
  3. public $cart_item; 
  4.  
  5. //error messages at rule application time 
  6. public $error_messages; 
  7. //flag to prevent multiple processing iterations 
  8. public $error_messages_processed; 
  9. public $error_messages_are_custom; //v1.08 
  10.  
  11.  
  12. public function __construct() { 
  13. $this->cart_items = array(); 
  14. $this->cart_item; 
  15. $this->error_messages = array( 
  16. /** **The following array structure is created on-the-fly during the apply process** 
  17. array( 
  18. 'msg_from_this_rule_id' => '',  
  19. 'msg_from_this_rule_occurrence' => '',  
  20. 'msg_text' => '',  
  21. 'msg_is_custom' => '' //v1.08 
  22. */ 
  23. );  
  24. $this->error_messages_processed;  
  25. $this->error_messages_are_custom; //v1.08  
  26.  
  27.  
  28. } //end class