muisz
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Same problem here. Just want to show my OWN page posts on My OWN website.. Not possible. Welcome to Facebook 2018!. Hope they die soon…
Forum: Plugins
In reply to: [WooCommerce] Frontend -> Loop through order items not workingSolution:
You can call $order->get_items() in your functions.php, BUT you need to do that from your template for example.
Forum: Plugins
In reply to: [WooCommerce] Frontend -> Loop through order items not workingI figured out, that in a template file the output works (like in admin), but in functions.php (frontend) not….
This is the output in the admin:
Array ( [16] => Array ( [name] => Healthy meal [type] => line_item [item_meta] => Array ( [_qty] => Array ( [0] => 1 ) [_tax_class] => Array ( [0] => ) [_product_id] => Array ( [0] => 13525 ) [_variation_id] => Array ( [0] => ) [_line_subtotal] => Array ( [0] => 10 ) [_line_subtotal_tax] => Array ( [0] => 0 ) [_line_total] => Array ( [0] => 10 ) [_line_tax] => Array ( [0] => 0 ) [_line_tax_data] => Array ( [0] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}} ) ) [qty] => 1 [tax_class] => [product_id] => 13525 [variation_id] => [line_subtotal] => 10 [line_subtotal_tax] => 0 [line_total] => 10 [line_tax] => 0 [line_tax_data] => a:2:{s:5:"total";a:0:{}s:8:"subtotal";a:0:{}} )
Viewing 3 replies - 1 through 3 (of 3 total)