WooCommerce email templete customization for custom field - wordpress

I have integrate WooCommerce in wordpress. After placed order and checkout i am getting one default email in recipient mail box. This is working fine.
Now i need to customize them. Suppose i have 2 products and each have quantity 2-items. So, customize email template as per quantity.
For e.g
product name : Mouse
quantity : 2
product name : Keyboard
quantity : 3
So here total item quantity are 5. I need to generate 5 different random password and add in email template. Which is later send to recipient after success of payment.

Related

I need to display PRODUCT custom field values on the customer's VIEW ORDER page

The PRODUCT custom fields already exist and are populated. A customer can only purchase 1 product in each order. I'm able to display ORDER custom fields, by adding a snippet to the functions.php file, but I need to display the PRODUCT's custom fields (again, only 1 product per order is allowed).

I want to display only the product name in the WooCommerce mail template

I want to delete only the id information of "woocommerce email order meta" in the WooCommerce email template.
In other words, I want a list of only product names.
No amount or id required. Only the name of the product.
Do you have a short code etc.?

Woocommerce Custom product fields need to be editable after purchase in View Orders Page

I am Using Display a custom-field value in Woocommerce orders edit view answer code, which works fine.
I want to display that checkout custom fields on My Account > View Order Pages, to allow customer to edit its value after purchase, so Customers can change and save the custom field value.
Any help?

How to integrate Razorpay Payment Gateway in WordPress

I am planning to integrate Razorpay Payment Gateway in my client website which has been developed in WordPress in which the scenario will be as follows.
The user will fill inquiry form with his requirement.
Then depend on customer requirement owner will reply with cost and some code to customer(through mobile/email communication).
The customer will go at website's Payment Page where He/She will submit form(name,amount,code as remark and email id) which will redirect to payment gateway page.
At WordPress website the plugin (Razorpay Quick Payments) has implementation details as follows.
Add a few custom variables and some markup to a page.
Specify the amount, name, description and other custom details as page metadata.
Write [RZP] wherever you want on the post and the button to show up.
The plugin takes over and completes the payment.
I am not getting how to do all these steps.
Step 1 - Create a page and click on "Screen Options" on the top right and Select "Custom Fields" checkbox.
Step 2 - You will be able to see a new "Custom Fields" section if you scroll down the page. It contains 2 fields - name and value. Click on "Enter New".
Step 3 - Now you will be able to type in the name field, as per the requirements of Razorpay, you have to to enter these 3 values in name field -
name
description
amount
In the "value" field of "amount", you have to enter the amount in rupee you want to charge, if you want to charge INR 1000, you have to enter 1000.
Step 4 - In the main text area, type [RZP], save the page and open. You will see "Pay With Razorpay" button.
Click on the button and you will be able to see different payment options like Debit Card / Credit Card / Netbanking / UPI / Wallet.
User will have to enter their mobile number and email id to proceed with the payment.

How to get Customer mobile number when click add cart button when order in Woocommerce?

Woocommerce Wordpress :
Is there any way to ask customer to provide his phone number before placing an order?
what I need to do is that once a customer adds a product to cart (Before placing the order), customer should be asked to provide his details, plus that I need to notify the admin about the customer and products details

Resources