totallytech Posted August 24, 2013 Share Posted August 24, 2013 Hi Guys, I'm using some code to add to a shopping cart, you have to hard code the product details to the php so I have this <?php echo name="' . $image->alttext .'" options_name="Size" options="'.8x6:9.50;10x8:13.50.'" qty_field = "true" b_title="Add To Basket" ; The issue i have is with the options section : options="'.8x6:9.50;10x8:13.50.'" if I use options="8x6:9.50;10x8:13.50" then it only displays 8x6 - £9.50 and doesnt show the 10x8 one, If I add options="'.8x6:9.50;10x8:13.50.'" it breaks the code completely. Any ideas how I can code this? Quote Link to comment Share on other sites More sharing options...
.josh Posted August 24, 2013 Share Posted August 24, 2013 echo "name='" . $image->alttext ."' options_name='Size' options='8x6:9.50;10x8:13.50' qty_field = 'true' b_title='Add To Basket'"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.