Change WooCommerce Price to be by Weight

woocommerce-by-weight

You can change the WooCommerce price to be by weight by appending some text after the actual price such as ‘per kg’, this can be done by manipulating 3 filters that display the price in the shop/product page, cart and checkout pages; woocommerce_get_price_html woocommerce_cart_item_price woocommerce_checkout_cart_item_quantity If all items were to be classified as ‘per kg‘…

Read More

AutoComplete WooCommerce Paypal Order from Processing to Complete

woocommerce-auto-complete-order-paypal

Using WooCommerce and Paypal, sometimes the order does not go from processing to complete on payment of the order at Paypal and you manually have to set it to complete, this snippet as provided by woothemes fixes this issue. /** * Auto Complete all WooCommerce orders. * Add to theme functions.php file */ add_action( ‘woocommerce_thankyou’,…

Read More