Codeless
  • Support Home
  • Themes
  • Support
  • WordPress Tutorials
    • How to Start a Blog
    • Best Website Builders
    • Best Small Business Hosting
    • Email Marketing Services
    • Cheap WordPress Hosting
  • Video Tutorials

Community Forums

Woocommerce – "completed order" customer email -bug in template file

emailerrortemplatewoocommerce
    • 7 years, 11 months ago rebeccaolson
      Participant

      Expired

      Hello –

      One of my customers just forwarded me the email she was sent from Woocommerce when I marked her order as complete in the dashboard. At the very top (just under the header, above the order # and table of items) there is this error code:

      Warning: printf(): Too few arguments in /home3/lavendl6/public_html/wp-content/themes/Tower-Child/woocommerce/emails/customer-completed-order.php on line 28

      I contacted the Woocommerce forum, and they stated: “I think that your problem could be that the WooCommerce templates in your child theme “Tower-Child” are outdated.” However, under my Woocommerce/system status log I do not see this email as being outdated.

      I did customize the email (I added some text), which is why it is saved under my child theme. Could that be the issue? It has worked for a long time, so I’m unsure why it is suddenly showing an error (though I imagine it has something to do with an update.) Line 28 of the file is:

      “<p><?php printf( __( “Hello – we wanted to let you know that your recent order on %s has been completed. When you receive your order, please”

      Can you see the error? If this is only related to Woocommerce and you cannot help me, please let me know. I just wanted to check, since Woocommerce said to contact my theme support.

      Rebecca

    • 7 years, 11 months ago Mirela
      Participant

      Hello,

      Woocommerce has had a big update recently. So it is no wonder that there are major changes in it’s code that will affect the email work.

      I can suggest to, first copy once again the file woocommerce/emails/customer-completed-order.php from a newly updated woocommerce plugin folder (make sure it’s the latest version of plugin). And then redo the changes you have made to customize email template.
      Save a copy of the current version of the file as backup, in order to always have where to find the changes made.

      Let us know.

      Best regards!

    • 7 years, 8 months ago rebeccaolson
      Participant

      Expired

      That worked – thanks!

Viewing 2 reply threads

You must be logged in to reply to this topic.

Login

Log In
Register

Renew Support

  • Renew Specular Support
  • Renew Tower Support
  • Renew Folie Support
  • Renew Handel Support
  • Renew June Support
  • Renew Picante Support
  • Renew Thype Support
  • Renew Regn Support

Search Forums

Forums

  • Bygge – Construction Theme
  • Converta – Software Theme
  • Folie – The WordPress Website Builder
  • Handel – Responsive Multi-Purpose Business Theme
  • June WooCommerce WordPress Theme
  • Livecast – Podcast Theme
  • Picante – Restaurant & Food WordPress Theme
  • Regn | Agency & Business WordPress Theme
  • Remake – Minimal Portfolio & Agency Theme
  • Specular – Multi-Purpose WordPress Theme
  • Suggest us Features
  • Tower – Business-Driven Multipurpose WP Theme
  • Vibrance – Photography Theme

Site Links

  • Support Policy
  • Specular Support Forum
  • Video Tutorials
  • Knowledge Base
  • Guides and Reviews

Useful Articles

  • Build a Website
  • Web Design & Development
  • Hosting
  • WordPress

Login

Log In
Register Lost Password