How to check if a product is available for purchase? ✅
### Explanation
To check if a product is available:
```liquid
{% if product.available %}
{% else %}
{% endif %}
```
Key points:
- `product.available` returns true if:
- Product is published
- At least one variant is available
- Works with inventory tracking on/off
- Handles all inventory policies
Reference: [Shopify Product Object](https://shopify.dev/docs/api/liquid/objects/product)