Echo specific product price from an array
-
I′m using “name-your-price” extension from Woocommerce. Since it′s a product I′m trying to echo just this product price under the subtotal on my cart page.
Got an array from $woocommerce->cart->get_cart so I tried to use something like this:$tip = $woocommerce->cart->get_cart();
echo $tip[“nyp”];Does anyone knows what I′m missing?
Thanks so much!
- The topic ‘Echo specific product price from an array’ is closed to new replies.