Order tracking link in confirmation mail in magento - php

I want to send a order tracking link on the confirmation email that magento sends when a customer places an order,that link should take customer to main page or the tracking page of the courier company. can someone guide me
say for example i'm using a Fedex for shipping of the orders placed by the customer & i want to add the field something like this on the confirmation email that magento sends to the customer when the order is placed....
EX.. Track your order https://www.fedex.com/apps/fedextrack/?action=track

If you are using Magento's default sales order email, you can edit the html in this location - app/locale/en_US/template/email/directory/sales/order_new.html
Just add the link anywhere you want in that Html file

Try this might help,
http://www.courierscripts.com
You can integrate this with Magento back end to generate tracking info along with order.

Related

Generate URL to confirm orders from customer (WooCommerce)

I am working with many websites that's sell products using COD payment method and i want to send URL link to each customer using (SMS or WhatsApp) to confirm his order, and after the customer click the link changing status of order to (Confirmed) automatically.
Message Example:
Your order had been received
Details >>>
to confirm your order please click here:
httpa:www.example.com/zxbxbsjxhsjshsh/
I want to ask if this possible in woocommerce? or anyone have an idea.

Send email to client or user when creating product with woocommerce

I want to be able to send emails to specific users or clients when creating a product using woocommerce
When a product is created, I want to send out an email like an invoice requesting the emailed user to come and make the payment on the website
Is there a way to achieve this?

Woocommerce Email NEW ACCOUNT template notification FIRST NAME

I need first name in email new account template [woocommerce]
my code -> https://pastebin.com/iTfM6Nmz
WooCommerce doesn't have this functionality built in. The new account email can be sent before an order is placed, which would mean it's before any user information has been captured like first name.
After an order has been placed and you have billing information, then you could pull it in with something like
"Hi" . $order->billing_first_name . "Your recent order on"
But that would be on order confirmation emails, or anything after account creation.
You could also check out this thread: https://wordpress.org/support/topic/how-to-add-customer-name-to-new-customer-admin-order-email/
It's essentially recommending the Follow Up Emails extension to help customize emails. Again it will struggle if the user hasn't added their account information when they register, though, so you might want to look for a way to require filling in WooCommerce user information during registration, assuming it's separate from the purchase flow.

OpenCart: Generate QR Code After Purchase

I would like to generate a qr code after the customer has successfully purchased the product. I am selling tickets to music events, so the idea is that when the customer purchases the ticket, I will generate a QR code and save that QR code in the database. Our mobile app will then run the code and check if it exists in the database.
How can I generate the QR code specifically after confirmation of a purchase?
In opencart, an order is saved in database even before it is confirmed by the customer (They are called as missing orders in case the order is never confirmed). You can see in catalog/controller/checkout/confirm.php
$this->session->data['order_id'] = $this->model_checkout_order->addOrder($order_data);
This is even before the purchase has been made. So you cannot add your module in add order.
You can call your method in checkout/success.php controller. But you have to be sure that your payment method redirects to success or the user clicks on the return link after he/she completes the payment.
Another way is that you call your method before/after the function for sending new order email is called after the customer confirms the order.

How i can integrate mail chimp with shopping cart checkout form

Can any body provide me useful links by which i able to integrate mail chimp with shopping cart checkout page so that every user passes by checkout page added to mail chimp list to get newsletter.
Checkout MailchipAPI there you can create list and add users to it with the help of pre defined functions.
In mailchimp you can divide a list into a number of groups so you can filter your users as per your needs.
http://apidocs.mailchimp.com/api/1.1/listinterestgroupadd.func.php
then you can add users to the list.
http://apidocs.mailchimp.com/api/1.3/listsubscribe.func.php
then you can create campaign to send mail to specific group
http:// apidocs.mailchimp.com/api/1.3/campaignsendnow.func.php

Categories