Jump to content


Corporate Sponsors


Latest News: (loading..)

Product not found error


2 replies to this topic

#1 Irileo.com

  • Community Member
  • 9 posts
  • Real Name:Roger McGough

Posted 09 February 2012, 22:58

When clicking on a product image or name form this page

http://irileo.com/dir/index.php?cPath=22

the product_info.php page opens. Then when clicking Add to Cart button, the product adds to cart fine, however product not found displays.

If I click on the Buy now button to open product_info.php then click add to cart, it works fine.

I have narrowed it down to the following line of code that creates the add to cart button, however I can't seem to correct it.

<span class="buttonAction"><?php echo tep_draw_hidden_field('products_id', $product_info['products_id']) . tep_draw_button(IMAGE_BUTTON_IN_CART, 'cart', null, 'primary'); ?></span>

Also I noticed when clicking the image or name the following url opens. (this displays the product not found)
http://irileo.com/dir/product_info.php?cPath=22&products_id=30

When opening from the buy now button this url opens
http://irileo.com/dir/product_info.php?products_id=30

Can someone please help?

Thanks

#2 Irileo.com

  • Community Member
  • 9 posts
  • Real Name:Roger McGough

Posted 09 February 2012, 23:01

Noticed I posted under wrong version. Sorry

#3 bugguys

  • Community Member
  • 4 posts
  • Real Name:Bill Ledbetter

Posted 17 February 2012, 16:53

@Irileo.com Roger, did you ever figure this out?