Single Product Variations as Related Products in WooCommerce

This code enables you to replace the related products with variable products related to the single product. If the single product isn’t a variable product, the default related products are shown, if your related products setting is set to true.

The code shows individual variations on the single product page as single products which can be added to the cart separately. This enables your customer to use either the default variation settings or the add to cart button on each related variation to purchase variable products.

Code Installation

There’s only 1 step :

  1. Upload the woocommerce folder to your child theme folder.

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.