woocommerce check out field - wordpress

I use checkout by amazon or by paypal express checkout, when user clicks on amazon or on pay pal , when control comes back on my site after logging in paypal or on amazone, I have no extra checkout field, that I created using checkout field editor ('How did you find Us?'), Just the order summary is listed, how can I show my extra created field?
I use woocommerce plugin for shopping cart.

Checkout fields are only shown on checkout, when someone returns from a payment gateway (paypal in your case) by default they are logged in. So in order to show a text area after someone returns from paypal, you will have to edit the order summary template and add a check to it. So if the user is reffered from paypal, only then they will see your custom form.
A better way would be by using "woocommerce_payment_complete" hook and redirect the user to another page where you can add your custom functionality/ Gravity form shortcode or use contact form 7.

Related

WooCommerce disable checkout based on shipping info that was added

I'm looking for a way to disable the checkout button for all available payment methods based on what information was just added as the shipping address. I tried using the hook woocommerce_checkout_process but I can't disable the checkout methods with this hook and it sort-of lets people checkout (just the order does not goes through) and only shows the message after the credit card information has been added and the user has clicked the checkout button. Any suggestions how I can do this?

This field may not be blank notice at checkout page?

I only need Name and Email at checkout page so for that I'm using this WordPress plugin Checkout Field Editor to disable other fields but when I enter name and email and press place order its "This field may not be blank" and also at checkout page there is no Product Image Showing at checkout page.
p.s. I did researched for the solution from my side but didn't found any.

Integrating authorize.net in contact form 7

Im using contact form 7 (wordpress plugin) for contact form, now i need to integrate authprize.net to contact form 7, so that when user click on submit button after fill form, user should able to pay with authorize.net(only after submitting form). Does any one knows how to do it....
If you are using woocommerce connected to an authorize.net account, you can use gravity forms with the woocommerce add on. This gives you the ability to use a form to create a custom priced product that is added to the cart.

How to remove custom fields from “WooCommerce Thankyou Order” email?

I have added custom fields to my product. I don't want to display those into "WooCommerce Thankyou Order" email. Please, can someone tell me, how to hide the custom fields?
For ex: I want to hide the details that are highlighted email template
Go WooCommerce in the wordpress Dashboard, click on Email tab. At the end you have Email Template.
In order to override the default email template edit woocommerce/templates/emails/customer-process-proshop/woocommerce/emails/customer-processing-order.php
At least that's WooCommerce instructions says. I do not have a wordpress with commerece to test or check that file but I suppose in there you could decide what information is actually sent to the customer.

Customizing Woocoomerce Cart page

Hi I want to add checkbox on my Cart page of woocommerce when user check the box it will automatically subscribe them for my product. I have bought woocommerce subcriber plugin but I don't know how to add checkbox which will have this functionality in cart page.
I will try to answer to the best of my knowledge given that I am not proficient with woocommerce. But the general idea is that, you add your checkbox on the cart page of the theme and pass the the value via form data(like name="subscribe" value="True/false") to the data handler(most probably the next page in the checkout cycle which would be delivery or payment options page), which will then call the plugin and pass the subscriber info to it. I would say that it would make sense to put the checkbox where you collect customer info but hey your site, your choice.
Sorry if this is a very generic answer and not a detailed one. I am very new to this myself. Best of luck.

Resources