Pages

Showing posts with label WooCommerce. Show all posts
Showing posts with label WooCommerce. Show all posts

Tuesday 15 March 2016

WooCommerce Remove Default Sorting - Shop Page

Remove WooCommerce Default Sorting Dropdown Select

To Remove "Default Sorting" on WooCOmmerce shop page. We will remove "woocommerce_catalog_ordering" from "woocommerce_before_shop_loop" hook. Dont forge to add the $priority value in the action hook which is "30" in this hook.
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );
Paste the above code in your themes functions.php file to remove "Sort By" dropdown select from the shop page in WooCommerce.

Friday 14 June 2013

Custom sidebar for single product view in Genesis / WooCommerce

single_product_view_custom_sidebar_genesis_woo_commerce

While working on a client site. He offered me to create a separate sidebar for a single product view in genesis. He wanted to load different widgets when single product is viewed. The tool used on the site for shopping cart was "WooCommerce"

First I went to the plugin and open it in editor and hard coded the sidebar which I registered in the functions.php