Attachment to eCommerce email Template of kentico cms - e-commerce

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.

Related

payment accepted email changes

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.

DocuSign API - Add Signing Page at the end of each Document

I have a requirement to send documents for E-Signing using DocuSign API.The number of documents to be send is dynamic and is decided by admin user of my application.I need to programmatically add a Signature page at the end of each document.
Please do let me know if this possible using the DocuSign API. If yes , can you please provide the steps/sample code to do this.
This worked for me:
https://developers.docusign.com/esign-rest-api/guides/features/tabs#tab-placement-method-2-auto-place-anchor-tagging
For instance, let's say we have a document that contains the text "Please Sign Here:". If we want to place a signature tab where this string is found in the document, or better yet place a signature tab 1 inch to the right of the string to make sure the signature does not overwrite it

Customize Stencil Order Confirmation page

I have been searching this for hours and I am not getting anything useful.
In BigCommerce Stencil theme, is it possible to customize/create custom template for the order-confirmation.html page? specifically the content of {{checkout.order_confirmation_content}}
If there is not, is there a workaround or something? I mean there must be a way to change the HTML of that page.
NOTE:
I want to change the HTML not just the CSS
Currently, the only checkout flow that supports editing the content of the confirmation page is Custom One-Page Checkout (for Developers). Developer Checkout gives you full access to the html for the checkout and confirmation page. You can access this setting under Advanced Settings>Checkout in your control panel.
Once enabled, navigate to Storefront>Checkout Template Files (you may need to refresh to see this option appear). The order confirmation page is order.html.
The optimized one-page checkout flow /checkout/order-confirmation supports customization of theme\templates\pages\order-confirmation.html by adding language strings to your localization.
get a copy of opt-checkout-en.json from https://developer.bigcommerce.com/stencil-docs/localization/multi-language-checkout
{
"optimized_checkout": {
"order_confirmation": {
"order_number_text": "Your order number is <strong>{orderNumber}</strong>",
"order_pending_review_text": "Your order was sent to us but is currently awaiting payment. Once we receive the payment for your order, it will be completed. If you've already provided payment details then we will process your order manually and send you an email when it's completed.",
"order_with_downloadable_digital_items_text": "You can download your digital purchases by clicking the links on this page, or by logging into your account at any time. There is also a download link in your confirmation email, which should be arriving shortly.",
"order_with_support_number_text": "An email will be sent containing information about your purchase. If you have any questions about your purchase, email us at <a ng-href=\"mailto:{supportEmail}?Subject=Order {orderNumber}\" target=\"_top\">{supportEmail}</a> or call us at {supportPhoneNumber}.",
"order_without_downloadable_digital_items_text": "Once we receive your payment, we’ll send a confirmation email with a link to download your digital purchases.",
"order_without_support_number_text": "An email will be sent containing information about your purchase. If you have any questions about your purchase, email us at <a ng-href=\"mailto:{supportEmail}?Subject=Order {orderNumber}\" target=\"_top\">{supportEmail}</a>.",
"thank_you_customer_heading": "Thank you {name}!",
"thank_you_heading": "Thank you!",
"order_status_update_facebook_messenger_heading": "Get instant updates of your order to Messenger"
}
}
}
It's unclear to me where supportEmail comes from.

Square order confirmation email - Square API with 123Formbuilder

I've used the Square API integrated into a form built in 123formbuilder. Is there any way to:
modify the content and themes of the auto generated order confirmation email sent by Square from no-reply#squareup.com to the customers email address? A screenshot of the email is:
Stop the auto generated order confirmation email sent by Square to the customer from no-reply#squareup.com and instead have the receipt email sent automatically in the format set in the Square dashboard via Accounts & Setting --> Receipt upon successful payment being processed? An example of the auto generated receipt email is:
Unfortunately, neither of those options are currently possible. 123FormBulder utilizes Square Checkout (https://docs.connect.squareup.com/payments/checkout/overview) which isn't customizable since it's hosted by Square.

Need to show profile image in email that was generated from email template in Socialengine

Currently I had below email template
[header]
You have been invited by [sender_title] to join Doezi. To join, please follow the link below:
[sender_photo]
http://[host][object_link]
[message]
[footer]
But in the above template sender_photo renders link only but I need to render image in mail. How can I do that ??
It's basically based on technique what we had utilized.
Here is my answer, Please generate link via code and send back to email template.