Knowledge Base

Save us time to focus on some great new features and try our self service knowledge base. Search for anything.

WooCommerce Product Accessories Filter & Hooks

Change product accessories Position

Let's say you want to show Optional and mandatory accessories before the related products and not at the bottom. Then you can use the following code inside your child theme functions.php: Mandatory accessories: remove_action(...

Change the Number of Accessory Columns

Lets say you want to show 5 accessories in one row. Then use this shortcode: function filter_woocommerce_upsell_display_args( $array ) { $array = 5; return $array; }; // add the filter add_filter(...

Stop adding Mandatory Accessories to Cart

How can I cancel auto add to cart of mandatory products so it only will also act like the optional products? you can add the following hook into your child theme functions.php remove_action( 'woocommerce_add_to_cart', array(...

Did not found what you was looking for?

Please submit a ticket with a detailed explanation about your problem.

Submit Ticket