claghorn
Forum Replies Created
-
Forum: Plugins
In reply to: [SEOPress - On-site SEO] Stats in Dashboard for Shop Manager Role?Hi Benjamin,
We have SEOPress Pro and were wondering the same question about Shop Manager role being able to see the analytics stats in the dashboard. Is it possible or is there any code snippets that would help? Thanks
Make sure the email address being used for the Message is the same as the email address you are using for the SMTP settings. Also The article has a missing image and I’m guessing it’s checking this option:https://snipboard.io/WrGjzm.jpg
Hope this helps@mstobinski, it was shrinking the video popup size for me too if I would have the shortcode in bold or strong tags. Try making sure the shortcode is in plain text and see if it shows the video full size again without adding additional CSS
Forum: Plugins
In reply to: [WooCommerce] Additional Fields Missing From EmailsIssue was with the client’s override files they were using for email-order-details.php. It’s fixed
Got it working. It seems that they had modified templates overriding the WC standard one’s. Thanks!
Forum: Plugins
In reply to: [WooCommerce] Additional Fields Missing From EmailsI use to see the order summary, then customer details, and then billing info on email notifications. Now I just see order summary and billing info. Did something change in the code where customer details was renamed? I can post on github if you think I’d have better luck there. Thank you
Forum: Plugins
In reply to: [WooCommerce] Additional Fields Missing From EmailsI’m sorry, did you need me still to post on github? Just trying to follow, Thanks!
Forum: Plugins
In reply to: [The Events Calendar] Null errorI am receiving the same error after updating to 4.2. Please share the answer to the fix.
Forum: Plugins
In reply to: [WooCommerce] Custom Checkout FieldsIt works if I change my custom field names to billing_teacher, etc.
I’m wondering if the field name must already contain an “_”? It works and here is the code:add_filter('woocommerce_email_order_meta_fields', 'dog_breed_checkout_field_order_meta_fields', 10, 3 ); function dog_breed_checkout_field_order_meta_fields( $fields, $sent_to_admin, $order ) { $fields['_billing_student'] = array( 'label' => __( 'Student' ), 'value' => get_post_meta( $order->id, '_billing_student', true ), ); $fields['_billing_teacher'] = array( 'label' => __( 'Teacher' ), 'value' => get_post_meta( $order->id, '_billing_teacher', true ), ); $fields['_billing_grade'] = array( 'label' => __( 'Grade' ), 'value' => get_post_meta( $order->id, '_billing_grade', true ), ); return $fields; }
Thanks for all your help!
Forum: Plugins
In reply to: [WooCommerce] Custom Checkout FieldsHere is the code for all 3 custom fields:
add_filter(‘woocommerce_email_order_meta_fields’, ‘dog_breed_checkout_field_order_meta_fields’, 10, 3 );
function dog_breed_checkout_field_order_meta_fields( $fields, $sent_to_admin, $order ) {
$fields[‘_billing_student’] = array(
‘label’ => __( ‘Student’ ),
‘value’ => get_post_meta( $order->id, ‘_billing_student’, true ),
);
$fields[‘_teacher’] = array(
‘label’ => __( ‘Teacher’ ),
‘value’ => get_post_meta( $order->id, ‘_teacher’, true ),
);
$fields[‘_grade’] = array(
‘label’ => __( ‘Grade’ ),
‘value’ => get_post_meta( $order->id, ‘_grade’, true ),
);
return $fields;
}But only Student is coming through on the emails.
Forum: Plugins
In reply to: [WooCommerce] Custom Checkout Fieldschanging it to _billing_student worked!!!
How can I add multiple fields? Thanks
Forum: Plugins
In reply to: [WooCommerce] Custom Checkout Fieldsadd_filter(‘woocommerce_email_order_meta_fields’, ‘dog_breed_checkout_field_order_meta_fields’, 10, 3 );
function dog_breed_checkout_field_order_meta_fields( $fields, $sent_to_admin, $order ) {
$fields[‘billing_student’] = array(
‘label’ => __( ‘Student’ ),
‘value’ => get_post_meta( $order->id, ‘billing_student’, true ),
);
return $fields;
}Still no luck. Do I need to change more of the script for it to work?
Forum: Plugins
In reply to: [WooCommerce] Custom Checkout Fields/**
* Add the field to order emails
**/
add_filter(‘woocommerce_email_order_meta_keys’, ‘my_woocommerce_email_order_meta_keys’);function my_woocommerce_email_order_meta_keys( $keys ) {
$keys[‘Student’] = ‘billing_student’;
return $keys;
}Still no bueno ??
I’m adding it in the functions.php file in my theme directory. Is that the wrong spot?
Forum: Plugins
In reply to: [WooCommerce] Custom Checkout FieldsI tried with no luck:
/**
* Add the field to order emails
**/
add_filter(‘woocommerce_email_order_meta_keys’, ‘my_custom_checkout_field_order_meta_keys’);function my_custom_checkout_field_order_meta_keys( $keys ) {
$keys[] = ‘my_example’;
return $keys;
}My field is named “billing_student”. I’m using Checkout Field Editor Plugin to create my field.
https://snag.gy/et4X0.jpgForum: Plugins
In reply to: [WooCommerce] Custom Checkout Fields/**
* Add the field to order emails
**/
add_filter(‘woocommerce_email_order_meta_keys’, ‘my_woocommerce_email_order_meta_keys’);function my_woocommerce_email_order_meta_keys( $keys ) {
$keys[] = ‘billing_student’;
$keys[] = ‘student_1’;return $keys;
}