Disable Payment Method for Specific Category in WooCommerce

Today we investigate the WooCommerce Checkout and explicitly at how to cripple an installment portal (for example PayPal) if certain item classifications are in the truck. add_filter( ‘woocommerce_available_payment_gateways’, ‘ikodes_unset_gateway_by_category’ ); function ikodes_unset_gateway_by_category( $available_gateways ) { global $woocommerce; $unset = false; $category_ids = array( 123, 111 ); foreach ( $woocommerce->cart->cart_contents as $key => $values ) { $terms = get_the_terms( $values[‘product_id’], ‘product_cat’ ); foreach ( $terms as $term ) { if ( in_array( $term->term_id, $category_ids ) ) { $unset = true; break; } } } if ( $unset == true ) unset(…

Read More

Send To Friend Woo commerce plugin

Send to friend enables your clients to find the pleasant method to send for friends. Appropriate for all WooCommerce topics. Rather than an essential email which incorporates a connection, your visitors can send the item itself to anybody with this module. An email see window shows up when you tap the button. Here you see the item with its picture, title, and cost. Presently you pick a compose your message, set up your button and send it to anybody. Furthermore, we’re sufficiently fragile to put a possibility for concealing the…

Read More

Age Verifier – Woocommerce

iAge Verifier is a responsive and contact arranged module for WordPress. Locales from different organizations, for instance, alcohol, tranquilize store, tattoo, grown-up content and various more require an obligatory age check to ensure that the customer is over a particular age. Our SEO neighborly age check module makes it clear for you to make the age-portal between a site visitor and your substance. Key Features: – Easy to Use – Fully Responsive and Optimized for All Devices – Desktop, Mobile, Tablet – Customized Restrictions at Page Level or Full Site…

Read More