SHARE
TWEET

Untitled

a guest Jun 25th, 2019 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Array ( [f7ebf06b2c9ff23e2efe046992eb949c] =>
  2. Array ( [unique_key] => 6bf1cd893cfb6ea388076bc99a08891a
  3.         [thwepof_options] =>
  4. Array ( [order_date] =>
  5. Array ( [name] => order_date
  6.         [value] => 06-02-2018, monday
  7.         [label] => Order date [options] => ) )
  8.         [key] => f7ebf06b2c9ff23e2efe046992eb949c
  9.         [product_id] => 770
  10.         [variation_id] => 771
  11.         [variation] => Array ( )
  12.         [quantity] => 1
  13.         ) ) )
  14.      
  15. foreach( WC()->cart->get_cart() as $cart_item ) {
  16.      
  17. if($cart_item_key == $cart_item) {
  18. //TODO
  19. }
  20.      
  21. WC()->cart->get_cart_item( $cart_item_key );
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top