Guest Posted February 21, 2007 Posted February 21, 2007 Hi everybody, I have a slight problem. If I set Display Cart After Adding Product to FALSE and click buy now from the list of products on index.php it redirects me to product_info.php page. It works fine if I am on the product_info page but not on any other page. In application_top.php I have if (DISPLAY_CART == 'true') { $goto = FILENAME_SHOPPING_CART; $parameters = array('action', 'cPath', 'products_id', 'pid'); } else { $goto = basename($PHP_SELF); if ($HTTP_GET_VARS['action']== 'buy_now') { $parameters = array('action', 'pid', 'products_id'); } else { $parameters = array('action', 'pid'); } } so I don't know where it picks product_info.php from. Many thanks for your help.
Guest Posted February 21, 2007 Posted February 21, 2007 happens when products have attributes. Since the lists do not display them the osc switches to the product info page so a customer can select the product's options.
Guest Posted February 21, 2007 Posted February 21, 2007 Hi Enigma. Thanks for the reply. Since the lists do not display them the osc switches to the product info page so a customer can select the product's options.That's all fine only the redirection isn't correct as it does the following:http://www.domain.co.uk/catalog/product_in...Path/91/sort/3a Which triggers the message Product of stock!
Guest Posted February 21, 2007 Posted February 21, 2007 goto your osc admin->Configuration->My Store->Use Search Engines safe URLs Set it to false. If you want some seo for the links check the ultimate seo urls. http://www.oscommerce.com/community/contributions,2823
Recommended Posts
Archived
This topic is now archived and is closed to further replies.