Scroll to top

Blog

I would like to discuss on whatever your requirement will be. Also I feel pleasure to be a part on that. So let’s just the conversation and finish this in efficient way.

How to get order info (billing info) from order in woocommerce?

woocommerce-easily-get-order-info-total-items-etc-from-order // Get Order ID $order->get_id(); // Get Order Totals $0.00 $order->get_formatted_order_total(); $order->get_cart_tax(); $order->get_currency(); $order->get_discount_tax(); $order->get_discount_to_display(); $order->get_discount_total(); $order->get_fees(); $order->get_formatted_line_subtotal(); $order->get_shipping_tax(); $order->get_shipping_total(); $order->get_subtotal(); $order->get_subtotal_to_display(); $order->get_tax_location(); $order->get_tax_totals(); $order->get_taxes(); $order->get_total(); $order->get_total_discount(); $order->get_total_tax(); $order->get_total_refunded();

Read More »

use javascript in php or how to redirect on any page in php <?php echo ‘<script LANGUAGE=”JavaScript”>window.location.href=”‘.site_url().’/loginform“;</script>’; ?>

Read More »

How to exchange related products with full description in woocommerce?

 exchange related products with full description in woocommerce add_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 2 ); remove_action( ‘woocommerce_after_single_product_summary’, ‘woocommerce_output_related_products’, 20 ); Get more information Read More Posts

Read More »