Mo
Forum Replies Created
-
Forum: Plugins
In reply to: [Ivory Search - WordPress Search Plugin] Ivory and ACF integrationSure, you’re right. I hadn’t configured the form itself to search within the custom fields.
Regards.Using the Course Preview Add-on , I was able to make some sessions free for guests/members. This might be the closest feature of this plugin to my needs. Can this add-on be enhanced with more features, such as requiring users to log in to view the free session or not, etc.?
Thank you.
Forum: Plugins
In reply to: [WooCommerce] inventory issue and There was an error processing your orderThe issue was caused by a conflict with another plugin. Thank you
With great appreciation for your prompt response and kindness, I’m not sure why, but once I moved all the media that I had previously added for each video to the trash and then restored them, the issue was resolved.
Thank you.
Forum: Plugins
In reply to: [Order Attachments for WooCommerce] Delete an attachmentThank You for Your Quick Response, My Friend!
Great! I Fount it; The section you have provided for this feature is very useful for bulk management. Also, I think it would be great to have a “Delete” trash icon next to the “Copy” icon on each order page, so that individual actions can also be performed.
Thank you!
This issue was solved with the release of new update.
Thanks
Awesome, Also adding “Product Tag” is really useful.
Thanks
Forum: Plugins
In reply to: [Order Attachments for WooCommerce] Abandoned?Great! Thanks a lot
Thank you, I should set this rules for my own payment gateway. So Pro version is required. Right?
The following Code may be useful:
// Disable Woocommerce payment methods based on product category in the cart
add_filter( 'woocommerce_available_payment_gateways', 'wpsh_disable_gateways_based_on_category', 10, 1 );
function wpsh_disable_gateways_based_on_category( $gateways ) {
// Check if cart is initialized and has contents
if ( ! WC()->cart || WC()->cart->is_empty() ) {
return $gateways;
}
// Define the category ID to check (e.g., 6)
$category_id_to_check = 6;
// Loop through cart items
foreach ( WC()->cart->get_cart() as $cart_item ) {
$product_id = $cart_item['product_id'];
// Check if the product belongs to the specific category
if ( has_term( $category_id_to_check, 'product_cat', $product_id ) ) {
// If the condition is met, disable the BACS payment gateway
if ( isset( $gateways['bacs'] ) ) {
unset( $gateways['bacs'] );
}
break; // Exit loop after the condition is met
}
}
return $gateways;
}Regards
Thanks for your attention; Also may we have hiding gateways based on product categories?
I’ve checked the added features; You Rock!
Thanks a lot
Thanks a lot