Page 1 of 1

Only one currency in ads?

Posted: Sun Jun 23, 2013 9:13 am
by reebokata
Hello,

So, we have two currencies in our system. The problem is that members can choose between the two currencies when publishing an ad and we want only one currency to be available in ad publishing. Can anyone help because so far we haven't found a way to fix this?
Thank you very much!

Is it a good idea to edit the "editAd.jsp" file section -

<td class="label"><bean:message key="ad.price"/></td>
<td>
<html:text size="12" property="ad(price)" styleClass="small InputBoxDisabled float" readonly="true"/>
<c:choose>
<c:when test="${not empty singleCurrency}">
<html:hidden property="ad(currency)" value="${singleCurrency.id}" />
${singleCurrency.symbol}
</c:when>
<c:otherwise>
<html:select property="ad(currency)" disabled="true" styleClass="InputBoxDisabled">
<c:forEach var="currency" items="${currencies}">
<html:option value="${currency.id}">${currency.symbol}</html:option>
</c:forEach>
</html:select>
</c:otherwise>
</c:choose>

</td>
</tr>