Woocommerce admin

Author: c | 2025-04-23

★★★★☆ (4.8 / 2651 reviews)

Download top secret

Render the WC-Admin header bar on all WooCommerce core pages. wc_admin_connect_page() : mixed Connect an existing page to WooCommerce Admin. wc_admin_register_page() : mixed Register JS-powered WooCommerce Admin Page. wc_admin_is_connected_page() : bool Is this page connected to WooCommerce Admin?

text free

WooCommerce Admin v0.15.0 – The WooCommerce Developer

Managing products efficiently in WooCommerce often requires custom sorting options in the admin product list. Whether you want to sort products by stock quantity, custom fields, or a specific attribute, adding custom sorting options can significantly improve your workflow.In this guide, we’ll show you how to add custom sorting options to the WooCommerce admin product list without using a plugin.Step 1: Add a Custom Column to the Product List TableThe first step is to create a custom column that displays the data you want to sort. For example, if you want to sort products by stock quantity, you’ll need to add a column for stock values.Code to Add a Custom ColumnAdd this code to your theme’s functions.php file or your child theme:/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds a custom column to the admin product list"*/function wcsuccess_add_custom_product_column( $columns ) { $columns['stock_quantity'] = __( 'Stock Quantity', 'woocommerce' ); return $columns;}add_filter( 'manage_edit-product_columns', 'wcsuccess_add_custom_product_column' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function displays data in the custom column"*/function wcsuccess_display_custom_product_column( $column, $post_id ) { if ( 'stock_quantity' === $column ) { $stock_quantity = get_post_meta( $post_id, '_stock', true ); echo is_numeric( $stock_quantity ) ? $stock_quantity : __( 'N/A', 'woocommerce' ); }}add_action( 'manage_product_posts_custom_column', 'wcsuccess_display_custom_product_column', 10, 2 );Explanation:Custom Column: Adds a new column named Stock Quantity to the admin product list.Display Data: Fetches and displays the stock quantity for each product.Step 2: Make the Column SortableOnce the custom column is added, you need to make it sortable.Code to Enable SortingAdd this code to your functions.php file:/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function makes the custom column sortable"*/function wcsuccess_make_custom_column_sortable( $sortable_columns ) { $sortable_columns['stock_quantity'] = 'stock_quantity'; return $sortable_columns;}add_filter( 'manage_edit-product_sortable_columns', 'wcsuccess_make_custom_column_sortable' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds sorting functionality to the custom column"*/function wcsuccess_sort_products_by_stock_quantity( $query ) { global $pagenow; if ( 'edit.php' === $pagenow && isset( $query->query_vars['post_type'] ) && 'product' === $query->query_vars['post_type'] ) { if ( isset( $query->query_vars['orderby'] ) && 'stock_quantity' === $query->query_vars['orderby'] ) { $query->set( 'meta_key', '_stock' ); $query->set( 'orderby', 'meta_value_num' ); } }}add_action( 'pre_get_posts', 'wcsuccess_sort_products_by_stock_quantity' );Explanation:Sortable Columns: Registers the custom column as sortable.Sorting Logic: Uses the _stock meta key to sort products by stock quantity numerically.Step 3: Add Additional Sorting OptionsYou can extend this functionality to sort products by other fields, such as price, SKU, or a custom meta field.Example: Sort by Regular PriceAdd this code to your functions.php file to add sorting by Regular Price:/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John In the order will also be synced.Sync ProductsNow, the admin can sync products between WooCommerce and Keap. If any product is updated in the WooCommerce, it will also be updated in the Keap after successful synchronization. The admin has to import or export products from this section in order to keep all the products updated.In order to sync products, go to WordPress Admin > WC Infusionsoft > Sync Products.The admin can Export WooCommerce products to Keap Infusionsoft and Import Keap Infusionsoft products to WooCommerce.Export WooCommerce Products to Keap InfusionsoftThe admin can export WooCommerce products to Keap Infusionsoft.In Sync Products, navigate to Import/Export Products.Click on Export WooCommerce Products to Infusionsoft.The next step will be Select Products.In this step the admin has to select if the admin wants to export all products, products from specific categories or products by specific IDs.If the admin selects All Products, it will export all the WooCommerce products to the Keap.Click Next to move to the next step.The next step is Review, in this step the admin will select which field data will be exported with the product.Checkmark those fields which the admin wants to export with the product.Click on the Next button to proceed and start the export.Note: Product Image should be in .png or .jpeg format.The exporter will start exporting WooCommerce products to the Keap.Once the export is successfully completed, the total number of products exported will be displayed.The total number of products failed to export will also be displayed.The admin can check the failed products in the List of failed products section.Click on the Back to menu button to go back to the Import/Export step.After the export, navigate to the Keap dashboard > E-Commerce > Products.All the exported products will be displayed.Export By Product CategoryThe admin can export products from specific categories instead of exporting all the products.In the Select Products step, select Product from categories, all the WooCommerce categories will be displayed. Select categories from which the products will be exported.Click Next to move to the next step.The next step is Review, in this step the admin will select which field data will be exported with the product.Checkmark those fields which the admin wants to export with the product.Click on the Next button to proceed and start the export.Once the export is successfully completed, the total number of products exported will be displayed.The total number of products failed to export will also be displayed.The admin can check the failed products in the List of failed products section.Click on the Back to menu button to go back to the Import/Export step.After the export, navigate to the Keap dashboard > E-Commerce > Products.All the exported products will be displayed.Export By Product Specific IDThe admin can

