• I’m editing the cart.php template in woocoomcerce and I’m trying to completely remove some variations based on what other variations have been choosen by the customer.

    I’ve tried the following:
    unset($cart_item['variation']['attribute_pa_color-group-b']);

    This removes the variation from showing up in the cart.php but in the next step, review-order.php and all other places (admin back-end etc) it still shows up.

    Can someone help me with COMPLETELY removing the variation from showing up again? Thank you.

    https://www.ads-software.com/plugins/woocommerce/

  • The topic ‘Remove product variation from cart’ is closed to new replies.