Table of Content

HomeBlogPlugin UsageHow to create a product table ...

How to create a product table with the ability to add a group of products to the cart?

Adding a group of products to the cart makes shopping simpler for the customers. Adding products one by one which will take a lot of time and will make shopping boring. With add group ability, customers can choose a bunch of products. Then add them to the cart with just one click.

Creating a WooCommerce product table with the option of adding a group of products to the cart can be done as one of the steps of creating a product table. We discussed about it in the “How to create a product table with cart option?

Adding a group of products to the cart

If you go to the ‘settings’ tab, under ‘other options’ you will see an item named ‘Group Add to cart button’. By enabling this item, an “add to cart” button will be shown just above the table. 

Enable add group product to cart in woocommerce product table

Now the customer can choose the products that they want to buy by checking the checkbox of that product. Then after choosing all the desired products, they can click on the newly added button to add them all to the cart simultaneously. 

The button looks like the figure below:

group add to cart in woocommerce product table

You can change the button’s appearance by editing your template and change the label of button through ‘Localization’ tab.

You can also change the position of the ‘Check’ and ‘Action’ column in ‘Setting’ tab by enabling ‘sticky column’:

enable sticky column in woo product table plugin

This way, the ‘Action’ and ‘Check’ column will be shown as sticky columns on the left side of the table:

Sticky column in woocommerce product table plugin

You can also choose to show a ‘Select all’ checkbox. This allows the customers to choose all the products on the current page. Then add them to the cart using the ‘Group add to cart’ button if they want. 

The ‘Select All’ checkbox will be shown next to the ‘Group add to cart’ button on the top right of the product table. 

Conclusion

Enabling the customers to add a group of products to the cart enhances their shopping experience. Having to select a large amount of products one by one will be very exhausting. This might discourage the customers from buying multiple products from your website, and that’s not what you want. 

Overall, making the shopping process simpler will help sell more of your products. Also you need to take this into consideration while designing the website.

Like this tutorial?

Do you still have a problem?

If you still have unanswered questions or need custom work for your plugin, contact iThemeland Support.

Comments

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments