Add customer email and phone number in invoice print - opencart

I'm using the Opencart 3.0.2.0. How to add customer's email and phone number in the order invoice print?
Please, can anyone give the solution?

To add customer's phone number and email id to customer's order invoice print you need to edit controller, language and view files. which is quit lengthier process.
Instead, you could use this extension which has 9invoice templates and includes Customer's Phone Number and email in it.
Hope this answer might help you

Related

How to change the way username validates in Django admin interface change form?

I can't override or edit the way the username is validated in the admin interface change form. I need my users to be able to have usernames with spaces and special characters.
I managed to edit the way the sign up form validates the username so on the client side the problem is solved. The thing is that when I try to edit a user in the admin interface, I get de following error:
Enter a valid username. This value may contain only letters, numbers,
and #/./+/-/_ characters.
I can't find a way around this!
Thanks!

how to show pop up on empty field in form applet in siebel

I am trying to show a pop up that if a field in form applet, lets suppose "Firstname" field is empty, soon the applet will load and find if firstname field is empty , it will show an alert message that please update the firstname and when I click on that alert message , a pop up screen will appear which will let user manually enter the first name and that record will store in the database. And when next time user will logon the field will show the firstname. please provide your valuable suggestions.
Why you are complicating things around? You can display the error message by placing script in WebApplet_Load Event to check if the field is null or not and no need to display another popup applet. User can enter First Name in the form applet you already displaying.

How to edit Invoice sending to email after success from paypal in oscommerce

I am trying to find the invoice which sends to user on success from paypal in oscommerce. I found invoice.php which is under the admin folder. I want to add a field in the invoice which is sending to the user but didnot found the desired file
The answer was simple email is sending through checkout_process.php file. Search for tep_mail which will be on line 257 or nearby.

Sitecore WebForms for Marketers : send email to users

I am using Send Email Message action. I have added one action for send email to admin and another thank you mail to user who filled the form so my question is how I can add user email in Send Email Editor. I tried to add email Insert Field but it is not working.
EDIT:
By Default, the TO Dropdown only allows content from the Email Field Type. To allow other field types, please go to to the Send Email Message action found here by default: /sitecore/system/Modules/Web Forms for Marketers/Settings/Actions/Save Actions/Send Email Message
go to the Editor section, and enter the following into the QueryString field:
AllowedToTypes={84ABDA34-F9B1-4D3A-A69B-E28F39697069}|{YOUR CUSTOM FIELD TYPE GUID}
The first guid is for the standard Email Field type, and the second one will be your custom field. This should allow you to choose from those fields in the TO field.
For best practices, you should duplicate the Send Email Message action, and apply the changes there to prevent issues with future upgrades.
To allow your custom fields to be selectable for the CC and From fields as well, your query string would look like this:
AllowedToTypes={84ABDA34-F9B1-4D3A-A69B-E28F39697069}|{YOUR CUSTOM FIELD TYPE GUID}&AllowedCCTypes={84ABDA34-F9B1-4D3A-A69B-E28F39697069}|{YOUR CUSTOM FIELD TYPE GUID}&AllowedFromTypes={84ABDA34-F9B1-4D3A-A69B-E28F39697069}|{YOUR CUSTOM FIELD TYPE GUID}
From there, to send an email to one of the fields on the form, simply choose the field by clicking the little arrow next to the 'To' field
I have noticed a bug in previous version of wffm where it places double brackets around the field name, for example: [[email address]]. If you notice the double brackets [[..]], then erase the entire field and select it again as shown above.
I found there is an issue a with the To: field in certain browsers - not sure if this is related to Bug 402562.
In Chrome I get js error messages but in Firefox I can insert the email field with no issues.
As stated my #amir818, you need to add the field name with brackets in the To field. If you are using Chrome then the arrow may not work due to a javascript error, it works in IE though.
Alternate way to add the field into the message body from the Insert Field droplist and then copy+paste into the TO field. Looking at your field names it should be [Emailaddress].
The double brackets that amir mentioned is a bug, you can get a fix from Sitecore and quote ticket number 402562. When you edit the form again, the field has 2 sets of brackets added which then breaks the send action, e.g. it would end up as [[Emailaddress]] which is incorrect and therefore fails

OpenCart: 2Checout Logged users gets logged out on success page

I have 2checkout return customers to the URL
http://store.com/index.php?route=checkout/success. Which is correct? Anyway, 2checkout sent me to the homepage after successful payment and showing as a visitor with empty cart., when click on continue button showing logged in and same cart items in cart.and
opencart didn't record the order nor did i receive any order confirmation via email.(Required)
The customer received an order confirmation but product's option (if any) is not shown. Please help!!
Thanks in advance...