WooCommerce Admin v0.23.1 - The WooCommerce Developer

Admin wants to import, insert product ID in Enter Product IDs. Click Next to move to the next step.The next step is Review, in this step the admin will select which field data will be imported with the product.Checkmark those fields which the admin wants to import with the product.Click on the Next button to proceed and start the import.Once the import is successfully completed, the total number of products imported will be displayed.The total number of products failed to import will also be displayed.The admin can check the failed products in the List of failed products section.Click on the Back to menu button to go back to the Import/Export step.After the import, navigate to the WordPress Admin > Products > All Products..All the imported products will be displayed.Sync OrdersNow, the admin can sync orders between WooCommerce and Keap. If any order is updated in the WooCommerce, it will also be updated in the Keap after successful synchronization. The admin has to import or export products from this section in order to keep all the products updated.In order to sync products, go to WordPress Admin > WC Infusionsoft > Sync Orders.The admin can Export WooCommerce orders to Keap Infusionsoft and Import Keap Infusionsoft orders to WooCommerce.Export WooCommerce Orders to Keap InfusionsoftThe admin can export WooCommerce orders to Keap Infusionsoft.In Sync Orders, navigate to Import/Export Products.Click on Export WooCommerce Orders to Infusionsoft.The next step will be Select Orders.In this step the admin has to select if the admin wants to export all orders, orders from specific status or order by specific Order IDs.If the admin selects All Orders, it will export all the WooCommerce orders to the Keap.Click Next to move to the next step.The next step is Review, in this step the admin will review the Order setting and the number of orders that will be exported to the Keap.Click on the Proceed button to proceed and start the export.Once the export is successfully completed, the total number of orders exported will be displayed.Click on the Back to menu button to go back to the Import/Export step.In case, if the orders failed to export, the total number of orders failed to export will also be displayed.The admin can check the failed orders in the List of failed orders section.The orders that already existed in the Keap will not be exported and the number of already existed orders will be displayed.After the successful export, navigate to the Keap dashboard > E-Commerce > Orders.All the exported orders will be displayed.Click on the order to view details.WooCommerce order number will be displayed in Order Title.Export Orders By Specific StatusThe admin can export orders by specific status instead of exporting all the orders.In the. Render the WC-Admin header bar on all WooCommerce core pages. wc_admin_connect_page() : mixed Connect an existing page to WooCommerce Admin. wc_admin_register_page() : mixed Register JS-powered WooCommerce Admin Page. wc_admin_is_connected_page() : bool Is this page connected to WooCommerce Admin?

