Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Product Reviews Add to Cart Problems


Vince76

Recommended Posts

Posted

Hi there, I am having some dramas with the add to cart in the product reviews, and product reviews info sections. When you click on add to cart you are redirected to your cart but the product is not added. The rest of the add to carts seems to work, it's just those sections I have noticed aren't working.

 

Any suggestions would be really helpful :D

 

Thanks..

Posted

look at stock osc files for these pages and check that the undrelying button code is the same.

Your online success is Paramount.

Posted

Hi, and thanks for the reply. I checked to see if it was a problem due to mods for buy now link to button contrib so I uploaded the original product_reviews_info.php but the same result. The problem is also in product_reviews.php aswell and I didn't mod that file.

 

Other contribs added are:

Sid killer

easy populate

simple template system

meta tags

SEO sitemap

 

The code for the button in product_reviews_info.php is

echo '<p><a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now') . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a></p>';

 

That's the original code so it has to be a problem in another file somewhere, I just can't figure out which one. :(

 

Any suggestions would be helpful :)

 

Thanks again..

Posted

try replacing includes/application_top.php with an original - backing up your copy of course.

Your online success is Paramount.

Archived

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

×
×
  • Create New...