How to add custom cart item data in WooCommerce [2023]

Your ultimate guide to the woocommerce_add_cart_item_data action

Code Product Add-Ons Ultimate Tutorials WooCommerce

How to update existing WooCommerce cart meta data

Change the meta data for items that have already been added to the cart

Code Tutorials WooCommerce

How to get products associated with a subscription in WooCommerce

A short snippet to get the product object from a WooCommerce subscription object

Code WooCommerce

Querying WooCommerce orders

How to get order, product and customer details from a WooCommerce order

Code WooCommerce

Create a popular posts shortcode in WordPress

Display the most popular posts on your site by comment count

Code SEO WordPress

Override WooCommerce template from your plugin

How to include a WooCommerce template file in your plugin

Code WooCommerce

How to add a custom field to a WooCommerce Subscriptions variation product

Adding and saving custom fields in variable subscription products

Code WooCommerce WordPress

Redirect WooCommerce log-in form

How to set conditional redirects from your WooCommerce log-in form

Code WooCommerce

Add WooCommerce tags to your plugin

Declare the minimum version and the latest version you’ve tested against

Code WooCommerce WordPress