WooCommerce Admin Archives – The WooCommerce Developer

Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds a custom column for regular price"*/function wcsuccess_add_regular_price_column( $columns ) { $columns['regular_price'] = __( 'Regular Price', 'woocommerce' ); return $columns;}add_filter( 'manage_edit-product_columns', 'wcsuccess_add_regular_price_column' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function displays the regular price in the custom column"*/function wcsuccess_display_regular_price_column( $column, $post_id ) { if ( 'regular_price' === $column ) { $regular_price = get_post_meta( $post_id, '_regular_price', true ); echo wc_price( $regular_price ); }}add_action( 'manage_product_posts_custom_column', 'wcsuccess_display_regular_price_column', 10, 2 );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function makes the regular price column sortable"*/function wcsuccess_make_regular_price_sortable( $sortable_columns ) { $sortable_columns['regular_price'] = 'regular_price'; return $sortable_columns;}add_filter( 'manage_edit-product_sortable_columns', 'wcsuccess_make_regular_price_sortable' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds sorting logic for regular price"*/function wcsuccess_sort_products_by_regular_price( $query ) { global $pagenow; if ( 'edit.php' === $pagenow && isset( $query->query_vars['post_type'] ) && 'product' === $query->query_vars['post_type'] ) { if ( isset( $query->query_vars['orderby'] ) && 'regular_price' === $query->query_vars['orderby'] ) { $query->set( 'meta_key', '_regular_price' ); $query->set( 'orderby', 'meta_value_num' ); } }}add_action( 'pre_get_posts', 'wcsuccess_sort_products_by_regular_price' );Step 4: Test Your Custom Sorting OptionsGo to Products:Navigate to WooCommerce > Products in the WordPress admin.View Custom Columns:Ensure the new columns (e.g., Stock Quantity and Regular Price) are visible.Sort Products:Click the column headers to sort the products by stock quantity or regular price.Example WorkflowColumn NameSortableDataStock Quantity? YesNumerical valueRegular Price? YesPrice formattedUse Case ExampleSort products by stock quantity to identify low-stock items.Sort products by regular price to manage pricing more effectively.ConclusionAdding custom sorting options to the WooCommerce admin product list allows you to tailor the admin interface to your needs. By following this guide, you can create new columns, display custom data, and sort products by any field, such as stock quantity or price.Test these changes in a staging environment before applying them to your live site. For more WooCommerce customisation options, explore our WooCommerce Visual Hooks Guide or use our wp-config generator for advanced configurations.I have been working with WordPress and WooCommerce since 2012 and have developed a deep knowledge of the content management system. Since 2012, I have developed several plugins and designed dozens of websites utilising different frameworks, CMS’s and programming languages. I am proficient in PHP, Python, Java, C, C++, R and JavaScript with limited experience in Go, Kotlin and Swift.Educationally, I have a Master’s degree in cyber security a Bachelor’s (Hons, First Class) in Applied Research and a Graduate Certificate in Data Science. I’m currently undertaking PhD studies investigating IoT cybersecurity. I recently graduated with First Class Honours and Masters of Information Technology, receiving the Executive Dean’s Award for studies undertaken in the 2021 and 2022 academic years. I have worked in the information technology industry for the past Local pickup to avoid confusion.In WP Admin, navigate to WooCommerce > Settings > Payments to specify which payment gateways are enabled and configure their settings.Use the Enabled toggle to turn a gateway on or off:If you try to enable a payment method that needs additional configuration, you’ll be redirected to the setup screen for that payment method.Clicking the name of the payment gateway will take you to a screen to set up or adjust its settings. Another way to configure its settings is to click the Set up or Manage button for that particular payment gateway.Installed gateways are listed in the table and can be dragged and dropped to control the order in which they display to customers on the checkout.See the following pages for more payment gateway information:Premium payment gateway optionsFree payment gateways included in WooCommerceFind accounts and privacy settings in WP Admin at WooCommerce > Settings > Accounts & Privacy.Here, you can enable or disable guest checkout, control customer account creation, control how personal data is retained or removed from your shop, and set your privacy policy notices. For more details, see Accounts & Privacy settings.Find email settings in WP Admin at WooCommerce > Settings > Emails.You can edit design elements of your store’s email template, change your store’s sending address, and configure your settings for (or disable) each email WooCommerce sends. For more details, see Email settings.Find integration settings in WP Admin at WooCommerce > Settings > Integration.This is where you enter your license key for the MaxMind geolocation integration. Extensions, plugins, themes, and other integrations may also add settings to this tab.From the site visibility settings, you’ll be able to enable Coming soon mode and share your under-construction store via a private link.Learn more about Coming soon mode.Find advanced settings in WP Admin at WooCommerce > Settings > Advanced.Advanced settings allow you to set WooCommerce pages, integrate external applications with the REST API, add custom webhooks to your store, and enable new or experimental features like High-Performance Order Storage (HPOS) and the new product editor. For more details, see Advanced settings.Do you still have questions and need assistance? If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the WooCommerce Marketplace.Need ongoing advanced support or a customization built for WooCommerce? Hire a Woo Agency Partner.Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.If you weren’t able to find the information you need, please use the feedback thumbs below to let us know.

Releases woocommerce/woocommerce-admin - GitHub

