amihaidany
Forum Replies Created
-
Forum: Plugins
In reply to: [Ajax Login/Register for WooCommerce] Setting page blankHello,
Thank you for you reply.
I’m using PHP 7.4.
Thanks!
AmichaiForum: Plugins
In reply to: [Ajax Login/Register for WooCommerce] Setting page blankHello,
I confirm this bug on several different installations, including fresh one that was set up for this test.
Wordpress 5.7.2 + Woocommerce 5.2.0 (and above).
Settings page return error.‘Call to undefined function woo_shop_manager_admin() in /Users/amichaid/Local Sites/utmget/app/public/wp-content/plugins/woo-ajax-loginregister/includes/views/alr_addons_tab.phtml:146’
Turn on WP_DEBUG and have fun ??
Any help with this will be highly appreciated!
Thanks,
AmichaiHello,
Thank you for your reply! ??
on ‘woocommerce-ajax-login-register.php’, on line 199, you have this:
// First check the nonce, if it fails the function will break check_ajax_referer( 'woocommerce-login', 'woocommerce-login-nonce' );
This is the nonce check, that doesn’t work with WP rocket caching plugin.
It gets the nonce from an input field in the woocommerce login form, with id ‘woocommerce-login-nonce’.
And why would it work? If it doesn’t get the nonce dynamically via AJAX or something like that, it’ll be “burned” to all cached HTML files.
Thank you,
Amichai- This reply was modified 4 years, 2 months ago by amihaidany.
- This reply was modified 4 years, 2 months ago by amihaidany.
- This reply was modified 4 years, 2 months ago by amihaidany.
- This reply was modified 4 years, 2 months ago by amihaidany.
Forum: Plugins
In reply to: [Advanced Woo Search] Product tags not included in searchHello,
Thank you.
I have tried the code, didn’t work.Again, I have to emphasize that the problem has started after one of the latest updates.
Thanks!
- This reply was modified 4 years, 4 months ago by amihaidany.
Forum: Plugins
In reply to: [Advanced Woo Search] Product tags not included in searchHello,
I’m experiencing the same thing. After setting the ‘Search in’ to include tags, in the plugin settings page, we got not results relevant to the tags in the search PAGE (*not* ajax results).
This has started after one of the last updates.
Basically, when querying a search results page with the query string:
‘?s={s}&post_type=product&type_aws=true’, the search is not querying by tags.Thank you!
Hello,
Thank you for your reply! However, we DO need that payment gateway.
I’ve started to work on a workaround – to release any held coupons. With this snippet, “pending payments” order will not count the coupon as used by the user – only when being “processed”.
function release_held_coupons_for_unpaid_orders( $order_id ) { if ( ! $order_id ) { return; } $order = wc_get_order( $order_id ); $order->get_data_store()->release_held_coupons( $order, true ); } add_action( 'woocommerce_new_order', 'release_held_coupons_for_unpaid_orders', 999 );
What do you think?
Thanks!
- This reply was modified 4 years, 6 months ago by amihaidany.
Forum: Plugins
In reply to: [Age Gate] Getting custom fields data after age gate successHey Phil,
Just wanted to say thank you so much once again, your support is amazing and i’m sure everyone here appreciate it. BIG UP!
Amihai
- This reply was modified 5 years, 1 month ago by amihaidany.
- This reply was modified 5 years, 1 month ago by amihaidany.
Forum: Plugins
In reply to: [Age Gate] Getting custom fields data after age gate successHello Phil,
Thank you so much!
So, now the ultimate question is – can i modify the AJAX response from server, after aan age gate has been passed successfully?Besides setting my own flags in the user session server side (after getting the custom fields data), i want to modify some elements in the same page, after the age gate passed. So i want to rely on the ‘agegatepassed’ JS event, and have the data of the custom fields inside the response.
If that’s possible via hooks .. You just saved me whole lotta time! ??
Didn’t find a hook of the JSON response though ??
Thank you!- This reply was modified 5 years, 1 month ago by amihaidany.
Hello,
I’m having the same issue here as well.
Waiting for a fix.Thanks!