The prices for the shorts are predetermined by their size
sm are £6.00
med are £6.50
xxl are £7.00
The $size is coming across from a Pre-Written Perl script and I am less confident with perl than with PHP so would like to display the price on the order.php page calculated from the $size as it id carried across from the Perl Script.
I can imagine a formula for doing this, but my imagination plays tricks on me...
// imagination says
if $size = sm, $price = 6.00
if $size = med, $price = 6.50
if $size = xxl, $price = 7.00
echo $price;
Now I am trying to spare my blushes because I have just made all that up after searching php.net for a IF statement, this is my imagination working overtime again. As I said in a earlier post, I am a Newbie and without knowing much more I am not sure if I am talking a load of pants !
Thanks for trying