talking wordpress if that helps
so…
i created a paypal form/cart loop within my php page – worked great
i made it so the price would change depending on variables selected using on0, os0 system – worked great
i rejigged a java discount coupon code – worked great on fixed price items
but…
doesn’t work on variable price items because I’m using the variables on0, os0, for example
<input type=”hidden” name=”option_select0″ value=”10cm”><input type=”hidden” name=”option_amount0″ value=”10″>
<input type=”hidden” name=”option_select1″ value=”20cm”><input type=”hidden” name=”option_amount1″ value=”20″>
<input type=”hidden” name=”on0″ value=”Height”>
<input type=”hidden” name=”os0″ value=”‘; echo $height.’cm’; echo'”>
but the discount coupon code works on the variable ‘baseamt’
I’m racking my brains how I can change the value of baseamt whilst still changing the paypal variable os0
or some other workaround
I’m good in html, .css, php but I’m thinking it might be time to learn java jquery
can anyone suggest a way of doing this with php first?