Home Forums WoodMart support forum Emails Look weird

Emails Look weird

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #184637

    michaelmarte
    Participant

    Hey there, just set up a Site with a shop, but I am having troubles with May emails. They show some Code snippets.
    Can you help Mr where and how top fix That?

    #184674

    Hello,

    Thank you very much for choosing our theme and for contacting us.

    Which emails do you mean from the contact plugin or from Woocommerce?

    Best Regards

    #184701

    michaelmarte
    Participant

    Hey there, sorry for beeing unprecise. The woocommerce emails are buggy, but in the meantime i could find out that it is a woocommerce 4.0 problem.
    Theres a quickfix on github, works fine for the moment.
    Waiting for the woocommerce fix.

    Thanks for the quick answer.

    /**
    * ————————————————————————————————
    * QUICKFIX UNTIL: https://github.com/woocommerce/woocommerce/pull/26075
    * ————————————————————————————————
    */
    /*
    * Remove the default WooCommerce 3 JSON/LD structured data format
    */
    function remove_output_structured_data() {
    remove_action( ‘woocommerce_email_order_details’, array( WC()->structured_data, ‘output_email_structured_data’ ), 30 ); // Emails
    }

    add_action( ‘init’, ‘remove_output_structured_data’ );

    #184722

    Hello,

    Please check how it works with the free Storefront theme. If it works properly, deactivate the plugin not related to the WoodMart theme and check with WoodMart.

    Best Regards

Tagged: 

Viewing 4 posts - 1 through 4 (of 4 total)