When you go to WooCommerce > Settings in your site’s WP Admin dashboard, you’ll notice tabs relating to the different kinds of settings available:GeneralProductsTaxShippingPaymentsAccounts & PrivacyEmailsIntegrationSite visibilityAdvancedNote: WooCommerce is highly extensible, open-source software. Extensions and plugins commonly add additional settings and tabs to the WooCommerce settings page(s). If you see additional settings to those pictured below or mentioned in the following pages, they have most likely been added by an extension/plugin, your theme, or custom code.You’ll find your store’s general settings in WP Admin at WooCommerce > Settings > General.These settings include your store’s location, where you’ll sell and ship orders, what to use as the default customer location, enabling or disabling taxes and coupons, and your store’s currency options.For more details, see General settings.Find and edit product settings in WP Admin at WooCommerce > Settings > Products.These settings determine which page is set as your main shop page, which units of measurement to use for product dimensions, product review settings, inventory management, stock notifications, how downloadable products are handled, and more.For more details, see Products settings.Find and edit tax settings in WP Admin at WooCommerce > Settings > Tax.The Tax settings tab won’t be visible until taxes are enabled in the general settings. WooCommerce’s built-in tax settings let you choose how taxes are displayed and calculated in your shop, you can also add tax rates for specific areas, and additional tax classes with different rates to be used for certain products or shipping costs.For more details, see WooCommerce tax settings.Find and edit shipping settings in WP Admin at WooCommerce > Settings > Shipping.WooCommerce has several built-in shipping settings and methods that cover a wide range of use cases:The main shipping settings screen is for shipping zones. Think of a shipping zone as a geographic region where a certain set of shipping methods and their rates will apply.Learn more at Setting up shipping zones.The shipping settings page contains the following settings:CalculationsEnable the shipping calculator on the cart pageHide shipping costs until an address is enteredShipping destinationShip to a customer’s billing or shipping address by default, or only ship to the user’s billing address.Debug modeEnabling debug mode will display the customer’s matched shipping zone in a notice on the site’s front-end (see image below), and bypass the shipping rate cache. Enable for troubleshooting purposes.Shipping classes can be used to enable shipping methods to provide different rates for different classes or types of products.Learn more about product shipping classes.Local pickup allows the customer to pick up an order themselves — no shipping required. There are currently two ways to implement local pickup in the free, core WooCommerce plugin:A modern, streamlined experience that is natively integrated with the block version of the checkout flow. Learn more at WooCommerce Blocks: Local pickup.A legacy version that can be added to shipping zones as a WooCommerce core shipping method. This will work on either the shortcode or block version of the checkout. Learn more at Legacy Shipping Method: Local Pickup.We recommend using only one method for

WooCommerce Admin v0.20.0 - The WooCommerce Developer

Patched in Version: 1.7.3 Severity Score: Critical CVE: 2024-24882 Plugin: Loan Repayment Calculator and Application Form Plugin Slug: quick-interest-slider Installations 2,000+ Vulnerability: Cross Site Request Forgery (CSRF) Patched in Version: 2.9.5 Severity Score: Medium CVE: 2024-31263 Plugin: SearchIQ – The Search Solution Plugin Slug: searchiq Installations 2,000+ Vulnerability: Sensitive Data Exposure Patched in Version: 4.6 Severity Score: High CVE: 2024-31259 Plugin: User Spam Remover Plugin Slug: user-spam-remover Installations 2,000+ Vulnerability: Sensitive Data Exposure Patched in Version: 1.1 Severity Score: Medium CVE: 2024-31298 Plugin: WooCommerce Checkout Field Editor (Checkout Manager) Plugin Slug: woo-checkout-regsiter-field-editor Installations 2,000+ Vulnerability: Cross Site Request Forgery (CSRF) Patched in Version: 2.1.9 Severity Score: Medium CVE: 2024-31262 Plugin: App Builder – Create Native Android & iOS Apps On The Flight Plugin Slug: app-builder Installations 1,000+ Vulnerability: Open Redirection Patched in Version: 3.8.8 Severity Score: Medium CVE: 2024-31282 Plugin: AppPresser – Mobile App Framework Plugin Slug: apppresser Installations 1,000+ Vulnerability: Cross Site Request Forgery (CSRF) Patched in Version: 4.3.1 Severity Score: Medium CVE: 2024-31268 Plugin: Benchmark Email Lite Plugin Slug: benchmark-email-lite Installations 1,000+ Vulnerability: Cross Site Request Forgery (CSRF) Patched in Version: 4.2 Severity Score: Medium CVE: 2024-31360 Plugin: Church Admin Plugin Slug: church-admin Installations 1,000+ Vulnerability: Broken Access Control Patched in Version: 4.1.7 Severity Score: Medium CVE: 2024-31281 Plugin: Church Admin Plugin Slug: church-admin Installations 1,000+ Vulnerability: Arbitrary File Upload Patched in Version: 4.1.6 Severity Score: Critical CVE: 2024-31280 Plugin: Creative Addons for Elementor Plugin Slug: creative-addons-for-elementor Installations 1,000+ Vulnerability: Cross Site Scripting (XSS) Patched in Version: 1.6.0 Severity Score: Medium CVE: 2024-2924 Plugin: ELEX WooCommerce Dynamic Pricing and Discounts Plugin Slug: elex-woocommerce-dynamic-pricing-and-discounts Installations 1,000+ Vulnerability: Cross Site Request Forgery (CSRF) Patched in Version: 2.1.3 Severity Score: Medium CVE: 2024-31364 Plugin: ELEX WooCommerce Dynamic Pricing and Discounts Plugin Slug: elex-woocommerce-dynamic-pricing-and-discounts Installations 1,000+ Vulnerability: Cross Site Scripting (XSS) Patched. Render the WC-Admin header bar on all WooCommerce core pages. wc_admin_connect_page() : mixed Connect an existing page to WooCommerce Admin. wc_admin_register_page() : mixed Register JS-powered WooCommerce Admin Page. wc_admin_is_connected_page() : bool Is this page connected to WooCommerce Admin? The main aim of this tutorial is to help beginners to access the WooCommerce admin. This is how to login to WooCommerce admin. Are you having a hard time trying to log into your WordPress admin to access the WooCommerce setting? The main aim of this tutorial is to help beginners to access the WooCommerce admin.

