Dies ist im Grunde für ein Produkt in dem Produkt mehrere hat „add ons“ wie: Farbe Größe & etcberechnen Gesamtsumme von mehreren Optionen ausgewählt + mit Basiswert
Also diese "add ons "sind im ausgewählten Formularfeld. mag:
color
<select class="cost">
<option value="0">Blue</option>
<option value="10">Red</option>
<option value="20">Pink</option>
</select>
size
<select class="cost">
<option value="0">small</option>
<option value="10">large</option>
<option value="20">x-large</option>
</select>
ich insgesamt angezeigt werden soll aller ons mit Produktbasispreis ausgewählt hinzufügen.
kann also hier Produktpreis sagt in verstecktem Feld ist wie:
<input name="ProductPrice" value="100"/>
Also, wenn ich Farbe als rot & Größe x-large so insgesamt 100 wird + 10 + 20 ausgewählt = 130
ich will nur „130“
Und was haben Sie versucht? – adeneo