Hi,
I customized my Emporium Plus Volume Price table to display items with a quantity of 1|1 at the bottom of the list (vs. the top where they would normally appear).
I'm having a problem now removing 4 empty table rows that are being created at the bottom of the table automatically.
Here is the code I'm using for this:
<mvt:item name="cim_vol" param="tablearray" />
<mvt:if expr="l.settings:volprice_rows GT 0">
<table class="volprice-table1" cellpadding="2" cellspacing="0">
<tr>
<th colspan="2" bgcolor="#8CA5CA">
<font size="+1">
Volume Price
</font>
</th>
</tr>
<tr>
<th align="left" bgcolor="#FFFFFF">
<font color="#003366" size="-1">
Quantity
</font>
</th>
<th align="right" bgcolor="#FFFFFF">
<font color="#003366" size="-1">
Price Each
</font>
</th>
</tr>
<mvt:foreach iterator="volume" array="volprice">
<mvt:if expr="l.settings:volume:current">
<tr>
<td align="left">
<mvt:else>
<tr>
<td align="left" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 GT 1">
&mvt:volume:range;
<mvt:else>
</mvt:if>
</font>
</td>
<mvt:if expr="l.settings:volume:current">
<td align="right">
<mvt:else>
<td align="right" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 GT 1">
&mvt:volume:price;
<mvt:else>
</mvt:if>
</font>
</td>
</tr>
</mvt:foreach>
<mvt:foreach iterator="volume" array="volprice">
<tr>
<mvt:if expr="l.settings:volume:current">
<td align="left">
<mvt:else>
<td align="left" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 EQ 1">
&mvt:volume:range; Piece Sample
<mvt:else>
</mvt:if>
</font>
</td>
<mvt:if expr="l.settings:volume:current">
<td align="right">
<mvt:else>
<td align="right" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 EQ 1">
&mvt:volume:price;
<mvt:else>
</mvt:if>
</font>
</td>
</tr>
</mvt:foreach>
</table>
</mvt:if>
Any help with this would be greatly appreciated.
I customized my Emporium Plus Volume Price table to display items with a quantity of 1|1 at the bottom of the list (vs. the top where they would normally appear).
I'm having a problem now removing 4 empty table rows that are being created at the bottom of the table automatically.
Here is the code I'm using for this:
<mvt:item name="cim_vol" param="tablearray" />
<mvt:if expr="l.settings:volprice_rows GT 0">
<table class="volprice-table1" cellpadding="2" cellspacing="0">
<tr>
<th colspan="2" bgcolor="#8CA5CA">
<font size="+1">
Volume Price
</font>
</th>
</tr>
<tr>
<th align="left" bgcolor="#FFFFFF">
<font color="#003366" size="-1">
Quantity
</font>
</th>
<th align="right" bgcolor="#FFFFFF">
<font color="#003366" size="-1">
Price Each
</font>
</th>
</tr>
<mvt:foreach iterator="volume" array="volprice">
<mvt:if expr="l.settings:volume:current">
<tr>
<td align="left">
<mvt:else>
<tr>
<td align="left" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 GT 1">
&mvt:volume:range;
<mvt:else>
</mvt:if>
</font>
</td>
<mvt:if expr="l.settings:volume:current">
<td align="right">
<mvt:else>
<td align="right" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 GT 1">
&mvt:volume:price;
<mvt:else>
</mvt:if>
</font>
</td>
</tr>
</mvt:foreach>
<mvt:foreach iterator="volume" array="volprice">
<tr>
<mvt:if expr="l.settings:volume:current">
<td align="left">
<mvt:else>
<td align="left" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 EQ 1">
&mvt:volume:range; Piece Sample
<mvt:else>
</mvt:if>
</font>
</td>
<mvt:if expr="l.settings:volume:current">
<td align="right">
<mvt:else>
<td align="right" bgcolor="#FFFFFF">
</mvt:if>
<font size="-2">
<mvt:if expr="pos1 EQ 1">
&mvt:volume:price;
<mvt:else>
</mvt:if>
</font>
</td>
</tr>
</mvt:foreach>
</table>
</mvt:if>
Comment