WooCommerce Admin v0.16.0 - The WooCommerce Developer

Number of Orders Failed to Import. The admin can view the failed orders.Click on the Back to menu button to go back to the Import/Export step.After the successful import, navigate to the WordPress Admin > WooCommerce > Orders.All the imported orders will be displayed.Import Orders By Specific StatusThe admin can import orders by specific status instead of importing all the orders.In the Select Orders step, select Specific Orders By Status.Paid and Unpaid order statuses of Keap Infusionsoft orders will be displayed. Select statuses by which the orders will be imported.Click Next to move to the next step.The next step is Review, in this step the admin will review the Order setting and the number of orders that will be imported to WooCommerce.Click on the Proceed button to proceed and start the import.Once the import is successfully completed, the total number of orders imported will be displayed.The total number of orders that already exist will be displayed in Already Imported Orders.The number of orders that failed to import will be displayed in the Number of Orders Failed to Import. The admin can view the failed orders.Click on the Back to menu button to go back to the Import/Export step.After the successful import, navigate to the WordPress Admin > WooCommerce > Orders.All the imported orders will be displayed.Import Orders By Specific Order IDsThe admin can import specific orders by order IDs instead of importing all the orders.In the Select Orders step, select Specific Orders By Order IDs.After selecting the Specific Orders by Order IDs, an input box Enter Order IDs will appear.Insert the ID or range of IDs of orders that the admin wants to import, insert order ID in Enter Order IDs. Click Next to move to the next step.The next step is Review, in this step the admin will review the Order setting and the number of orders that will be imported to WooCommerce.Click on the Proceed button to proceed and start the import.Once the import is successfully completed, the total number of orders imported will be displayed.Click on the Back to menu button to go back to the Import/Export step.After the successful import, navigate to the WordPress Admin > WooCommerce > Orders.All the imported orders will be displayed.LogsAll the logs of Import/Export of Orders and Products will be saved in Logs.The Logs section contains the Log ID, Event that has recorded, the Status of the event, WooCommerce ID and Keap Infusionsoft ID of orders and products.Navigate to the WordPress Admin > WC Infusionsoft > Logs.The admin can clear all logs, click on the Clear button.Download Logs The admin can download the logs.In order to download the logs, click on the Download button.The log.csv file will be downloaded containing all

Comments

User8568

Managing products efficiently in WooCommerce often requires custom sorting options in the admin product list. Whether you want to sort products by stock quantity, custom fields, or a specific attribute, adding custom sorting options can significantly improve your workflow.In this guide, we’ll show you how to add custom sorting options to the WooCommerce admin product list without using a plugin.Step 1: Add a Custom Column to the Product List TableThe first step is to create a custom column that displays the data you want to sort. For example, if you want to sort products by stock quantity, you’ll need to add a column for stock values.Code to Add a Custom ColumnAdd this code to your theme’s functions.php file or your child theme:/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds a custom column to the admin product list"*/function wcsuccess_add_custom_product_column( $columns ) { $columns['stock_quantity'] = __( 'Stock Quantity', 'woocommerce' ); return $columns;}add_filter( 'manage_edit-product_columns', 'wcsuccess_add_custom_product_column' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function displays data in the custom column"*/function wcsuccess_display_custom_product_column( $column, $post_id ) { if ( 'stock_quantity' === $column ) { $stock_quantity = get_post_meta( $post_id, '_stock', true ); echo is_numeric( $stock_quantity ) ? $stock_quantity : __( 'N/A', 'woocommerce' ); }}add_action( 'manage_product_posts_custom_column', 'wcsuccess_display_custom_product_column', 10, 2 );Explanation:Custom Column: Adds a new column named Stock Quantity to the admin product list.Display Data: Fetches and displays the stock quantity for each product.Step 2: Make the Column SortableOnce the custom column is added, you need to make it sortable.Code to Enable SortingAdd this code to your functions.php file:/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function makes the custom column sortable"*/function wcsuccess_make_custom_column_sortable( $sortable_columns ) { $sortable_columns['stock_quantity'] = 'stock_quantity'; return $sortable_columns;}add_filter( 'manage_edit-product_sortable_columns', 'wcsuccess_make_custom_column_sortable' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds sorting functionality to the custom column"*/function wcsuccess_sort_products_by_stock_quantity( $query ) { global $pagenow; if ( 'edit.php' === $pagenow && isset( $query->query_vars['post_type'] ) && 'product' === $query->query_vars['post_type'] ) { if ( isset( $query->query_vars['orderby'] ) && 'stock_quantity' === $query->query_vars['orderby'] ) { $query->set( 'meta_key', '_stock' ); $query->set( 'orderby', 'meta_value_num' ); } }}add_action( 'pre_get_posts', 'wcsuccess_sort_products_by_stock_quantity' );Explanation:Sortable Columns: Registers the custom column as sortable.Sorting Logic: Uses the _stock meta key to sort products by stock quantity numerically.Step 3: Add Additional Sorting OptionsYou can extend this functionality to sort products by other fields, such as price, SKU, or a custom meta field.Example: Sort by Regular PriceAdd this code to your functions.php file to add sorting by Regular Price:/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John

