2checkout custom plugin not working with woocommerce

i have added a new WooCommerce Custom Payment Gateway plugin, this plugin show me the 2checkout features in woocommerce setting page like this ![enter image description here][1] but how can I send...

How to check that we are not in a Woocommerce endpoint

since WooCommerce 2.1 pages such as order-received has been removed and replaced with WC endpoints. My checkout page had a custom page template (page-checkout.php) and now all checkout endpoints...

How to use wc_paying_customer function to create shortcodes and display content only to paying customers

First of all, I am a beginner and don't know php well, so please forgive my ignorance..! I can't figure out how to properly create a shortcode allowing me to show content to customers who have...

Modify WooCommerce product columns

I'm trying to override, or simply customize, the admin orders list view. I understood the method to customize is render_shop_order_columns in includes/admin/class-wc-admin-post-types.php but I...

when updating user email is blank in wordpress

Please can anyone help, When I update the user from word press admin section user email field is showing blank after the successfully update. I do not understand why this is happening. Please...

How to include WooCommerce Frontend JS into custom theme - best practice

I am building a custom theme from scratch for WooCommerce (using the hooks/dev method). I just finished the Shop page and I found out that the select tag filter for the products (filter by...

WooCommerce Storefront theme: How to show order details on order-received endpoint?

After the last WooCommerce update, the order details no longer displayed on the Thank You page. Since then, I have developed a child theme using the WooCommerce Storefront theme. No matter what I...

Validate and save address using AJAX in WooCommerce

Using WordPress 4.6.1 and WooCommerce 2.6.4 I need to create an multi-step checkout for WooCommerce, where customer first fill his address, then he click on "Next" where we validate and save his...

How to get PyInstaller to embed SVN Working Copy properties in the generated executable?

I am using Python 3.5.2 and PyInstaller 3.2 to turn a small PyQt5 application into a standalone utility for internal use. PyInstaller is necessary because most of the team hasn't installed...

Adding a custom woocommerce email based on the product attribute

I have tried to adapt the custom email plugin found on https://www.skyverge.com/blog/how-to-add-a-custom-woocommerce-email/ My intention is that if customer choose a product (it is a variable...

Wordpress / WooCommerce - Related Products by Attribute

I know I'm not the first and I probably won't be the last to try to make this journey work. I've looked at everything that's out there. Most answers are pre WC 2.1. A lot of the replies work with...

woocommerce attributes not showing on front end

I have setup a Woocommerce store with hundreds of variable products (months ago). Everything has been working great with product variations/attributes so far, but today I got a message saying that...

Woocommerce Widget Product order by title

My initial goal is to be able to display Woocommerce Products in the sidebar, sorted by Title. Currently the only sorting options in this widget are Date, Price, Random and Sales. I was able to...

Integrating custom SMS API with woocommerce

So I have been working on a project to integrate custom SMS API with woocommerce and wc vendor plugins. Unfortunately, I didn't find any particular solution for this. Everyone was talking about...

where do i put woocommerce image gallery enable code

Woocommerce took out the option for enabling a lightbox feature for your image gallery earlier this year. They have in their documentation to add code if you want to enable the gallery features...

Woocommerce: All new completed orders to on-hold (COD in particular) and send only one on-hold email as a standard confirmation

I live and work in Japan. We have a small oyster company with limited resources and I am doing all the programming myself, but I have limited knowledge and skill. First time posting, sorry if this...

Custom product field to change product total price in wordpress

I added some custom product fields using a Wordpress plugin called WC Fields Factory and wanted to change the price of an Woocommerce product after a field gets some input from the user. To do...

WooCommerce shipping method duplication

I just upgraded woocommerce from 2.3.10 to 3.2.6 I had legacy flat rate and free shipping methods before, and I created a new shipping zone and then added the shipping methods to this zone. Of...

Custom WooCommerce payment gateway not showing up

I created a custom WooCommerce 3.0 payment gateway to process credit cards: add_action('plugins_loaded', 'wc_custom_gateway_init'); function wc_custom_gateway_init() { /** * custom...

Woocommerce Emails - Sending multiple emails based on product count

In Woocommerce, I have a Course product that uses WC Fields to collect student[s] names and email addresses, and custom email template that sends an email when this course product is purchased. As...

WooCommerce: How can I get orders with a custom ID in order meta data object?

Because of a project I need help from you. I've searched a lot but I can't find a solution. I'm trying to edit a WooCommerce function named woocommerce_account_orders I've added the...

Woocommerce: Invalid argument supplied for foreach() in class-wc-product-variable.php file

I'm creating a type of variable product customized for my theme, I've managed to appear in the dropdown of product data and that can be saved without causing conflict. The problem is that seeing...

Add a custom payment gateway with additional radio buttons in Woocommerce

I am developing a custom payment method for woocommerce follogin is my code : class WC_Gateway_Custom extends WC_Payment_Gateway { public $domain; /** * Constructor for the...

Code not working for custom WC customer order email based on product attributes

Two years ago I modified a code from Skyverge for producing WC custom emails when a customer was ordering online...

Custom WooCommerce Gateway - Running Local JS Function

Overview Core Problem I'm a little lost on how I can get the WooCommerce Order payload data into a pre-loaded JS function (pru_checkout()) Explanation I'm building an extension for...

Woocommerce Disable Email for Account Creation

I'm trying to delay/disable the default email sending of New Account on my Woocommerce site. Right now I can already fire the trigger for email sending when I want it to (after the Thank You...

WooCommerce custom bacs payment gateway not saving bank account details

I build a plugin-based upon gateway BACS, I followed this guide https://docs.woocommerce.com/document/payment-gateway-api/ I also found some other examples which are used some code from, maybe...

Woocommerce hook priority on single product page

I would like to edit the template of my Single product page. I tried to use the WC hook woocommerce_single_product_summary in my child's functions.php to add custom field right below the title,...

Woocommerce/WordPress BarclayCard Payment Gateway

I'm trying to integrate BarclayCard with a wordpress website. The issue is that everything happens fine/ It's just that on the return URL (notify_url), the redirection from BarclayCard to the...

Update basket custom attribute on basket/cart page WooCommerce Product Add-ons

I have been trying to make it so that I can update a custom field(per product) I have added on the basket/cart page using WooCommerce Product Add-ons. I did get a method working as a test, but it...