PrestaShop 1.7.6.1 Notification of payment received Paypal - Order Reference in the body of the email - prestashop

I need your help ...
In the "Paypal Payment Notification" email, how can I make the order reference / id appear in the body of the email instead of the product identifier entered in its product sheet?
I cannot find the folder that contains the file in question.
Prestashop 1.7

Related

How could I solve this error? [400] validation.error.contacts.no.contact.lists: Campaign Email Contact List is null or empty

I have created a Webhook scenario. The Webhook payload is received then created as a contact in Constant Contact, next an Email Campaign is created for Constant Contact, then an Email Activity is Scheduled for Constant Contact. In the Create a Contact options I save the contact to a contact list which is in the Contact List ID 1 input box. The new contact should be saving to the specified contact list. When I execute the scenario, I get this error below. The error bundle shows on the Schedule an Email Activity. For some reason the contact is not saving to the specified contact list. Any thoughts on how to solve this issue?
[400] validation.error.contacts.no.contact.lists: Campaign Email Contact List is null or empty, please include a valid contact list with this request

Prestashop 1.7.6.9 display default category_name into email and backoffice order

I need to show:
"default category name" of the purchased products into email template
order_conf "default category name" of the purchased products into
backoffice > single order (where at the moment it shows product_name + reference)
BO > orders > order > purchased product
Would you give me some indication on the files to be modified to show the category name (default_category) of the purchased products?
I have searched around the web but I can't find any solution / instructions to do this
Thanks to anyone who will be able to help me
Prestashop 1.7.6.9
To show info in back office order detail you can use hook displayAdminOrderLeft.
For more info look at https://devdocs.prestashop.com/1.7/modules/concepts/hooks/list-of-hooks/
For mail you must change order_conf.html in mails directory.
To put extra data in template vars you can use actionEmailAddBeforeContent hook.
Thankyou Fran Cerezo for the indication to investigate.
To show Default Category name into hook "displayAdminOrderLeft", i opened
/admin123456/themes/default/template/controllers/orders/_product_line.tpl file
So i added
{if isset($product.id_category_default)}
{assign var='catname' value=Category::getCategoryInformations(array($product.id_category_default))}
{$catname[$product.id_category_default].name}
{/if}
Otherwise, to show the "default category name" in the order confirmation email (for single product purchased) I'm in trouble ..
The /mails/it/order_conf.html file declares the {products} variable.
Where do I find the template to edit the {products} variable and then add the category name information?
Where is the reference file located?
Thanks
{products variable into order_conf.html}

Cannot validate a non-balanced entry error on validate supplier invoice OpenERP 7

I have faced the warning pop on validate the supplier invoice with OpenERP 7
1 - select supplier invoice and select supplier
2 - Add Product in invoice line
3 - select Other Info Tab and Add Payment Terms
4 - Validate the invoice
When trying to validate an invoice the application issues an error below OpenERP Warning :
"You cannot validate a non-balanced entry.
Make sure you have configured payment terms properly.
The latest payment term line should be of the "Balance" type."
Warning message raise only when there are debit and credit balance will not be matched.
I am also follwing the below article
https://bugs.launchpad.net/openobject-addons/+bug/506521
Our customer using the old base addons for accouting related module in OpenERP V7
Also apply so many other patch on my existing addons for openerp V7
but not finding any solution relavent with this issue
Any one have idea what are the stapes need to stop my warning popup . or Is there any preconfiguration needed to solve my issue

Override email templates (mailalert module) in prestashop

We have an eshop in prestashop (1.6.1.12 version) with mail alerts module installed. The concept is to modify the email template in order to change the way some values are being displayed. In particular we would like to modify the new_order email notification (the one that the shop owner receive for every new order) removing the product links from the product list and display the shipping costs without tax (the total tax is visible on the next field of the email).
You have the template files in this directory:
/modules/mailalerts/mails/[your-language]

How to change content of order confirmation email template in prestashop?

I want to change the content of order confirmation email template, only if a particular product has ordered. Is there any solution?
You can find the general template of email order confirmation in mails/language/order_conf.(html/txt).
The product list template in mails/languages/order_conf_product_list.(tpl/txt)
Called in classes/PaymentModule.php, validateOrder() function if you want to add variables.