2025-04-14
User1033

In the order will also be synced.Sync ProductsNow, the admin can sync products between WooCommerce and Keap. If any product is updated in the WooCommerce, it will also be updated in the Keap after successful synchronization. The admin has to import or export products from this section in order to keep all the products updated.In order to sync products, go to WordPress Admin > WC Infusionsoft > Sync Products.The admin can Export WooCommerce products to Keap Infusionsoft and Import Keap Infusionsoft products to WooCommerce.Export WooCommerce Products to Keap InfusionsoftThe admin can export WooCommerce products to Keap Infusionsoft.In Sync Products, navigate to Import/Export Products.Click on Export WooCommerce Products to Infusionsoft.The next step will be Select Products.In this step the admin has to select if the admin wants to export all products, products from specific categories or products by specific IDs.If the admin selects All Products, it will export all the WooCommerce products to the Keap.Click Next to move to the next step.The next step is Review, in this step the admin will select which field data will be exported with the product.Checkmark those fields which the admin wants to export with the product.Click on the Next button to proceed and start the export.Note: Product Image should be in .png or .jpeg format.The exporter will start exporting WooCommerce products to the Keap.Once the export is successfully completed, the total number of products exported will be displayed.The total number of products failed to export will also be displayed.The admin can check the failed products in the List of failed products section.Click on the Back to menu button to go back to the Import/Export step.After the export, navigate to the Keap dashboard > E-Commerce > Products.All the exported products will be displayed.Export By Product CategoryThe admin can export products from specific categories instead of exporting all the products.In the Select Products step, select Product from categories, all the WooCommerce categories will be displayed. Select categories from which the products will be exported.Click Next to move to the next step.The next step is Review, in this step the admin will select which field data will be exported with the product.Checkmark those fields which the admin wants to export with the product.Click on the Next button to proceed and start the export.Once the export is successfully completed, the total number of products exported will be displayed.The total number of products failed to export will also be displayed.The admin can check the failed products in the List of failed products section.Click on the Back to menu button to go back to the Import/Export step.After the export, navigate to the Keap dashboard > E-Commerce > Products.All the exported products will be displayed.Export By Product Specific IDThe admin can

2025-04-11
User1351

