Index: temp/trunk/html/products/detail.php
===================================================================
--- temp/trunk/html/products/detail.php	(revision 6145)
+++ temp/trunk/html/products/detail.php	(revision 7867)
@@ -121,5 +121,6 @@
 			$classcategory_id2 = '0';
 		}
-
+		
+		$objCartSess->setPrevURL($_SERVER['REQUEST_URI']);
 		$objCartSess->addProduct(array($_POST['product_id'], $classcategory_id1, $classcategory_id2), $objFormParam->getValue('quantity'));
 		header("Location: " . URL_CART_TOP);
