On my site, there are products that have:
1. No options
2. Options with color variations
3. Price options
4. Options of both color and price
If a product has no color or price options, it should go directly to the cart. However, if the product has options of either price or color or both, then I am trying to direct a visitor to pages where they can select more options, but the logic in my code only works when there are ONLY Product Options ($ProductOptions). When there are Price options or variations ($ProductPr), the logic breaks down. Any ideas on how to make it work? Here is the code:
<% if $ProductOptions || $ProductPr %>
<a href="$Link"><input type="button" class="cart-button" value="Click for Pricing" /></a>
<% else_if $ProductOptions && $ProductPr %>
<a href="$Link"><input type="button" class="cart-button" value="Click for Pricing" /></a>
<% else %>
<strong>$Price.Nice</strong> <input type="submit" class="cart-button" value="Add to Cart" />
<% end_if %>