Admin wants to import, insert product ID in Enter Product IDs. Click Next to move to the next step.The next step is Review, in this step the admin will select which field data will be imported with the product.Checkmark those fields which the admin wants to import with the product.Click on the Next button to proceed and start the import.Once the import is successfully completed, the total number of products imported will be displayed.The total number of products failed to import will also be displayed.The admin can check the failed products in the List of failed products section.Click on the Back to menu button to go back to the Import/Export step.After the import, navigate to the WordPress Admin > Products > All Products..All the imported products will be displayed.Sync OrdersNow, the admin can sync orders between WooCommerce and Keap. If any order is updated in the WooCommerce, it will also be updated in the Keap after successful synchronization. The admin has to import or export products from this section in order to keep all the products updated.In order to sync products, go to WordPress Admin > WC Infusionsoft > Sync Orders.The admin can Export WooCommerce orders to Keap Infusionsoft and Import Keap Infusionsoft orders to WooCommerce.Export WooCommerce Orders to Keap InfusionsoftThe admin can export WooCommerce orders to Keap Infusionsoft.In Sync Orders, navigate to Import/Export Products.Click on Export WooCommerce Orders to Infusionsoft.The next step will be Select Orders.In this step the admin has to select if the admin wants to export all orders, orders from specific status or order by specific Order IDs.If the admin selects All Orders, it will export all the WooCommerce orders to the Keap.Click Next to move to the next step.The next step is Review, in this step the admin will review the Order setting and the number of orders that will be exported to the Keap.Click on the Proceed button to proceed and start the export.Once the export is successfully completed, the total number of orders exported will be displayed.Click on the Back to menu button to go back to the Import/Export step.In case, if the orders failed to export, the total number of orders failed to export will also be displayed.The admin can check the failed orders in the List of failed orders section.The orders that already existed in the Keap will not be exported and the number of already existed orders will be displayed.After the successful export, navigate to the Keap dashboard > E-Commerce > Orders.All the exported orders will be displayed.Click on the order to view details.WooCommerce order number will be displayed in Order Title.Export Orders By Specific StatusThe admin can export orders by specific status instead of exporting all the orders.In the

2025-04-19
User4467

Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds a custom column for regular price"*/function wcsuccess_add_regular_price_column( $columns ) { $columns['regular_price'] = __( 'Regular Price', 'woocommerce' ); return $columns;}add_filter( 'manage_edit-product_columns', 'wcsuccess_add_regular_price_column' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function displays the regular price in the custom column"*/function wcsuccess_display_regular_price_column( $column, $post_id ) { if ( 'regular_price' === $column ) { $regular_price = get_post_meta( $post_id, '_regular_price', true ); echo wc_price( $regular_price ); }}add_action( 'manage_product_posts_custom_column', 'wcsuccess_display_regular_price_column', 10, 2 );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function makes the regular price column sortable"*/function wcsuccess_make_regular_price_sortable( $sortable_columns ) { $sortable_columns['regular_price'] = 'regular_price'; return $sortable_columns;}add_filter( 'manage_edit-product_sortable_columns', 'wcsuccess_make_regular_price_sortable' );/* * Snippet: How to Add Custom Sorting Options to WooCommerce Admin Product List – 2025 * Author: John Cook * URL: * Tested with WooCommerce 9.3.3 * "This function adds sorting logic for regular price"*/function wcsuccess_sort_products_by_regular_price( $query ) { global $pagenow; if ( 'edit.php' === $pagenow && isset( $query->query_vars['post_type'] ) && 'product' === $query->query_vars['post_type'] ) { if ( isset( $query->query_vars['orderby'] ) && 'regular_price' === $query->query_vars['orderby'] ) { $query->set( 'meta_key', '_regular_price' ); $query->set( 'orderby', 'meta_value_num' ); } }}add_action( 'pre_get_posts', 'wcsuccess_sort_products_by_regular_price' );Step 4: Test Your Custom Sorting OptionsGo to Products:Navigate to WooCommerce > Products in the WordPress admin.View Custom Columns:Ensure the new columns (e.g., Stock Quantity and Regular Price) are visible.Sort Products:Click the column headers to sort the products by stock quantity or regular price.Example WorkflowColumn NameSortableDataStock Quantity? YesNumerical valueRegular Price? YesPrice formattedUse Case ExampleSort products by stock quantity to identify low-stock items.Sort products by regular price to manage pricing more effectively.ConclusionAdding custom sorting options to the WooCommerce admin product list allows you to tailor the admin interface to your needs. By following this guide, you can create new columns, display custom data, and sort products by any field, such as stock quantity or price.Test these changes in a staging environment before applying them to your live site. For more WooCommerce customisation options, explore our WooCommerce Visual Hooks Guide or use our wp-config generator for advanced configurations.I have been working with WordPress and WooCommerce since 2012 and have developed a deep knowledge of the content management system. Since 2012, I have developed several plugins and designed dozens of websites utilising different frameworks, CMS’s and programming languages. I am proficient in PHP, Python, Java, C, C++, R and JavaScript with limited experience in Go, Kotlin and Swift.Educationally, I have a Master’s degree in cyber security a Bachelor’s (Hons, First Class) in Applied Research and a Graduate Certificate in Data Science. I’m currently undertaking PhD studies investigating IoT cybersecurity. I recently graduated with First Class Honours and Masters of Information Technology, receiving the Executive Dean’s Award for studies undertaken in the 2021 and 2022 academic years. I have worked in the information technology industry for the past

2025-04-11
User7001

Local pickup to avoid confusion.In WP Admin, navigate to WooCommerce > Settings > Payments to specify which payment gateways are enabled and configure their settings.Use the Enabled toggle to turn a gateway on or off:If you try to enable a payment method that needs additional configuration, you’ll be redirected to the setup screen for that payment method.Clicking the name of the payment gateway will take you to a screen to set up or adjust its settings. Another way to configure its settings is to click the Set up or Manage button for that particular payment gateway.Installed gateways are listed in the table and can be dragged and dropped to control the order in which they display to customers on the checkout.See the following pages for more payment gateway information:Premium payment gateway optionsFree payment gateways included in WooCommerceFind accounts and privacy settings in WP Admin at WooCommerce > Settings > Accounts & Privacy.Here, you can enable or disable guest checkout, control customer account creation, control how personal data is retained or removed from your shop, and set your privacy policy notices. For more details, see Accounts & Privacy settings.Find email settings in WP Admin at WooCommerce > Settings > Emails.You can edit design elements of your store’s email template, change your store’s sending address, and configure your settings for (or disable) each email WooCommerce sends. For more details, see Email settings.Find integration settings in WP Admin at WooCommerce > Settings > Integration.This is where you enter your license key for the MaxMind geolocation integration. Extensions, plugins, themes, and other integrations may also add settings to this tab.From the site visibility settings, you’ll be able to enable Coming soon mode and share your under-construction store via a private link.Learn more about Coming soon mode.Find advanced settings in WP Admin at WooCommerce > Settings > Advanced.Advanced settings allow you to set WooCommerce pages, integrate external applications with the REST API, add custom webhooks to your store, and enable new or experimental features like High-Performance Order Storage (HPOS) and the new product editor. For more details, see Advanced settings.Do you still have questions and need assistance? If you’re looking to extend the core functionality shown here, we recommend reviewing available extensions in the WooCommerce Marketplace.Need ongoing advanced support or a customization built for WooCommerce? Hire a Woo Agency Partner.Are you a developer building your own WooCommerce integration or extension? Check our Developer Resources.If you weren’t able to find the information you need, please use the feedback thumbs below to let us know.

2025-03-27
User4349

When you go to WooCommerce > Settings in your site’s WP Admin dashboard, you’ll notice tabs relating to the different kinds of settings available:GeneralProductsTaxShippingPaymentsAccounts & PrivacyEmailsIntegrationSite visibilityAdvancedNote: WooCommerce is highly extensible, open-source software. Extensions and plugins commonly add additional settings and tabs to the WooCommerce settings page(s). If you see additional settings to those pictured below or mentioned in the following pages, they have most likely been added by an extension/plugin, your theme, or custom code.You’ll find your store’s general settings in WP Admin at WooCommerce > Settings > General.These settings include your store’s location, where you’ll sell and ship orders, what to use as the default customer location, enabling or disabling taxes and coupons, and your store’s currency options.For more details, see General settings.Find and edit product settings in WP Admin at WooCommerce > Settings > Products.These settings determine which page is set as your main shop page, which units of measurement to use for product dimensions, product review settings, inventory management, stock notifications, how downloadable products are handled, and more.For more details, see Products settings.Find and edit tax settings in WP Admin at WooCommerce > Settings > Tax.The Tax settings tab won’t be visible until taxes are enabled in the general settings. WooCommerce’s built-in tax settings let you choose how taxes are displayed and calculated in your shop, you can also add tax rates for specific areas, and additional tax classes with different rates to be used for certain products or shipping costs.For more details, see WooCommerce tax settings.Find and edit shipping settings in WP Admin at WooCommerce > Settings > Shipping.WooCommerce has several built-in shipping settings and methods that cover a wide range of use cases:The main shipping settings screen is for shipping zones. Think of a shipping zone as a geographic region where a certain set of shipping methods and their rates will apply.Learn more at Setting up shipping zones.The shipping settings page contains the following settings:CalculationsEnable the shipping calculator on the cart pageHide shipping costs until an address is enteredShipping destinationShip to a customer’s billing or shipping address by default, or only ship to the user’s billing address.Debug modeEnabling debug mode will display the customer’s matched shipping zone in a notice on the site’s front-end (see image below), and bypass the shipping rate cache. Enable for troubleshooting purposes.Shipping classes can be used to enable shipping methods to provide different rates for different classes or types of products.Learn more about product shipping classes.Local pickup allows the customer to pick up an order themselves — no shipping required. There are currently two ways to implement local pickup in the free, core WooCommerce plugin:A modern, streamlined experience that is natively integrated with the block version of the checkout flow. Learn more at WooCommerce Blocks: Local pickup.A legacy version that can be added to shipping zones as a WooCommerce core shipping method. This will work on either the shortcode or block version of the checkout. Learn more at Legacy Shipping Method: Local Pickup.We recommend using only one method for

2025-04-13

Add Comment