• Resolved cohenshana

    (@cohenshana)


    I’d like to include a custom note when someone purchases any variation a specific item — a consultation — and show that in the text. I’m trying to say “Please email me to set up a mutually convenient day and time for your …” and insert the consultation time — 30 / 60 / 90 minute consultation.

    I’m following the instructions in this page https://codexin.com/how-to-customize-woocommerce-order-emails-for-specific-products/ and I’m able to get the text to show in the email – but I can’t figure out how to show the variation name. (all the support docs I can find say how to show the product name in the subject, or show the product description, not the variation name.)

    I inserted the following code into functions.php — I know {item-names} is wrong but can’t figure out how to call the variation name in the text

    add_action( 'woocommerce_email_before_order_table', 'cdxn_custom_order_emails_product_category', 999 );
    
    function cdxn_custom_order_emails_product_category( $order_id ) {
        // message to include in the order confirmation email
    	$message ='Please email me to set up a mutually convenient day and time for your {item_names}';
        $order = wc_get_order( $order_id );
        $cat_in_order = false;
        $items = $order->get_items();
            
        foreach ( $items as $item ) {      
            $product_id = $item->get_product_id();  
            if ( has_term( 'consultation', 'product_cat', $product_id ) ) {
                $cat_in_order = true;
                break;
            }
        }
        
        if ( $cat_in_order ) {
            echo $message;
        }
    }
    
    
    // END ENQUEUE PARENT ACTION

    System report here:

    ` WordPress Environment
    
    WordPress address (URL): https://nycss.wordifysites.com
    Site address (URL): https://nycss.wordifysites.com
    WC Version: 8.8.3
    REST API Version: ? 8.8.3
    Action Scheduler Version: ? 3.7.4
    Log Directory Writable: ?
    WP Version: 6.5.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: – Server Environment
    
    Server Info: Apache
    PHP Version: 8.0.30
    PHP Post Max Size: 64 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 1000
    cURL Version: 7.61.1
    OpenSSL/1.1.1k
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.36-cll-lve
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ? Database
    
    WC Database Version: 8.8.3
    WC Database Prefix: wp_
    Total Database Size: 148.31MB
    Database Data Size: 134.98MB
    Database Index Size: 13.33MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.05MB + Index: 0.11MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cli_csv_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_db7_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    wp_e_notes_users_relations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_e_submissions: Data: 0.02MB + Index: 0.23MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_edd_adjustmentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_adjustments: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_edd_customer_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_edd_customer_email_addresses: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_edd_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_customers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_edd_logmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_logs: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_edd_logs_api_requestmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_logs_api_requests: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_logs_file_downloadmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_logs_file_downloads: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_edd_notemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_notes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_edd_notifications: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_order_addresses: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_edd_order_adjustmentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_order_adjustments: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_edd_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_edd_order_transactions: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_edd_ordermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_edd_orders: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
    wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_gf_entry: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_entry_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_gf_entry_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_form_view: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_import_detail_log: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_import_log_detail: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_import_postID: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_jetpack_sync_queue: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_learnpress_files: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_learnpress_order_itemmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_learnpress_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_learnpress_question_answermeta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_learnpress_question_answers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_learnpress_quiz_questions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_learnpress_section_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_learnpress_sections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_learnpress_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_learnpress_user_item_results: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_learnpress_user_itemmeta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_learnpress_user_items: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_o_er_contacts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_o_er_contacts_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_o_er_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_o_er_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_o_er_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 18.22MB + Index: 0.13MB + Engine InnoDB
    wp_postmeta: Data: 38.22MB + Index: 2.59MB + Engine InnoDB
    wp_posts: Data: 12.25MB + Index: 0.47MB + Engine InnoDB
    wp_smackcsv_file_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_smackuci_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_curriculum_materials: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_curriculum_sections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_stm_lms_user_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_cart: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_chat: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_conversation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_courses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_lessons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_stm_lms_user_quizzes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_quizzes_times: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_stm_lms_user_searches_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_strong_views: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_thim_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_tutor_earnings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tutor_quiz_attempt_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tutor_quiz_attempts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tutor_quiz_question_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tutor_quiz_questions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_tutor_withdraws: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ultimate_csv_importer_acf_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ultimate_csv_importer_mappingtemplate: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ultimate_csv_importer_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ultimate_csv_importer_shortcode_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_ultimate_post_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_usermeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wprss_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.13MB + Index: 0.30MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.20MB + Index: 0.14MB + Engine InnoDB
    wpstg0_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpstg0_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpstg0_db7_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    wpstg0_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wpstg0_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpstg0_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_options: Data: 27.52MB + Index: 0.08MB + Engine InnoDB
    wpstg0_postmeta: Data: 1.52MB + Index: 0.11MB + Engine InnoDB
    wpstg0_posts: Data: 0.38MB + Index: 0.06MB + Engine InnoDB
    wpstg0_stm_lms_curriculum_materials: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_curriculum_sections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_stm_lms_user_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_cart: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_chat: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_conversation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_courses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_lessons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_stm_lms_user_quizzes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_quizzes_times: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_stm_lms_user_searches_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wpstg0_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wpstg0_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg0_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg0_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpstg0_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpstg0_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg0_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg0_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg0_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
    wpstg0_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_actionscheduler_actions: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpstg1_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpstg1_db7_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB
    wpstg1_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg1_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wpstg1_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpstg1_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_options: Data: 27.44MB + Index: 0.08MB + Engine InnoDB
    wpstg1_postmeta: Data: 1.52MB + Index: 0.11MB + Engine InnoDB
    wpstg1_posts: Data: 0.38MB + Index: 0.06MB + Engine InnoDB
    wpstg1_stm_lms_curriculum_materials: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_curriculum_sections: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg1_stm_lms_user_answers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_cart: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_chat: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_conversation: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_courses: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_lessons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_stm_lms_user_quizzes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_quizzes_times: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_searches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_stm_lms_user_searches_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg1_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wpstg1_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wpstg1_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg1_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg1_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg1_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wpstg1_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wpstg1_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg1_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wpstg1_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wpstg1_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wpstg1_wpforms_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wpstg1_wpforms_payment_meta: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wpstg1_wpforms_payments: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
    wpstg1_wpforms_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts
    
    attachment: 141
    courses: 2
    customize_changeset: 53
    custom_css: 2
    elementor_library: 12
    feedzy_imports: 2
    lp_course: 2
    lp_lesson: 1
    lp_order: 1
    nav_menu_item: 15
    page: 47
    post: 667
    product: 5
    product_variation: 3
    revision: 1422
    shop_order_placehold: 6
    stm-courses: 1
    stm-lessons: 1
    thim_elementor_kit: 6
    wpforms: 2
    wpm-testimonial: 57
    wprss_feed: 1
    wprss_feed_template: 1
    wp_global_styles: 2
    wp_navigation: 1
    yaymail_template: 11
    zoom-meetings: 5 Security
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?Error messages should not be shown to visitors. Active Plugins (25)
    
    Gravity Forms: by Gravity Forms – 2.8.9
    Advanced Cron Manager: by BracketSpace – 2.5.5
    Astra Pro: by Brainstorm Force – 4.6.8
    Premium Starter Templates: by Brainstorm Force – 4.2.0
    Better Search Replace: by WP Engine – 1.4.6
    Additional Custom Emails for WooCommerce: by WPFactory – 2.9.9
    Duplicate Page: by mndpsingh287 – 4.5.3
    Elementor Pro: by Elementor.com – 3.21.2
    Elementor: by Elementor.com – 3.21.4
    Email Reminders: by wpdevelop
    oplugins – 2.0.4
    
    Feedzy RSS Feeds Lite: by Themeisle – 4.4.8
    Elementor Header & Footer Builder: by Brainstorm Force
    Nikhil Chavan – 1.6.28
    
    Health Check & Troubleshooting: by The www.ads-software.com community – 1.7.0
    Strong Testimonials: by WPChill – 3.1.12
    Thim Elementor Kit: by ThimPress – 1.1.9
    Spectra: by Brainstorm Force – 2.13.1
    Ultimate Addons for Elementor: by Brainstorm Force – 1.36.31
    User Switching: by John Blackbourn & contributors – 1.7.3
    Video Conferencing with Zoom: by Deepen Bajracharya – 4.4.6
    WP Menu Cart: by WP Overnight – 2.14.3
    WooPayments: by Automattic – 7.6.0
    WooCommerce: by Automattic – 8.8.3
    Yoast SEO: by Team Yoast – 22.6
    WP Extra File Types: by Davide Airaghi – 0.5.2
    YayMail - WooCommerce Email Customizer: by YayCommerce – 3.5.1 Inactive Plugins (5)
    
    Easy Digital Downloads: by Easy Digital Downloads – 3.2.12
    Server IP & Memory Usage Display: by Apasionados
    Apasionados del Marketing – 2.1.0
    
    Spectra Pro: by Brainstorm Force – 1.1.6
    WooCommerce Shipping & Tax: by WooCommerce – 2.5.5 (update to version 2.5.6 is available)
    WP Ultimate CSV Importer: by Smackcoders – 7.10.19 Must Use Plugins (2)
    
    Elementor Safe Mode: by Elementor.com – 1.0.0
    Health Check Troubleshooting Mode: by – 1.9.1 Settings
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ?
    HPOS feature screen enabled: ?
    HPOS feature enabled: ?
    Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore
    HPOS data sync enabled: – Logging
    
    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 4 MB WC Pages
    
    Shop base: #5523 - /shop/
    Cart: #7056 - /cart/
    Checkout: ? Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.
    My account: ? Page ID is set
    but the page does not exist
    
    Terms and conditions: ? Page not set Theme
    
    Name: Astra Child
    Version: 4.6.8.1709826101
    Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    Child Theme: ?
    Parent Theme Name: Astra
    Parent Theme Version: 4.6.14
    Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme
    WooCommerce Support: ? Templates
    
    Overrides: astra-child/woocommerce/emails/admin-new-order.php
    astra-child/woocommerce/emails/customer-processing-order.php WooPayments
    
    Version: 7.6.0
    Connected to WPCOM: Yes
    WPCOM Blog ID: 232666389
    Account ID: acct_1PCMB0FdQra0XoZW
    Payment Gateway: Enabled
    Test Mode: Enabled
    Enabled APMs: card
    WooPay: Disabled
    WooPay Incompatible Extensions: No
    Apple Pay / Google Pay: Enabled (product,cart,checkout)
    Fraud Protection Level: basic
    Multi-currency: Disabled
    Public Key Encryption: Disabled
    Auth and Capture: Enabled
    Documents: Disabled
    Logging: Enabled Admin
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    product-variation-management
    product-virtual-downloadable
    product-external-affiliate
    product-grouped
    product-linked
    product-pre-publish-modal
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    product-custom-fields
    settings
    async-product-editor-category-field
    launch-your-store
    
    Daily Cron: ? Next scheduled: 2024-05-10 17:45:10 -04:00
    Options: ?
    Notes: 72
    Onboarding: completed Action Scheduler
    
    Canceled: 3
    Oldest: 2024-05-10 11:19:08 -0400
    Newest: 2024-05-10 11:57:08 -0400
    
    Complete: 76
    Oldest: 2024-04-12 09:58:33 -0400
    Newest: 2024-05-10 11:57:41 -0400
    
    Failed: 2
    Oldest: 2024-03-21 09:04:55 -0400
    Newest: 2024-05-09 10:11:49 -0400
    
    Pending: 2
    Oldest: 2024-05-10 20:32:27 -0400
    Newest: 2024-05-11 11:41:44 -0400 Status report information
    
    Generated at: 2024-05-10 12:18:49 -04:00
    `

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @cohenshana

    For reference, this particular forum is meant for general support with the core functionality of WooCommerce itself. For development and custom coding questions, it’s best to ask for insight related to those on either the WooCommerce Advanced Facebook group or the WooCommerce Community Slack. Many of our developers hang out there and will be able to offer insights into your question. You can also seek help from the following:

    I wish I could help more, but hopefully, this gets you going in the right direction to get some further insight/information.

    Thread Starter cohenshana

    (@cohenshana)

    Thanks for your response. I posted it here because I saw many posts about very similar topics in this support stream, but I’ll look at the other resources you suggested.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Variation name in text of completed order email’ is closed to new replies.