Robbie1974
Nieuwe gebruiker
- Lid geworden
- 13 nov 2008
- Berichten
- 2
Kan iemand mij op weg helpen met volgend probleem.
Ik wens
te vervangen door
maar krijg telkens foutmeldingen.
Ik wens
Code:
_PRICE="9999"
Code:
<xsl:value-of select="format-number($price * 1.45 * 1.21,'#.00')"/>
Code:
<td class="prijslijst" ><xsl:variable name="price" select="number(translate(Price,',','.'))"/>
<xsl:choose>
<xsl:when test="$price < 25"><form action="index.php?option=com_wrapper&view=wrapper&Itemid=225" onSubmit="return AddToCart(this)"><input type="hidden" _ID="{ID}" _NAME="{Description}" _PRICE="9999" _WEIGHT="0" _LENGTH="0" _WIDTH="0" _HEIGHT="0" /><input type="text" name="_QUANTITY" value="1" size="2" maxlength="3" onChange="this.value=CKquantity(this.value)" /><input type="SUBMIT" value="Kopen" /></form><p class="prijslijst">@ <xsl:value-of select="format-number($price * 1.45 * 1.21,'#.00')"/></p></xsl:when>
<xsl:when test="$price < 55"><form action="index.php?option=com_wrapper&view=wrapper&Itemid=225" onSubmit="return AddToCart(this)"><input type="hidden" _ID="{ID}" _NAME="{Description}" _PRICE="9999" _WEIGHT="0" _LENGTH="0" _WIDTH="0" _HEIGHT="0" /><input type="text" name="_QUANTITY" value="1" size="2" maxlength="3" onChange="this.value=CKquantity(this.value)" /><input type="SUBMIT" value="Kopen" /></form><p class="prijslijst">@ <xsl:value-of select="format-number($price * 1.35 * 1.21,'#.00')"/></p></xsl:when>
<xsl:when test="$price < 95"><form action="index.php?option=com_wrapper&view=wrapper&Itemid=225" onSubmit="return AddToCart(this)"><input type="hidden" _ID="{ID}" _NAME="{Description}" _PRICE="9999" _WEIGHT="0" _LENGTH="0" _WIDTH="0" _HEIGHT="0" /><input type="text" name="_QUANTITY" value="1" size="2" maxlength="3" onChange="this.value=CKquantity(this.value)" /><input type="SUBMIT" value="Kopen" /></form><p class="prijslijst">@ <xsl:value-of select="format-number($price * 1.25 * 1.21,'#.00')"/></p></xsl:when>
<xsl:otherwise><form action="index.php?option=com_wrapper&view=wrapper&Itemid=225" onSubmit="return AddToCart(this)"><input type="hidden" _ID="{ID}" _NAME="{Description}" _PRICE="9999" _WEIGHT="0" _LENGTH="0" _WIDTH="0" _HEIGHT="0" /><input type="text" name="_QUANTITY" value="1" size="2" maxlength="3" onChange="this.value=CKquantity(this.value)" /><input type="SUBMIT" value="Kopen" /></form><p class="prijslijst">@ <xsl:value-of select="format-number($price * 1.14 * 1.21,'#.00')"/></p></xsl:otherwise>
</xsl:choose></td>