Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * This could be added within the cart contents loop (in WooCommerce 2.0.7
- * it starts at line 119 in review-order.php) to sum the number of event attendees.
- *
- * Later on you could use that to generate the corresponding number of attendee
- * data fields.
- */
- if (get_post_meta($_product->id, '_tribe_wooticket_for_event') > 0)
- $attendee_count += $values['quantity'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement