Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

"product not found" after being added to cart


Antonin

Recommended Posts

Good day,

my customer adds his desired product to his cart clicking on "add to cart". The product is added to the cart but an announcement "Product not found!" comes to the screen. (Than, you have to click on "continue" which brings you far from where you have been before adding the product to the cart in some cases, to come back takes time and disturbs.) I increased the stock too, though it hasn´t changed the situation.

 

It is 2.3.1.

 

Thanks for your idea,

Antonin

Link to comment
Share on other sites

You can fix this by doing the following

Well you need to just edit one line in includes/application_top.php file.

 

Find buy_now in switch statement and around line # 392

tep_redirect(tep_href_link($goto, tep_get_all_get_params($parameters)));

 

You need to replace this with

tep_redirect(str_replace("amp;","",tep_href_link($goto, tep_get_all_get_params($parameters))));

 

 

This solution is discussed in http://www.oscommerce.com/forums/topic/370133-product-not-found-when-adding-to-cart/

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...