naresh11381
Forum Replies Created
-
Hi Abd,
Thanks for getting back to me. I will setup a dev version of the site and see if I can pinpoint the issue. I will update you asap.
Forum: Plugins
In reply to: [WPFront User Role Editor] Fatal error on user switchingThis is a short-term fix for anyone having similar issues:
// Disable user switching in the wp front plugin
function disable_switch_users_capability() {
// Remove switch_users capability from all roles
$roles = wp_roles()->roles;
foreach ($roles as $role_name => $role_info) {
$role = get_role($role_name);
if ($role->has_cap('switch_users')) {
$role->remove_cap('switch_users');
}
}
}
add_action('init', 'disable_switch_users_capability');Forum: Plugins
In reply to: [Automated Stock Update Triggers for WooCommerce] Cancelled ordersThat’s great thanks @algoritmika
When the store manager is back I will get them to test and let you know if any issues. Thanks for the great support.
Happy to leave a review ??
Forum: Plugins
In reply to: [Automated Stock Update Triggers for WooCommerce] Cancelled ordersHi @abdhindi97
Thank you for your comprehensive reply. Really appreicated.
I can confirm the way you are doing it works correctly. What isn’t working is when you create the order manually in the backend. It isn’t restocked when cancelled if the order is created manually for me. Are you seeing the same thing?
Thanks again
@jmatiasmastro this seems to have fixed the issue for me.
Thanks @jmatiasmastro
I am using the pro version. I couldn’t find it in the my account section of your website. Is there a way I can roll back the pro version?
Thanks for that Edward,
Is there a place you can download previous versions?Do you know if this is a bug or a planned change?
Forum: Plugins
In reply to: [WooCom SecurePay Payment Gateway] Scrolling in input fields issueThis code works. You may want to integrate something into the plugin directly.
document.addEventListener('DOMContentLoaded', function () { document.addEventListener('focus', function (event) { if (event.target.matches('input[type=number]')) { event.target.addEventListener('wheel', preventScroll, { passive: false }); } }, true); document.addEventListener('blur', function (event) { if (event.target.matches('input[type=number]')) { event.target.removeEventListener('wheel', preventScroll); } }, true); function preventScroll(event) { event.preventDefault(); } });
Forum: Plugins
In reply to: [Simple Cloudflare Turnstile - CAPTCHA Alternative] Script parsing as HTMLHi Elliot,
I have worked out it is this plugin that causes the conflict. https://woocommerce.com/products/woocommerce-social-login/
It is only an issue when trying to login via the checkout page.
I’m not not sure if this is something you would fix. I can send you the plugin if you would like a closer look?
Forum: Plugins
In reply to: [WooCom SecurePay Payment Gateway] Arrows in inputsThat’s great, thank you
Forum: Plugins
In reply to: [Mail logging - WP Mail Catcher] Purge scheduleThat’s a perfect solution thanks!
Forum: Plugins
In reply to: [OoohBoi Steroids for Elementor] Popup open at under footerMy apologies, right you are.
I am using Astra and there is no issue when there is no admin bar.
Resolved indeed.Forum: Plugins
In reply to: [OoohBoi Steroids for Elementor] Popup open at under footerNot sure why this would be marked resolved.
This fixed it for me:
/* mobile popup */ @media screen and (max-width: 1024px) { body .dialog-type-lightbox { top: 0 !important; position: fixed !important; } }
Hi Peter,
WooCommerce Subscriptions has a whole lot of fields it creates like_schedule_next_payment
and I have created my own custom usermeta fields like_my_custom_field
that exist in subscription post meta. Can I create a table out of these types of fields or is that classed as CPT fields?Thanks
Nik