Change the WooCommerce Shop Page URL

woocommerce-shop-page

You can change the WooCommerce shop URL with a filter that WooCommerce provides, this can be helpful especially if you have a one product based shop and you want your users to return to that product and not the default shop page URL. The filter to use is aptly named – woocommerce_return_to_shop_redirect add_filter( ‘woocommerce_return_to_shop_redirect’, ‘st_woocommerce_shop_url’ );…

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

Adding Product Content Description Above the Product in WooCommerce

By default in WooCommerce the product description of a product sits inside the ‘Description’ tab, with the Short Description displayed more prominent alongside the product. Here is how to swap that order and display the product content at the head of the page and remove the tab description (…as it will display twice). So in…

Read More

Removing the Product Meta ‘Categories’ in a Product Page – WooCommerce

woocommerce-remove-product-meta-categories

WooCommerce product categories are displayed at the bottom of a product page just under the add to cart button. You can remove these from the layout by removing the woocommerce_template_single_meta action from the product summary, in your themes functions.php add in … remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_meta’, 40 ); This will remove the categories aka product meta from…

Read More