Echo SKU in WooCommerce Conformation page [closed]
-
06-11-2019 - |
سؤال
I am able to display SKU in a single product page using Product Meta data but it looks like same method does not work on Order Conformation page. Is there any way to echo SKU in a order conformation page? I was able to echo product name by using <?php foreach($order->get_items() as $item) { echo $product_name = $item['name'];} ?>
but it is not working for SKU.
لا يوجد حل صحيح
لا تنتمي إلى wordpress.stackexchange