• Resolved Damn Deal Done

    (@damndealdone)


    Hello.

    I have installed your plug-in and have created four new order statuses.

    ‘Order Successful’, ‘Made and Packed’, ‘Install received’, and ‘Shipped’.

    I have successfully made ‘Order Successful’ the default and created an email template for this.

    However when I attempt to make email templates for the other two statuses I find that they are using the same email template.

    ‘storefront/woocommerce/emails/customer-order-status-email.php’

    Is it not possible to have all new statuses use unique templates like the default statuses?

    Such as
    ‘storefront/woocommerce/emails/customer-order-successful.php’
    ‘storefront/woocommerce/emails/customer-made-and-packed.php’
    ‘storefront/woocommerce/emails/customer-install-received.php’

    Many thanks

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hello, we intend insert this feature on next realase. It will work similar as you suggested, only keeping the same template name + – + status slug like:

    storefront/woocommerce/emails/admin-order-status-email-order-successful.php
    storefront/woocommerce/emails/customer-order-status-email-made-and-packed.php

    storefront/woocommerce/emails/plain/admin-order-status-email-order-successful.php
    storefront/woocommerce/emails/plain/customer-order-status-email-made-and-packed.php

    We are just confirming some compatibilities and updating our documentation before

    Thread Starter Damn Deal Done

    (@damndealdone)

    Thank you, that would be great. I discovered today that it actually isn’t much of a problem since the header and footer are configurable in the options, per status email. The template can be made generic enough to apply to them all.

    I found a few quirks today that I hope you can help me with.

    1 – New Status creates public post.

    All new order statuses create a public post. Changing the post to private removes the status from the order so it can’t be selected. Do the order statuses need a post? Should I worry about this? I am new to WordPress so not sure if this is okay or not. I would not want these showing up in google results.

    2 – Red Indicator Circle in WooCommerce admin for default status.

    My newly set default status does not add the red indicator to the woocommerce admin side panel showing new orders. The standard status ‘Processing’ adds a small red circle with the number of orders set to that status. Such as ‘Order (3)’ but my new default status does not. I would like to remove this red indicator from ‘Processing’ and add it to the new default ‘New Order’.

    Thank you for the great and free plug-in that really helps.

    Thread Starter Damn Deal Done

    (@damndealdone)

    Hello. I found another little problem.

    If you change the default order status it will break Royal Mail Click and Drop auto retrieval.

    Click and Drop will only retrieve orders in the ‘Processing’ stage and no older than 7 days.

    Generally I want new orders to be defined as New Order, they can then sit in this state until I have made previous orders. Then I change them to Processing which means I am making them. After which they will change to Shipped/Complete. Later changed to Archived.

    I think I will return the default order back to Processing, but pragmatically change this title to appear to me as New Order, then make a new status ‘Real Processing’ which I can pragmatically change to appear to me as Processing.

    I think that will work.

    Cheers

    – Yes you can customize the content for each status using the default settings (additional content, heading, subject ), and also append content to the emails programmatically using the woocommerce email hooks like woocommerce_email_after_order_table, woocommerce_email_header and woocommerce_email_footer

    – What is happening on public post? Is it showing on search results? we are checking to prevent this on next release setting as not public

    – We are constantly increasing the plugin compatibilities, but some plugins only work with the default woocommerce settings. I will check about this specific case with the Royal Mail plugin and check if it is doable.

    – Let me know if your workaround has worked with the processing status notification

    Thread Starter Damn Deal Done

    (@damndealdone)

    Default order status is best left as the woocommerce default. I just used PHP to change the appearance of the default precessing status to ‘New Order’, which is semantically more accurate. So it’s still called ‘processing’ on the back-end which means the red indicator for new orders works and click and drop retrieves the new orders.

    I made the email for some new order statuses as generic as I could with only the header section and subject changed. So every thing is working well now and I don’t see me changing anything.

    Not sure the new order status posts are showing in search results. Will know in time. They are excluded from sitemaps and have noindex set on them.

    Cheers

    Great, I am closing this thread, feel free to reopen a new support thread if any new issue.

    Best regards

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘New order statuses are sharing the same email template’ is closed to new replies.