Customize Stencil Order Confirmation page - e-commerce

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.

Related

Manually approving the account in shopify after registration

Whenever the user register on my Shopify website i want that account to be disabled until admin enable it from back-end panel. Currently when user is registered, his account is enabled by default.
Have searched various forums even tried Shopify support but still no luck.
There are two options. why you are not putting "request membership" sign up form instead of sign in form (disable from here)? You could use the contact page for that if you wanted. Then you get an email when they fill that out. You would create the account (just copy and paste the info) and email them an invitation. They click the link in the invite to make the password. (I think it will be a tedious task for you)
Otherwise, let them create the account, but hide the pages with the Locksmith app. Then after you approve them you would apply a "tag" to the customer account so they can see the pages and products locked with Locksmith.

Big Cartel Contact Page - Captcha LIQUID Error

I changed a few minor things on my Contact page: I removed my address and phone number fields. Now, the Captcha is showing "liquid error" instead of loading.
I also copied the whole contact page and pasted into the Cart form. I'm trying to customize the site so there is no real checkout, but rather you can only contact me to place an order.
They both show the same liquid error instead of loading a captcha, and click through to an error page if trying to send an email.
Does anyone know how to fix this? Is it possible to work around, and keep the Cart as a clone of the Contact page? I wouldn't mind if I had to erase the contact form and just added a link on a simple page to email me.
Thanks very much.
The liquid error is a result of pasting the contact form fields into the Cart page - that will only work properly when it's used on the built-in Contact page, and not anywhere else in a Big Cartel shop.

Is it possible to exclude links from tracking

I am building an app which is utilizing Sendgrid Marketing Email API, with the purpose of sending newsletters. It has a number of links to articles, but also banner ads and other service links. We would obviously like to keep tracking of article links, but exclude other links from affecting the click rate. Is it possible in any way to mark links which we don't wish to add to tracking?
Minor thread necromancy to let anyone who gets here via google know that they added an attribute to disable link tracking.
https://sendgrid.com/docs/Classroom/Track/Clicks/click_tracking_html_best_practices.html
Click tracking can be turned off for individual links by including the clicktracking=off attribute inside the anchor of an HTML link before the href. For example, <a clicktracking=off href="http://example.com">link text</a> would not be tracked.
The current click tracking application for SendGrid overwrites all links and there isn't, at this time, a way to customise this so only certain links are tracked.
One alternative would be to turn off the Click Tracking app in your SendGrid dashboard, but switch on the Google Analytics app (under Apps > Show Disabled Apps > Google Analytics).
With this app switched on, you can then build out custom links that you want to track using the Google Analytics URL Builder.
This would stop SendGrid rewriting all the URLs, and allow you to specify URLs that you want to track. However it would mean you will lose click event data in your SendGrid analytics, and via the Event Webhook, but the important data that you want to track for your campaigns would still be stored in Google Analytics.
You can also disable Sendgrid's tracking using the api. To do this you set some email headers.
Example X-SMTPAPI header value:
{
"filters" : {
"clicktrack" : {
"settings" : {
"enable" : 0,
"enable_text" : false
}
}
}
}
This works for plain text emails.
See: https://sendgrid.com/docs/for-developers/sending-email/smtp-filters/#filter-clicktrack
1.To disable tracking for a specific link add clicktracking=off before href
eg: <a clicktracking=off href="http://destination-domain.com">text</a>
2.To disable sendgrid link tracking for all mails
Goto Settings -> Tracking -> Click Tracking -> turn off link tracking

How do I connect my appixia app to my prestashop contact page?

I've added a contact button on the title bar but I can't get my contact form to display. Has anyone done this?
First of all, the contact button Module field should point to a new Activity module like VerticalContainerActivity which should contain an HtmlView module in its body. This HtmlView displays your contact page - put the address in its ContentUrl. Most of these steps are identical to what you'll find in this tutorial.
You can see an example of this in the diamonds sample app. Create a new app from the diamond store starting point and see how the contact button is implemented there.
The second important point to remember is that you shouldn't use regular store URLs in your Appixia app. When the user sees them, they would see your Prestashop theme with all the navigation and this will be very confusing inside a mobile app. Instead, make a mobile friendly version of your contact page which doesn't use your Prestashop theme and only shows the contact info content.
Using the Prestashop Contact Form in your Appixia app:
I'm not sure this is a 100% good idea in terms of usability. I don't recommend using a web form for contact in a mobile app.
A mobile phone is a communication device. It is has special integration for making phone calls and sending emails - I really recommend you use these methods instead. Look at the HTML source of this example to see how simple it is to integrate (it's just a link in your HTML).
In order to encourage your users to contact, you need to ask them for as little info as possible. Your website contact form makes your users type in their email address. If they email you directly through their device (with a mailto: link), their correct email will be filled automatically. Same with making a call, when they tap on the link, the number will be dialed automatically for them.
If you really insist on implementing the Prestashop contact form, this will require some Prestashop php games. You should find the contact form controller in the Prestashop source and create the same form (in php or hardcoded HTML) without your website theme. It will be a little annoying because after we submit the form, we also need to make sure the confirmation message is also displayed without your website theme.

Sitecore ECM : Message preview gives wrong output

I have a Multi Site system, version 6.5 with ECM 1.3. E-mails are sent using SSL/TLS over port 587, all connections are running and tested and I am able to send test-mails.
When creating a new Newsletter in my ECM and then going to the Message Preview, I do not see the (empty) layout of the newsletter, but instead Sitecore displays the home page of the website itsself?! This issue occurs for every template except the HTML Message. When sending the Newsletter as a test mail, I receive an e-mail with more or less the layout of the website, as shown in the preview.
Any ideas?
Best regards,
Hessel
Make sure that the Newsletter Branch (i.e.$name under Branches >> Branch Newsletter) and Email Message Root (i.e. Email Message root under Branches >> Branch Newsletter >> $name) have been assigned the Custom Newsletter Template.
Check Email Message Root by clicking this on the Ribbon (You might already know this but .....)
Select the Email Message Root in the tree.
In the Ribbon click Presentation >> Layout >> Details and the Layout Details dialog box should give you the info.
Simultaneously also check the content and presentation binding is in place and relevant renderings like Set Page Title, Basic Newsletter Title&Text and Basic Newsletter Header are in place.
Check in Custom Newsletter branch template the layout details of $name item.
Make sure for the default device your Custom Newsletter Layout is set and also these type of controls are set in their respective placeholders.
Process Personalization Tokens (sublayout) & Custom NewsLetter TitleAndText in email-content (placeholder).
Set Page Title in Html-title(placeholder).
Once these settings are configured correctly, try creating a new item from that branch and hopefully the preview should work.
Let us know how you get along and if the above was of any help.
In some cases this might be a security issue, when we try to preview a message for recipient (! not the context user !) who doesn’t have permission to read the message.
Try to set CheckReceiverRights setting value to true in Sitecore.EmailCampaign.config file. In case, it is security issue, you will be alerted in the preview window.