Tips, Tutorials, SEO, WordPress, Joomla, Web Design

Posts in Category: woocommerce

WooCommerce Admin Custom Product Data Tab 800x300 - WooCommerce Admin Custom Product Data Tab

WooCommerce Admin Custom Product Data Tab

While adding or updating WooCommerce products we have a section named “Product Data” just below the main content editor. In this section, we have various tabs like general, inventory, linked products etc with different types of fields. But sometimes we need to add our own custom product fields and it

Read More

How to Add Custom Field to WooCommerce Products 800x300 - How to Add WooCommerce Custom Fields to Products

How to Add WooCommerce Custom Fields to Products

WooCommerce, without any doubt, is the most complete and powerful open-source e-commerce plugin ever developed for WordPress. One of the most important reasons for WooCommerce success is its flexibility and the ease of customization, there’s an API for nearly everything that lets you easily convert a WordPress site into an

Read More

woocommerce only one product per category in the cart 800x300 - WooCommerce allow only 1 product per category

WooCommerce allow only 1 product per category

This quick snippet can prevent your visitors from adding more than one (or pre-defined no.) product from a specific category to their cart. This PHP code snippet should go in your theme’s functions.php file.

// Allow only one(or pre-defined) product per category in the cart
add_filter( 'woocommerce_add_to_cart_validation', 'allowed_quantity_per_category_in_the_cart', 10, 2

Read More

How To Disable Quantity Field In WooCommerce 800x252 - Hide or remove the quantity field from WooCommerce Product

Hide or remove the quantity field from WooCommerce Product

WooCommerce is one of the best e-commerce solutions that gives you complete control to sell anything. WooCommerce’s biggest benefit is that user has nearly endless customization options to exercise with their products, without having to know too much about the technical side of things. If you want to increase

Read More