mendru Posted December 1, 2009 Share Posted December 1, 2009 Hi. I can't find the solution. May be you'll get it easy. I'm treating to do a listing in allproducts contribution that shows all product options simultaneously. You can see it in: http://www.mendrulandia.es/tienda/allprods.php I’ve modified allprods.php file and creatin a new module named lista.php because I don’t want to change product_listing.php file. I would like it stay unchanged in the rest of the pages. Everything allright here. The idea is you can click in the 3 last fields to buy directly the product in the required option and ths is the problem. I thought I could do this making a form and passing values <form name="cart_quantity" action="http://yoursite/catalog/product_info.php?products_id=product_number&action=add_product" method="post"> <select name="id[products_options_id]"><option value="products_options_values_id"> I've tryed to send it in a javascript function but it doesn't works. ¿Is there any way to do this? Thanks in advance. Quote Link to comment Share on other sites More sharing options...
mendru Posted December 1, 2009 Author Share Posted December 1, 2009 I've solved. I needed to include the post variable 'products_id' too. Thanks. Quote Link to comment Share on other sites More sharing options...
spooks Posted December 1, 2009 Share Posted December 1, 2009 I've solved. I needed to include the post variable 'products_id' too. Thanks. You may get issues still as you have removed the sid by not using tep_href_link http://www.oscommerce.com/forums/index.php?showtopic=330479&hl also do your attributes get passed? Quote Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: Auto Backup your Database, Easy way Multi Images with Fancy Pop-ups, Easy way Products in columns with multi buy etc etc Disable any Category or Product, Easy way Secure & Improve your account pages et al. 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.