Disabled product variant still shows in {% for %} loop Disabling a product variant doesn't remove it from a {% for purchasable in product.variants %} loop I have set up. It still renders an image associated with it, as well as a color swatch. Essentially not disabling it at all.

{% for purchasable in product.variants if purchasable.status('live') %} isn't working either, which I assume is only applicable to the product model.

Any ideas?
This should filter the variants by their enabled status:

{% set product = craft.commerce.products.id(productId).first() %}

{% for variant in product.variants if variant.enabled %}
    {{ variant.id }}
{% endfor %}