Tag Info

Hot answers tagged

1

There is no actions/filters to hook to. You need to override standard WC_Email_Customer_New_Account class and implement your own logic. To do it you need to create your own class which will inherit that class and register it. class WPSE8170_Email_Customer_New_Account extends WC_Email_Customer_New_Account { function trigger( $user_id, $user_pass = '', ...


1

WooCommerce uses a custom post type called product for its product. Your shop page appears to be looking for a products archive. I can tell this because of the slug - post-type-archive-product Have you tried renaming your custom shop template file archive-product.php? This should override the default archive template.


1

You should check WooCommerce -> Settings -> Emails (tab) and On the "New Order" sub-link you'll need to add your clients email there, otherwise Woo will use the default admin email address.


1

A cleaner way to display a delimiter would be a CSS-border (like Aibrean suggested). But you can set up the filter to fit your needs: add_filter( 'woocommerce_breadcrumb_defaults', 'custom_woocommerce_breadcrumbs' ); function custom_woocommerce_breadcrumbs() { return array( 'delimiter' => '<li class="separator"> | </li>', ...


1

WooCommerce adds classes to indicate when a product has a thumbnail specified, so you can address this with CSS. .product .images { display: none; } /* hide images div by default */ .product.has-post-thumbnail .images { display: block; } /* show images div when thumbnail is present */


1

Add the following to your theme's function.php. Default values are shown below, except changing 'number' from 45 to 15. Only the changed values need to be included, so you can either leave the default values or remove/comment out those lines. For Wordpress Tag Cloud widget: function custom_tag_cloud_widget() { $args = array( 'smallest' => ...



Only top voted, non community-wiki answers of a minimum length are eligible