• Resolved exter71

    (@exter71)


    Hi guys,

    I’m working on custom html transactional emails replacing default woocommerce emails.
    I coded and test them on local and it has worked perfectly before I tried to deploy online.

    The html structure of the mail as well as the images are displayed well, but the text inside my <p> tags is not displayed or ignored.
    These emails contain dynamic information related to the order but also plain text that is not displayed either.

    -Emails are set with html type in woocommerce emais settings.
    -It is not a problem of folder because my template replaces the default one
    -It does not seem to be a php error because the identical mail was working fine locally

    If someone has already encountered this problem and found a solution, I am very interested.

    Thank you in advance

    Here is my environment :

    
    ### WordPress Environment ###
    
    WC Version: 5.4.1
    REST API Version: ✔ 5.4.1
    WC Blocks Version: ✔ 5.1.0
    Action Scheduler Version: ✔ 3.1.6
    WC Admin Version: ✔ 2.3.1
    Log Directory Writable: ✔
    WP Version: 5.7.2
    WP Multisite: –
    WP Memory Limit: 768 Mo
    WP Debug Mode: –
    WP Cron: ✔
    Language: fr_FR
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.20
    PHP Post Max Size: 256 Mo
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 7.66.0
    OpenSSL/1.1.1k-fips
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.32-35-log
    Max Upload Size: 256 Mo
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 5.4.1
    WC Database Prefix: txh_
    Taille totale de la base de données: 492.47MB
    Taille de la base de données: 438.33MB
    Taille de l’index: 54.14MB
    txh_woocommerce_sessions: Données : 7.52MB + Index : 0.27MB + Moteur InnoDB
    txh_woocommerce_api_keys: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_woocommerce_attribute_taxonomies: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_woocommerce_downloadable_product_permissions: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    txh_woocommerce_order_items: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_woocommerce_order_itemmeta: Données : 0.16MB + Index : 0.09MB + Moteur InnoDB
    txh_woocommerce_tax_rates: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    txh_woocommerce_tax_rate_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_woocommerce_shipping_zones: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_woocommerce_shipping_zone_locations: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_woocommerce_shipping_zone_methods: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_woocommerce_payment_tokens: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_woocommerce_payment_tokenmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_woocommerce_log: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_actionscheduler_actions: Données : 0.11MB + Index : 0.11MB + Moteur InnoDB
    txh_actionscheduler_claims: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_actionscheduler_groups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_actionscheduler_logs: Données : 0.08MB + Index : 0.06MB + Moteur InnoDB
    txh_commentmeta: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_comments: Données : 0.05MB + Index : 0.09MB + Moteur InnoDB
    txh_duplicator_pro_entities: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_duplicator_pro_packages: Données : 0.08MB + Index : 0.02MB + Moteur InnoDB
    txh_e_submissions: Données : 0.08MB + Index : 0.27MB + Moteur InnoDB
    txh_e_submissions_actions_log: Données : 0.02MB + Index : 0.11MB + Moteur InnoDB
    txh_e_submissions_values: Données : 0.08MB + Index : 0.03MB + Moteur InnoDB
    txh_forms_to_zapier: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_content_status: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_core_status: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_flags: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_languages: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_icl_languages_translations: Données : 0.20MB + Index : 0.17MB + Moteur InnoDB
    txh_icl_locale_map: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_icl_message_status: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_icl_mo_files_domains: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_node: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_icl_reminders: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_icl_strings: Données : 4.52MB + Index : 8.88MB + Moteur InnoDB
    txh_icl_string_batches: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_icl_string_packages: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_icl_string_pages: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_icl_string_positions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_string_status: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_string_translations: Données : 2.52MB + Index : 1.89MB + Moteur InnoDB
    txh_icl_string_urls: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_translate: Données : 8.48MB + Index : 0.11MB + Moteur InnoDB
    txh_icl_translate_job: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_icl_translations: Données : 0.30MB + Index : 0.78MB + Moteur InnoDB
    txh_icl_translation_batches: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_icl_translation_downloads: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_icl_translation_status: Données : 0.13MB + Index : 0.06MB + Moteur InnoDB
    txh_imagify_files: Données : 0.02MB + Index : 0.08MB + Moteur InnoDB
    txh_imagify_folders: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_iwp_backup_status: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_iwp_processed_iterator: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_jet_post_types: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_jet_smart_filters_indexer: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_jet_taxonomies: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_links: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_mailjet_wc_abandoned_carts: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_mailjet_wc_abandoned_cart_emails: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_mailjet_wc_guests: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_options: Données : 7.06MB + Index : 0.31MB + Moteur InnoDB
    txh_postmeta: Données : 154.08MB + Index : 10.78MB + Moteur InnoDB
    txh_posts: Données : 197.20MB + Index : 2.48MB + Moteur InnoDB
    txh_redirection_404: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    txh_redirection_groups: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_redirection_items: Données : 0.02MB + Index : 0.09MB + Moteur InnoDB
    txh_redirection_logs: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    txh_sbi_instagram_feeds_posts: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_sbi_instagram_feed_locator: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_sbi_instagram_posts: Données : 0.06MB + Index : 0.00MB + Moteur InnoDB
    txh_termmeta: Données : 0.06MB + Index : 0.03MB + Moteur InnoDB
    txh_terms: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_term_relationships: Données : 0.13MB + Index : 0.08MB + Moteur InnoDB
    txh_term_taxonomy: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_usermeta: Données : 0.08MB + Index : 0.03MB + Moteur InnoDB
    txh_users: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    txh_wc_admin_notes: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wc_admin_note_actions: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wc_category_lookup: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wc_customer_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_wc_download_log: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_wc_order_coupon_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_wc_order_product_lookup: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    txh_wc_order_stats: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    txh_wc_order_tax_lookup: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_wc_product_meta_lookup: Données : 0.13MB + Index : 0.17MB + Moteur InnoDB
    txh_wc_reserved_stock: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wc_tax_rate_classes: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wc_webhooks: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wfblockediplog: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wfblocks7: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    txh_wfconfig: Données : 1.38MB + Index : 0.00MB + Moteur InnoDB
    txh_wfcrawlers: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wffilechanges: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wffilemods: Données : 14.55MB + Index : 0.00MB + Moteur InnoDB
    txh_wfhits: Données : 8.02MB + Index : 3.33MB + Moteur InnoDB
    txh_wfhoover: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wfissues: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    txh_wfknownfilelist: Données : 5.52MB + Index : 0.00MB + Moteur InnoDB
    txh_wflivetraffichuman: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wflocs: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wflogins: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_wfls_2fa_secrets: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wfls_settings: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wfnotifications: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wfpendingissues: Données : 0.02MB + Index : 0.06MB + Moteur InnoDB
    txh_wfreversecache: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wfsnipcache: Données : 0.02MB + Index : 0.05MB + Moteur InnoDB
    txh_wfstatus: Données : 0.13MB + Index : 0.09MB + Moteur InnoDB
    txh_wftrafficrates: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wptc_activity_log: Données : 1.52MB + Index : 0.28MB + Moteur InnoDB
    txh_wptc_backups: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wptc_current_process: Données : 0.00MB + Index : 0.00MB + Moteur MyISAM
    txh_wptc_inc_exc_contents: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wptc_options: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wptc_processed_files: Données : 10.52MB + Index : 9.06MB + Moteur InnoDB
    txh_wptc_processed_iterator: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wptc_processed_restored_files: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_wptc_query_recorder: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wpvivid_scan_result: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wpvivid_unused_uploads_files: Données : 0.02MB + Index : 0.00MB + Moteur InnoDB
    txh_wsal_metadata: Données : 5.52MB + Index : 10.06MB + Moteur InnoDB
    txh_wsal_occurrences: Données : 0.31MB + Index : 0.48MB + Moteur InnoDB
    txh_yith_wcwl: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_yith_wcwl_lists: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_yoast_indexable: Données : 3.52MB + Index : 1.20MB + Moteur InnoDB
    txh_yoast_indexable_hierarchy: Données : 0.22MB + Index : 0.33MB + Moteur InnoDB
    txh_yoast_migrations: Données : 0.02MB + Index : 0.02MB + Moteur InnoDB
    txh_yoast_primary_term: Données : 0.02MB + Index : 0.03MB + Moteur InnoDB
    txh_yoast_seo_links: Données : 2.09MB + Index : 0.53MB + Moteur InnoDB
    
    ### Post Type Counts ###
    
    attachment: 4633
    custom-css-js: 2
    customize_changeset: 9
    custom_css: 3
    elementor_font: 1
    elementor_icons: 2
    elementor_library: 53
    iwp_log: 205
    jet-engine: 2
    jet-menu: 6
    jet-smart-filters: 10
    jet-woo-builder: 18
    nav_menu_item: 9
    oembed_cache: 24
    page: 85
    portfolio: 12
    post: 6
    product: 193
    product_variation: 1162
    revision: 5542
    shop_coupon: 3
    shop_order: 81
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (44) ###
    
    Backup and Staging by WP Time Capsule: par Revmakx – 1.22.1
    InfiniteWP - Client: par Revmakx – 1.9.4.12
    WPML Multilingual CMS: par OnTheGoSystems – 4.4.10
    WPML SEO: par OnTheGoSystems – 2.0.1
    Alma - Paiement en plusieurs fois pour WooCommerce: par Alma – 1.1.7
    Simple Custom CSS and JS: par SilkyPress.com – 3.36
    Duplicate Page: par mndpsingh287 – 4.4
    Google Tag Manager for WordPress: par Thomas Geiger – 1.13.1
    Elementor Pro: par Elementor.com – 3.3.1
    Elementor: par Elementor.com – 3.2.5
    Envato Market: par Envato – 2.0.6
    Flexible Shipping: par WP Desk – 4.6.1
    HookMeUp – Additional Content for WooCommerce: par GetBowtied – 1.3.4
    Imagify: par WP Media – 1.9.14
    Insert Headers and Footers: par WPBeginner – 1.6.0
    Smash Balloon Instagram Feed: par Smash Balloon – 2.9.1
    Iziflux: par Kassim Belghait  ; Johann & Armand at Iziflux :) – 1.0.10
    JetBlog For Elementor: par Crocoblock – 2.2.14
    JetElements For Elementor: par Crocoblock – 2.5.8
    JetEngine: par Crocoblock – 2.8.5
    JetMenu: par Crocoblock – 2.0.9
    JetSmartFilters: par Crocoblock – 2.3.0
    JetTabs For Elementor: par Crocoblock – 2.1.13
    JetTricks: par Crocoblock – 1.3.8
    JetWooBuilder For Elementor: par Crocoblock – 1.8.2
    JetGridBuilder: par Crocoblock – 1.1.0
    WooCommerce Load More Products: par BeRocket – 1.1.8.3
    Mailjet for WordPress: par Mailjet SAS – 5.2.12
    Redirection: par John Godley – 5.1.1
    Retainful - Abandoned Cart Recovery Emails and Next Order Coupons: par Retainful – 2.6.3
    Shopkeeper Extender: par GetBowtied – 1.6.9
    Use Any Font: par Dnesscarkey – 6.1.4
    Wizart Home - interior design solutions: par Wizart – 1.0.6.1
    WooSwatches - Woocommerce Color or Image Variation Swatches: par woomatrix – 3.0.0
    WooCommerce Stripe Gateway: par WooCommerce – 5.2.3
    WooCommerce Multilingual: par OnTheGoSystems – 4.11.6
    WooCommerce: par Automattic – 5.4.1
    Yoast SEO: par L’équipe Yoast – 16.6.1
    WP Rocket: par WP Media – 3.8.6
    WP Rollback: par Impress.org – 1.7.1
    WP Activity Log: par Consulter le blog de WordPress Security – 4.3.1
    WPML Media: par OnTheGoSystems – 2.6.4
    WPML String Translation: par OnTheGoSystems – 3.1.8
    WPML Translation Management: par OnTheGoSystems – 2.10.6
    
    ### Inactive Plugins (4) ###
    
    Contact Form 7 Multilingual: par OnTheGoSystems – 1.1.0
    SG Optimizer: par SiteGround – 5.8.1
    Wordfence Security: par Wordfence – 7.5.4
    YITH WooCommerce Wishlist: par YITH – 3.0.23
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (2) ###
    
    InfiniteWP - Client Loader: par Revmakx –
    WP Time Capsule: par Revmakx –
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    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: ✔
    
    ### WC Pages ###
    
    Base de la boutique: ❌ Page non définie
    Panier: #2953 - /cart/
    Commander: #2877 - /checkout/
    Mon compte: #2878 - /my-account/
    Conditions générales de vente et d’utilisation: ❌ Page non définie
    
    ### Theme ###
    
    Name: Shopkeeper
    Version: 2.9.32
    Author URL: https://www.getbowtied.com/
    Child Theme: ❌ – Si vous modifiez WooCommerce sur un thème parent que vous n’avez pas construit personnellement
    nous vous recommandons d’utiliser un thème enfant. Voir : Comment créer un thème enfant
    
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: shopkeeper/woocommerce/archive-product.php
    /home/customer/www/latoucheoriginale.com/public_html/wp-content/plugins/jet-woo-builder/templates/woocommerce/checkout/form-checkout.php
    shopkeeper/woocommerce/checkout/form-coupon.php
    shopkeeper/woocommerce/checkout/form-login.php
    shopkeeper/woocommerce/content-product.php
    shopkeeper/woocommerce/content-single-product.php
    shopkeeper/woocommerce/emails/customer-completed-order.php
    shopkeeper/woocommerce/emails/customer-processing-order.php
    shopkeeper/woocommerce/global/quantity-input.php
    shopkeeper/woocommerce/global/sidebar.php
    shopkeeper/woocommerce/global/wrapper-end.php
    shopkeeper/woocommerce/global/wrapper-start.php
    shopkeeper/woocommerce/myaccount/form-login.php
    shopkeeper/woocommerce/single-product/add-to-cart/simple.php
    shopkeeper/woocommerce/single-product/product-image.php
    shopkeeper/woocommerce/single-product/product-thumbnails.php
    shopkeeper/woocommerce/single-product/tabs/tabs.php
    shopkeeper/woocommerce/single-product.php
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • laceyrod

    (@laceyrod)

    Automattic Happiness Engineer

    Hi there,

    This is a more complex development question. I’ll go ahead and leave this thread open for a while in case anyone else wants to chime in, but in the meantime, I can also recommend the following resources for more development-oriented questions:

    – WooCommerce Slack Community: https://woocommerce.com/community-slack/
    – Advanced WooCommerce group on Facebook: https://www.facebook.com/groups/advanced.woocommerce/

    Cheers!

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We’ve not seen any activity on this thread for a while, so I’m marking this thread as resolved.

    Hopefully, you were able to find a solution to your problem! If you have further questions, please feel free to open a new topic.

    Cheers!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Woocommerce Custom Emails Issues’ is closed to new replies.