How to direct WordPress to load custom template for custom post type

For future audience sake, this notice is added. The following answer assumed anyone have the following knowledge php and basic debug knowledge: how to var_dump() or print_r() WordPress Core Filter and Action known as Hooks, when and how to use them correctly feel comfortable modifying theme file functions.php for plugin-related development, please refer to Plugin … Read more

category page multiple products add to cart any plugin available for woocommerce

In your WooCommerce settings, go to the Products tab. You want to disable “Redirect to the cart page after successful addition” and make sure “Enable AJAX add to cart buttons on archives” is checked. I think the default behaviour for WooCommerce is to allow AJAX ‘Add to Cart’ functionality – but I believe that only … Read more

Allow members to create groups on my site

You can use BuddyPress to create groups, manage groups, allow users to join groups and search them. BuddyPress is like a Social Network plugin for WordPress. Has it’s own sub-section/ecosystem of plugins and add-ons and code snippets that you can apply. https://en-ca.wordpress.org/plugins/buddypress/ There’s an active developer community and lots of documentation too: https://codex.buddypress.org

How can I update the price when someone enters postcode or zip code in woocommerce checkout page?

As I was trying to add some additional amount to my charge and I was unable to update the charge amount. The code which I was trying was this using AJAX call: $woocommerce->cart->set_total($woocommerce->cart->total + $additional_amount); But the real problem was with my payment method, not the cart price. So, I resolved it using a filter … Read more