Category "product"

Reorder attribute dropdown terms in Woocommerce single variable products

In the Woocommerce single variable product pages, I would like to change the order of the sizing options on the related drop-down menu. Actually It is like thi

How do you add custom field to woocommerce product attribute

I want to include a simple in the edit attribute form. (/wp-admin/edit.php?post_type=product&page=product_attributes&edit=55) Is this possible? Everyt

Filter WooCommerce products with post__in and additional meta queries

I am trying to find products that are on sale (including product variations) in addition to another meta_query of price under X. The wc_get_product_ids_on_sale(

WooCommerce Additional Information - if empty, hide

I'm working on an eCommerce project at the moment. I'm using WooCommerce in WordPress. I've got ridden of the product data tabs and displayed product descripti

Magento 2 products disable hover

I have Magento 2 Luma theme installed. I want to remove the hover effect on my products' page and the 'add to cart' button be visible all the time. This works o

Hide specific products from unlogged users based in product category in WooCommerce

I have a certain product category that I only want to offer to logged in users. How would I implement that? So how to hide specific products from unlogged user

Edit product hook WooCommerce

On my product template, I execute this action : <?php /** * woocommerce_single_product_summary hook. * * @hooked woocommerce_template_single

Add custom field to product inventory tab and display value only on WooCommerce admin order edit page

I have this code added to functions.php and I would like the contents of my custom field to show on the orders page of WooCommerce backend. Specifically each pr

dataframe transformation python products atrributes values

I have an excel file with products like this below. Is it possible to align the same kind of attributes to same column using python? I have this category name

Show only featured products in Woocommerce shop page

I want to display in default shop page from WooCommerce only featured products, nothing more... It's there a solution to display in WooCommerce shop template on

How to hide products with price higher than 1 on WooCommerce shop and archives pages

I'm using this code to hide products on the Shop Page where the product price is higher than 1. However, without the desired result. Where does it go wrong? M

Add free product when a certain coupon is applied in WooCommerce

I can add a product to cart, when a certain coupon is used via the woocommerce_applied_coupon hook and the add_to_cart() function add_action('woocommerce_applie

Add custom CSS class to "add to cart" button on WooCommerce shop and archives pages based on certain condition

I am trying to disable "add to cart" button on WooCommerce shop and archives pages if product's quantity stock is zero or less. I don't want to hide it so I cam

woocommerce change position of price

I get this error when trying to render the product price before the main content on the page. Fatal error: Uncaught Error: Call to a member function get_price_