Jump to content

Bug on Order Accepted email


giwrgos88

Recommended Posts

Hello, I have a small issue with the Order Accepted template. There are variables that instead of the value the email shows the variable name, where on the pdf that is attached with the email is fine. I have updated the emails to the latest version but still I'm having the same issue. Does anyone knows why?

 

here is a sample image

 

Screen_Shot_2016_05_03_at_14_59_18.jpg

 

Thanks

Link to comment
Share on other sites

Probably because those extra variables are not set when formatting the email, while {total_paid} is.

Is that email sent on order state changing?

In that case, did you extend OrderHistory::sendEmail()?

Nop I didn't extend it, I haven't touch the emails, is the default way, how are coming from prestashop

Link to comment
Share on other sites

Sorry for yesterday, I was looking at the wrong place. This is the order confirmation email, which is sent by the payment modules.

Which payment module(s) do you use? Does the error occurs with all of them?

yes it occurs with all the payments, do you believe the problem is coming from a module?

Link to comment
Share on other sites

If the error occurs with all your payment modules (how many do you have?), it may rather come from the common code ie /classes/PaymentModule.php.

Is there an override (file /override/classes/PaymentModule.php)?

Which version of PS?

Link to comment
Share on other sites

  • 1 month later...

If the error occurs with all your payment modules (how many do you have?), it may rather come from the common code ie /classes/PaymentModule.php.

Is there an override (file /override/classes/PaymentModule.php)?

Which version of PS?

Hello sorry for taking me so long to reply. There is not any override class for PaymentModule.php. I have cash on delivery and paypal. The issue is only with the order accepted template, the order confirmation is fine which is the same email file.

Link to comment
Share on other sites

  • 3 months later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...