Only one currency in ads?

Functionality discussions and feature requests

Moderators: hugo, alexandre, rmvanarkel

Post Reply
reebokata
Posts: 5
Joined: Wed Feb 27, 2013 1:32 pm

Only one currency in ads?

Post 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>

Post Reply