nartoof
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Fastest Cache] wpfc_clear_post_cache_by_id() for termsAll right,
Thank you for your answer, it’s good to know.
Have a nice dayHi,
All right, mail sent !
Thank you.
Done ??
Hi,
I did some tests and it’s now working very well.
Thank’s for the update.
Have a great day.
Hi,
Thanks you vert much for your help.
Have a nice day.
In the functions.php from the Child Theme ??
Hi,
Thank you for your answer.
I usually add some informations on the Woocommerce Emails like that :
function IL_custom_infos_before_table_woocommerce_emails($order, $sent_to_admin, $plain_text, $email) { if ( $email->id == 'customer_processing_order' || $email->id == 'customer_completed_order' ) { $order_id = $order->get_id(); $output = ''; if( metadata_exists('post', $order_id , 'delivery_date') && get_post_meta( $order_id, 'delivery_date', true) != "" ) { $output.= 'Date de livraison : <strong>' . date('d/m/Y' , strtotime( get_post_meta( $order_id, 'delivery_date', true ) ) ) . '</strong><br />'; } //Etc... echo '<p>' . $output . '</p>'; } } add_action('woocommerce_email_before_order_table', 'IL_custom_infos_before_table_woocommerce_emails',20,4);
That’s the first time I have to use your plugin and like I said,
$email->id
does not return expected value.Maybe you will answer I can display custom order meta data with a shortcode ?
But the point is I sometimes need to display some text and the value only if there the value is != ” or if the meta got a specific value…Do you have any advice to make the native hook work with your plugin ?
Thank you.
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] Add due date from order metaThank you very much for your answer.
I already tried the
wpo_wcpdf_before_document
hook but it didn’t work.The difference is I really need to use a hook to save the due date as order meta, and after that print it in the template with a
$order->get_meta('due_date');
But I’ll find a way to figure it out with your answer ??
Have a nice day.
- This reply was modified 2 years, 1 month ago by nartoof.
Forum: Plugins
In reply to: [Customer Email Verification for WooCommerce] Resend email linkHi @wpcodefactory,
I post in this thread because I got the same problem here.
I although use Login / Signup popup plugin to manage login and register on my Woocommerce Websites.
Your plugin works great if user click on the activation link (thank you for your plugin btw), but if I try to login an unverified account (and some users will…), I got the error message with your
%resend_verification_url%
URL.This URL is : [site_url()]/wp-admin/admin-ajax.php?alg_wc_ev_user_id=xxx
I got WP_DEBUG activated and the logs doesn’t show any messages (I checked the debug.log and the woocommerce logs)
It looks like the AJAX request is empty, it returns an error 400 in the console and display a “0”.
However, the resend E-mail verification link works anyway !Maybe it is just the wp_safe_redirect() not working in your
admin_manual_actions()
function ?I’ll be happy to give you more informations if needed.
Have a nice day.
Forum: Plugins
In reply to: [WP Crontrol] unable to save custom eventHi @johnbillion
Thank you for the update.
Unfortunately there is still some problems with the
DISALLOW_FILE_EDIT
constant.
We now can add events, but there I’ve noticed 2 problems :-After adding the event, if I run it now, I got an error : The cron event cannot be found.
-After a few days, the CRON event disappear like the guy on this thread .But if I set
DISALLOW_FILE_EDIT
to false, there is no problem ??I tried both schedule now, tomorrow and a specific date. I although tried several frequency, the problem persists…
Thanks for your help ??
Forum: Plugins
In reply to: [Site Reviews] Custom select field option value@geminilabs Thanks a lot for the advice ??
Forum: Plugins
In reply to: [WP Crontrol] unable to save custom eventHi,
I got exactly the same problem since 1.9.0
I can’t add any cron event unless I disable the constant
define('DISALLOW_FILE_EDIT',true);
If I disable this constant and add my event, it works. But if I reactivate the constant, the cron Event disappear after a few days…
It it can help :
* Which version of PHP are you using?
7.3* Which version of WordPress are you using?
5.6.1* Which browser and OS are you using?
Chrome / Win 10* Are you using the date and time pickers when choosing the time for the event?
I tried both (run now and to a specific time), same problem.* Are there any errors showing in your PHP error log?
There is no PHP error in the log.* Do you have an object caching plugin installed? (eg. for Redis or Memcached)
WP Fastest Cache, but I tried to disable it, same issue.* What is your timezone?
French. UTC +1Hi @xootix,
I’m really sorry I forgot to answer to that post.
I knew you can use some hooks on an ajax based feature, but I wasn’t able to find if there is any on your plugin.
But there is ??
Your answer helped a lot, thank you !
Have a nice day !
Forum: Plugins
In reply to: [PW WooCommerce Gift Cards] Remove order item meta amountHi @pimwick
I’m really sorry I didn’t answer sooner.
It is indeed correct.
I’d like to hide the order item meta amount, because the gift card amount is already displayed as order item meta on my website.
Is there any filter I can use to hide this meta data ?
Thanks for your help ??
Forum: Plugins
In reply to: [WooCommerce Cart Abandonment Recovery] Use Woocommerce Template EmailHi @cartflows
Thank you for your answer ??
That’s not a huge issue, only a back office problem but there is no problem on frontend ??
Have a nice day !