Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Whats New -> Add to Cart -> Problem


Recommended Posts

I am having a strange problem I hope someone can shed some light on. When I go to my catalog and click on a "What's New" item, I get the product info page as expected. I click on the "Add to Cart" button. The item is added to my cart, but I am not redirected to the "My Cart" page, instead I am redirected back to the same product info page. The cart contents does change in the small cart contents box on the right.


Here is what is strange. I figured maybe some of my customizations might have dorked it up so I copied my catalog to another box that still had the freshly installed oscommerce database. It works fine, so I don't think it is the php code. The only difference is that the productional database contains my products, the test database is the default installed oscommerce database. Another strange difference is that on my productional box, it appears mod_rewrite is being used to rewrite urls:


Production box: catalog/product_info.php/products_id/30

Test box: catalog/product_info.php?products_id=18


Has anyone else run into this, and more importantly solved it?

-- Bad Penguin

Link to comment
Share on other sites


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

  • Create New...