• I och med sista uppdateringen av WordPress Woocommerce så försvann den egna text jag lagt in i inledningen av alla orderbekräftelser som skickas automatiskt till kund vid inkommande order (order On hold). Det händer lite då och då så snart de uppdatear och det har jag vant mej vid. Men nu helt plötsligt så står det ordet ”test” precis ovanför orderdatan i alla mail som skickas till kund samt i mailet som kommer till min adress i och med en ny order. Hur får jag bort detta?

    Sidan jag behöver hjälp med: [logga in för att se länken]

Visar 1 svar - 1 till 8 (av 8 totalt)
  • Hey @smallbrands! I don’t speak Swedish, but I can read it.

    så försvann den egna text jag lagt in i inledningen av alla orderbekräftelser som skickas automatiskt till kund vid inkommande order

    I tried to do some searching on this, but the terms are just too vague to find anything useful.

    It sounds like you’ve customized the email templates, and then something has overridden them. I’d take a look to see if the word “test” is now in the templates. If it is, then the templates have just been overwritten – I’m not sure what did it, but it’s always possible.

    If the word “test” isn’t in the templates, then a plugin is adding it in. In that case, a plugin/theme conflict test is in order. Here’s how to do it:

    The best way to determine if the issue is being caused by a theme and/or plugin is to temporarily switch your theme to Storefront and disable all plugins except for WooCommerce. If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you while you’re logged in to that session without affecting normal visitors to your site. Note that Health Check may not count Storefront as a default theme, so you can also use Twenty Seventeen as well.

    If that resolves the issue, then one-by-one you can switch back your theme and re-enable your plugins, testing in between, until you find the one causing the conflict.

    Please do let me know how it goes!

    Trådstartare smallbrands

    (@smallbrands)

    Thanks @fernashes for the reply. I tried to install Health check and disabled all plugins except for WooCommerce, but unfortunately the text ”Test” still shows on the Order mail, the mail I receive with every new order and the mail sent out to the customer when the Order is processed. Do you have any more ideas what I can do to remove it…?

    Ulrika

    Hey Ulrika!

    But unfortunately the text ”Test” still shows on the Order mail

    Thanks for letting me know how it went. If you check the email template via WooCommerce > Settings > Email, for example the ”Order processing” email template, do you see the word test in it?

    Trådstartare smallbrands

    (@smallbrands)

    Hi again,

    No, none of the templates for e-mails contain the word ”Test”…that is the mystery for me. How can I remove it when I can not see it in the templates..? Here is the template for ”Order on hold”:

    <?php
    /**
    * Customer on-hold order email
    *
    * This template can be overridden by copying it to yourtheme/woocommerce/emails/customer-on-hold-order.php.
    *
    * HOWEVER, on occasion WooCommerce will need to update template files and you
    * (the theme developer) will need to copy the new files to your theme to
    * maintain compatibility. We try to do this as little as possible, but it does
    * happen. When this occurs the version of the template file will be bumped and
    * the readme will list any important changes.
    *
    * @see https://docs.woocommerce.com/document/template-structure/
    * @author WooThemes
    * @package WooCommerce/Templates/Emails
    * @version 2.5.0
    */

    if ( ! defined( ’ABSPATH’ ) ) {
    exit;
    }

    /**
    * @hooked WC_Emails::email_header() Output the email header
    */
    do_action( ’woocommerce_email_header’, $email_heading, $email ); ?>

    <p><?php _e( ”Thank you for your order. If you are a new customer a Proforma invoice will be e-mailed to you shortly, if you are an existing customer och a Dropship customer an invoice will be e-mailed to you when the order has left our Warehouse. Your order details are shown below for your reference:”, ’woocommerce’ ); ?></p>

    <?php

    /**
    * @hooked WC_Emails::order_details() Shows the order details table.
    * @hooked WC_Structured_Data::generate_order_data() Generates structured data.
    * @hooked WC_Structured_Data::output_structured_data() Outputs structured data.
    * @since 2.5.0
    */
    do_action( ’woocommerce_email_order_details’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::order_meta() Shows order meta data.
    */
    do_action( ’woocommerce_email_order_meta’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::customer_details() Shows customer details
    * @hooked WC_Emails::email_address() Shows email address
    */
    do_action( ’woocommerce_email_customer_details’, $order, $sent_to_admin, $plain_text, $email );

    /**
    * @hooked WC_Emails::email_footer() Output the email footer
    */
    do_action( ’woocommerce_email_footer’, $email );

    Trådstartare smallbrands

    (@smallbrands)

    PS I don’t know if it is related, but I checked when the word ”Test” started to appear in the e-mails and it was the 31st of Jan. The same day I received an e-mail from WordPress about an update to version 3.3.0. Can it be related..?

    Plugins:
    – WooCommerce was updated to version 3.3.0

    Perfect, thanks for the update!

    It turns out this is a small bug that slipped into the latest release of WooCommerce, and will be fixed in the next version:
    https://github.com/woocommerce/woocommerce/pull/18686

    In the mean time, you can safely roll back to WooCommerce 3.2.6 using the WP Rollback plugin:
    https://wordpress.org/plugins/wp-rollback/

    Trådstartare smallbrands

    (@smallbrands)

    Thank you for the answer, I installed the WP Rollback plugin and changed to Woocommerce 3.2.6 and the text finally disappeared..!

    I guess the system autmatically updates to the newest version next time, skipping version 3.7? Ulrika

    Glad to hear it!

    I guess the system autmatically updates to the newest version next time, skipping version 3.7? Ulrika

    You’ve rolled back to 3.2.6. When WooCommerce 3.3.1 is released, it’ll show up as an update on your dashboard.

    Your site may be set up to automatically update WordPress and/or plugins – you can check here:
    http://www.wpbeginner.com/wp-tutorials/how-to-disable-automatic-updates-in-wordpress/

Visar 1 svar - 1 till 8 (av 8 totalt)
  • Ämnet ”Varför står det ”test” i orderbekräftelsen?” är stängt för nya svar.