Variable products and WooCommerce are a match made in heaven. With WooCommerce, you can easily create and manage variable products. This means that you can offer different variations of a product, such as color and size, to your customers. This is a great way to increase your sales, as customers can find the exact product […]
Continue reading "How to Add a Variable Product in WooCommerce? [ tutorial ]"Action Hook Column
Disable Select2 Library
We use select2 for our dropdown menu. For some resign if you need to disable select2 library then you can use our plugin ‘wpto_localize_data’ filter hook. Add those codes in your theme/child theme’s functions.php file or use ‘Code Snippets’ plugin to add those codes.
Continue reading "Disable Select2 Library"Disable dropdown multiple selections
When you turn on searchbox with taxonomy/attributes or customer field dropdown menu, by default you can select multiple values for filtering. Take a look at the below image. If you want to turn off multiple selection values, use our ‘wpto_is_multiple_selectable’ filter hook. Add those codes in your theme/child theme’s functions.php file or use ‘Code Snippets’ plugin to add those […]
Continue reading "Disable dropdown multiple selections"Change Add To Cart(Selected) Checkbox Text
At first take a look at bellow image If you want to change “Add to Cart(Selected)” text after check any checkbox, you can do that. Use Code Snippets plugin to run those code below. Use custom_text to change your text. Take a look
Continue reading "Change Add To Cart(Selected) Checkbox Text"Change placeholder text for Taxonomy Keywords ( Advance Search Box )
If you want to change search box placeholder text, then you can do that with our plugin filter hook. Use ‘wpto_localize_data’ filter hook. Follow this article. First take a look at bellow screenshot. If you want to change that text, you can do that with our plugin filter hook. Use ‘wpto_localize_data’ filter hook. After applying […]
Continue reading "Change placeholder text for Taxonomy Keywords ( Advance Search Box )"Set default quantity 0 only for table
If you want to set the default quantity 0 only for table you can do that using a filter hook.
Continue reading "Set default quantity 0 only for table"Change Default Search Box Taxonomies Names
Sometimes we need to change default search box taxonomy names and give them a meaningful name. It’s help customer to understand better. Now we are going to change those names with the help of our plugin’s filter hook. Add those codes in your theme/child theme’s functions.php file or use ‘Code Snippets’ plugin to add those […]
Continue reading "Change Default Search Box Taxonomies Names"Manipulate Quantity After Add To Cart
By default in our product table quantity is 1 and when you add the product into the cart product quantity will back to 1. If you want to set product quantity 0 instead of 1, you can easily do it by using a filter hook called wpto_qty_return_zero. Now suppose you are using one of the […]
Continue reading "Manipulate Quantity After Add To Cart"Remove Custom Taxonomy Link
If you created custom taxonomy and showing in table and you want to remove link then, use those code below. Add those codes in your theme/child theme’s functions.php file or use ‘Code Snippets’ plugin to add those codes. Replace (wpt_pa_color) classes with your own taxonomy classes.
Continue reading "Remove Custom Taxonomy Link"Show Table in Only Shop page
When we turn on ‘Table On Archives’ table will show on WooCommerce Archive/Category/Tag/Attribute page. But if you only want to show table on shop page, we can do this using filter hook.
Continue reading "Show Table in Only Shop page"How to Add Custom Column using Action and Filter Hooks
Note: Usually you can write codes inside the theme’s functions.php file. If any hooks are not working on the theme’s functions.php file, (only then) please download our helper addons plugin and write hooks inside this plugin. In Woo Product Table plugin, there are lots of columns already we have added. But for you maybe those […]
Continue reading "How to Add Custom Column using Action and Filter Hooks"Change Default WooCommerce Thumbnail Image Size for Woo Product Table
You can use wpto_thumbs_size filter to resize thumbnail. Read this article to learn about how to use filter and action hook. Here I have added a snippet. Add this snippet to end of the child theme’s functions.php file. if( !function_exists( ‘wpt1234_resize_the_thumb_size’ ) ) { function wpt1234_resize_the_thumb_size () { return ‘woocommerce_thumbnail’; } } add_filter( ‘wpto_thumbs_size’, ‘wpt1234_resize_the_thumb_size’ […]
Continue reading "Change Default WooCommerce Thumbnail Image Size for Woo Product Table"Woo Product Table Hooks: Actions and filters
Introduction: What are hooks? Hooks in WordPress essentially allow you to change or add code without editing core files. They are used extensively throughout WordPress and WooCommerce and are very useful for developers. There are two types of hook: actions and filters. Action Hooks allow you to insert custom code at various points (wherever the hook is run). […]
Continue reading "Woo Product Table Hooks: Actions and filters"