On my product templates a row of white space displays when product attributes are not assigned to a given product. I'd like for that row of white space to not render when a product has no attributes assigned.
The white space renders because the attribute display is nested in HTML tags like so...
Can you wrap the above code in a conditional so the <tr> and <td> don't display unless attributes are assigned? Something like...
The white space renders because the attribute display is nested in HTML tags like so...
Code:
<tr><td> <mvt:item name="product_attributes" param="product:id" /> </td></tr>
Code:
<mvt:if attributes are assigned to this product display the following> <tr><td> <mvt:item name="product_attributes" param="product:id" /> </td></tr> </mvt:if>
Comment