Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
110
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  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 );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement