Split Order Item Metatdata
-
Is there code available to break down the Order Item Metadata? I wish to pull one particular field from it to use to add a fee if that field is set.
the Order Item Metadata that I get is as follows.
Sizes: XL | Colors: Black | _ni_cost_goods: 18 | _woo_custom_stock_status_email_txt: In stock | Student Name: Student Name: Louk | Delivery Options: Send with student | Make it Glitter?: Yes (+$6.00)
I would like to make a variable such as $glitterfee = “6”; if the Make it Glitter? section says Yes…
I can do the maths to add the $glitterfee to my totals, I just can’t figure out how to get that info separated.
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Split Order Item Metatdata’ is closed to new replies.