schmicho
Forum Replies Created
-
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] PDF Invoice is emptyHi Mohamed,
unfortunately it’s not possible to change the PHP Version of this site. 8.3 is the only PHP Choice I get from my Hoster… Is there any other way ?
Forum: Plugins
In reply to: [PDF Invoices & Packing Slips for WooCommerce] PDF Invoice is emptyHi Mohamad,
Thanks for the reply. there are no known fatal-errors or wpo-wcpdf entries in the log.
Here’s a screenshot from the status tabsForum: Plugins
In reply to: [Contact Form 7] Custom Fields as E-Mail recievermaybe. try with a standart post and see if it works
Forum: Plugins
In reply to: [Contact Form 7] Custom Fields as E-Mail recieverDid you filled out the ACF Field inside the post ?
Because the code looks goodForum: Plugins
In reply to: [Contact Form 7] Custom Fields as E-Mail recieverCan you send the code here ? Maybe I can help
Forum: Plugins
In reply to: [Contact Form 7] Custom Fields as E-Mail recieverYou can find the FORMULAR ID in the ID of the form.
It sais xxxx.com/wpadmin/admin.php?page=wpcf7&post=4101&action=edit
The Post=4101 is the formular IDThe ACF FIELD NAME however is the Field Name in ACF (not the Field Label)
Hope it helps.Forum: Plugins
In reply to: [Contact Form 7] Custom Fields as E-Mail recieverGot help from the WordPress Discord Server ??
add_action('wpcf7_before_send_mail', 'wpdudecom_modify_recipient_email'); function wpdudecom_modify_recipient_email($contact_form) { $target_form_id = *********FORMULAR ID***********; if ($contact_form->id() != $target_form_id) { return; } $submission = WPCF7_Submission::get_instance(); if (!$submission) { return; } $post_id = $submission->get_meta('container_post_id'); if (!$post_id) { return; } $custom_email = get_field('********ACF FIELD NAME********', $post_id); if (!$custom_email || !is_email($custom_email)) { return; } $mail_properties = $contact_form->prop('mail'); $mail_properties['recipient'] = $custom_email; $contact_form->set_properties(['mail' => $mail_properties]); }
Forum: Plugins
In reply to: [Contact Form 7] Custom Fields as E-Mail recieverI got this thing from ChatGPT but it’s not working ??
add_filter('wpcf7_posted_data', 'customize_email_recipient'); function customize_email_recipient($posted_data) { // Check if the form ID matches the form you want to customize if ($posted_data['_wpcf7'] == '178378c') { // Replace '178378c' with your form ID // Get the value of your custom field $custom_email = $posted_data['email']; // Set the email recipient to the custom email address $posted_data['mail']['recipient'] = $custom_email; } return $posted_data; }
Forum: Plugins
In reply to: [Contact Form 7] Custom Fields as E-Mail recieverI want to create several posts, each with unique content, but they’ll all share the same contact form. In the admin area, I’d like to assign a specific email address to each post using a custom field called ’email.’ Then, when someone fills out the contact form on any of these posts, the email should be sent to the address stored in the ’email’ custom field for that specific post.
Forum: Plugins
In reply to: [WooCommerce] Add Custom Fields from order backend to frontendHi carolm29
thanks for your reply.
I thought of something like this:You can see the name of the field in the first screenshot. It’s inside of the order #2916. In the frontent it would be possible to replace the id from the column “Bestellung” with the custom field, if it’s exist ??
Would that somehow be possible?
Forum: Plugins
In reply to: [YITH WooCommerce Affiliates] Registration-form is still in englishHi Juan,
thanks for the help. The Texts that would be neede to translate would be the whole registration and Login-form fron the Affiliate Dashboard (as seen in the screenshot). The link to the form is already in the first message ??
Or something like this for extre confirmation ??
Forum: Plugins
In reply to: [Ultimate WP Mail] No E-Mails when ordering (testmail works)okay. So I’ve tested. When I pay via Paypal sandbox the E-Mail gets send. (but only with the setting “Product purchased” and not “x time after purchase”)
When I pay via Bank Wire or SEPA it does not get send.
Forum: Plugins
In reply to: [Ultimate WP Mail] No E-Mails when ordering (testmail works)After further testing: When I add a “on Registration” email, it did get send out immediately after the registration. so the tool itself works. but the combination with ordering products does not. Can you check that ?
Forum: Plugins
In reply to: [Ultimate WP Mail] No E-Mails when ordering (testmail works)I’ve tried now every combination that is possible but there is no email…. The Log loggs the order but does not send out the mail. Any idea ?