rgvsean Posted September 9, 2006 Share Posted September 9, 2006 (edited) Using this contrib: http://www.oscommerce.com/community/contributions,1186 When logged in it works fine but as a guest I get errors as in the screen print below on product attributes drop down boxes. Please help! Edited September 9, 2006 by rgvsean Quote Link to comment Share on other sites More sharing options...
rgvsean Posted September 9, 2006 Author Share Posted September 9, 2006 In product_info.php there is this code: if (isset($cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']])) { $selected_attribute = $cart->contents[$HTTP_GET_VARS['products_id']]['attributes'][$products_options_name['products_options_id']]; } else { $selected_attribute = false; } I altered the 'false' to 'true' and it all works fine now :thumbsup: Confession...............I just guessed :o How do I got about getting this correction added to the contrib as I am new to this. Many Thanks. 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.
Note: Your post will require moderator approval before it will be visible.