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

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

The application was unable to start correctly 800x350 - How to fix Wamp Httpd Exe Application Error?

How to fix Wamp Httpd Exe Application Error?

You’ve just installed WAMP and when you clicked to start it doesn’t work, Instead, it shows an error which tells that “The application was unable to start correctly (0xc0000142). Click OK to close the application“. You’ve followed several instructions to solve the error but it came back with the error

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