Jump to content

edit receipt


Recommended Posts

For example, edit mails/en/order_conf.txt to change the text sent to customers if their email client doesn't support html:

Hello {firstname} {lastname}, thank you for your order on {shop_name}!

Order details

   Order: {order_name} placed on {date}
   Payment: {payment}

   Products: {total_products}
   Discounts: {total_discounts}
   Shipping: {total_shipping}
   Gift-wrapping: {total_wrapping}
   Total paid: {total_paid}


Shipping

   Carrier: {carrier}

   Delivery address:

   {delivery_company}
   {delivery_firstname} {delivery_lastname}
   {delivery_address1}
   {delivery_address2}
   {delivery_postal_code} {delivery_city}
   {delivery_country} {delivery_state}
   {delivery_other}

   Billing address:

   {invoice_company}
   {invoice_vat_number}
   {invoice_firstname} {invoice_lastname}
   {invoice_address1}
   {invoice_address2}
   {invoice_postal_code} {invoice_city}
   {invoice_country} {invoice_state}
   {invoice_other}

You can review this order and download your invoice from the "Order history" section of your account by clicking "My account" on our Website. 

{shop_url} powered by PrestaShop™



You will need to edit mails/en/order_conf.html too for those customers whose email client supports HTML.

Link to comment
Share on other sites

This isn't code that I've written. That's the default PrestaShop email template that is sent out when a customer completes an order. You need to edit the file yourself, make whatever changes you want, then upload it to your server. You haven't explained exactly what it is you want to do.

Link to comment
Share on other sites

  • 2 months later...

Hi Rocky. What I'm trying to accomplish is to edit the product details that is included in the email (order_conf.html). From what I see {products} outputs: reference, product description, unit price, amount, total price. I just need the product description and the total price. Also I want to be able to style the output (without background color and other things).

On another related note, I also want to modify the pdf invoice format. How could I do this?

Link to comment
Share on other sites

Hi Rocky. What I'm trying to accomplish is to edit the product details that is included in the email (order_conf.html). From what I see {products} outputs: reference, product description, unit price, amount, total price. I just need the product description and the total price. Also I want to be able to style the output (without background color and other things).

On another related note, I also want to modify the pdf invoice format. How could I do this?


I reply myself. To edit the product details, take a look here: http://www.prestashop.com/forums/viewthread/91113/configuring___using_prestashop/removine_reference_from_order_confirmation_email.

About the pdf invoice. It took me forever to make the changes, but I did it thanks to this: http://www.prestashop.com/forums/viewthread/67723/development/how_to_edit_pdf_invoice_content_in_prestashop_1_dot_3_dot_1
Link to comment
Share on other sites

  • 2 years later...

Hi Rocky,

 

I am editing my order_conf.txt file through dreamweaver but the ticket it prints in the store is still showing all details, even though i have deleted certain parts, like discounts for example. Not sure why this is not updating.

 

Also if i want to change the names of say the 'carrier' to order type where would i edit that to change that. And i have now removed the reference code of the product as it duplicate that on the ticket / print out, but i have two prices, the same when one products and double or triple if more of the same product is ordered, i dont need that as i have the total paid which is the important part.

 

Any help would be awesome.

 

Regards

 

Patrick

Link to comment
Share on other sites

×
×
  • Create New...