Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add to Cart Link - Not Working


thall89553

Recommended Posts

Posted

The button does add the item to your cart, but does not take you to the shiopping cart page.

Stock oscommerce stores have a switch in admin to turn on/off the feature of 'display cart after adding product'.

 

Tim

Posted

Thanks Tim. I logged into the admin area and I saw what you were referring to. It was set to "True". I am still having an issue. It seems that if someone is on the products_info.php page ( http://www.mts-diesel.com/product_info.php?manufacturers_id=&products_id=137 ) the "Add to Cart" buttons works fine and takes the shopper to the cart contents page. But if a shopper is on the index.php page, such as http://www.mts-diesel.com/index.php?cPath=1_11_19 then nothing happens. I'm really at a loss to understand why this is. Any further help would be so appreciated. Tom

Posted

Your first link takes you to the shopping cart page. the second link adds to cart but gives a pop up stating the item was added to cart.

Judging by the lorem ipsum text, you have a template and the solution is way beyond my level of help.

 

Tim

Posted

Probably due to the javascript error on the main page.

 

It works in Firefox (3.0) even with the javascript error, but my IE7 chokes.

 

The error console in Firefox tells me:

 

Error: $(".cart_status").dialog is not a function
Source File: http://www.mts-diesel.com/javascript/osc_cart.js
Line: 310

 

Talk with the template supplier - you were sold a defective product looks to me like.

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Archived

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

×
×
  • Create New...