payment accepted email changes - prestashop

Hello I want to change in email of the payment accepted in prestashop.
How can I add one new value in payment email and replace the
reference to order id.
Where is the method of sending emails of payment statuses.
In which file I need to change .txt or .html file for viewing email.

Mail templates are in the "mails" directory of your prestashop installation.
There is a subdirectory for each locale (language).
You must edit both the html and txt version of the templates.
Also : themes can override mail templates by placing templates in their mails directory.

Related

Upload file at checkout

Is it possible to add a input type=file element to the checkout.html and persist it as an attachment to a checkout?
It seems the only way to make a file attachment in an order that would be visible from the store admin is to create a file option https://support.bigcommerce.com/s/article/Options-SKUs-Rules#file-upload, and add that to the cart to support the attachment.
No, at this time it is not possible to add a input type=file element to the checkout.html and persist it as an attachment to a checkout.
Current Options
Apps
https://www.intuitsolutions.net/bigcommerce-add-ons/purchase-order-solution-pdf-upload/
Product Option
File Upload Product Option - https://support.bigcommerce.com/s/article/Options-SKUs-Rules#file-upload
A file can be stored as an option-value on a product that is dynamically added to the cart.
This would require effort in hiding the product that represents the purchase order from showing up in the cart and checkout.
Future Options
file upload field support is coming soon for the S2S Cart API - thanks #KarenWhite
True Purchase Order Support sometime in the future...

Attachment to eCommerce email Template of kentico cms

I am developing shopping website using kentico cms 9. In the website I want to send invoice to customer as a pdf attachment of email template (default kentico ecommerce email template).currently I am sending invoice in email body of email template and its Woking fine. But now I want to send Invoice as a pdf attachment as well as in email body also. Is this possible to send invoice with attachment of email template in kentico cms.
Yes, you can send email attachments using the API. I believe this code is still valid for v11.
var emailTemplate = EmailTemplateProvider.GetEmailTemplate("yourtemplatename", "yoursitename");
MetaFileInfoProvider.GetMetaFiles(emailTemplate.TemplateID, "cms.emailtemplate", "Template", "", "");
Creating the invoice into a PDF is not out of the box though, you'd have to include a 3rd party tool to do that conversion for you. Once you have the order, you can simply call order.OrderInvoice and it will render all the macros in the order invoice template and get you the HTML you need to send to a PDF to be created.

How do I automatically inject HTML code into a Shopify .liquid file?

I want to have a Shopify app that allows me to automatically (so that the user doesn't have to edit the code) add code into one of a user's .liquid files. I can't seem to figure out how to do this.

In prestashop at which file cash on delivery module is calling

I need to know the location of file from where cash on delivery module is calling inside the choose your payment method checkout page.
You can find the template display on payment choices page of the module "cash on delivery" here : /modules/cashondelivery/views/templates/hook/payment.tpl
If you user older version of PrestaShop, this template is here : /modules/cashondelivery/payment.tpl
NB: If you want to modify this template for your theme is better to overwrite it by put it directly in the "modules" folder of your theme.

Avoid Sending Email when User Post New Listing

I am new to OSClass, right now when user publish a listing an email has been sent to user's email id, in which user can activate that listing, admin can also activate that listing.
But I want that only admin should have control to activate the listing, so if somehow I can control that if I skip that step of sending email to user's email account.
Is there any solution?
Regards.
You can remove the email sending removing the hooks.
Edit your oc-load.php file and add this lines:
osc_remove_hook('hook_email_new_item_non_register_user', 'fn_email_new_item_non_register_user');
osc_remove_hook('hook_email_item_validation_non_register_user', 'fn_email_item_validation_non_register_user');
osc_remove_hook('hook_email_item_validation', 'fn_email_item_validation');
If you doubts of hooks you can take a look at http://doc.osclass.org/Hooks
you can create a plugin for this and this way you don't modify the osclass core files, you can check how here http://doc.osclass.org/How_to_create_a_plugin