Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Product not found error


  • You cannot reply to this topic
6 replies to this topic

#1 Irileo.com

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

Posted 09 February 2012, 23:02

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 DunWeb

  • Community Sponsor
  • 10,471 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 09 February 2012, 23:20

@Irileo.com,

I didn't get any error using FF9.0.1



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#3 Irileo.com

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

Posted 10 February 2012, 01:49

Huh? I'm using FF10.0 wonder if it's a browser issue?

#4 Irileo.com

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

Posted 10 February 2012, 01:51

I also tried it in Safari and still getting an error.

#5 DunWeb

  • Community Sponsor
  • 10,471 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 10 February 2012, 02:57

@Irileo.com

I just updated to FF10.0 (didn't know I didn't have the latest, thanks) and still had no error.




Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Click Here to learn how I can help you with custom coding, add ons, security and templates :|:

:|: Need an Area Calculator, Pre-Paid Account, Virtual Pin, Auction or Layaway Add on ? Click Here :|:

#6 Irileo.com

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

Posted 10 February 2012, 04:21

Well that is strange. Well thanks for taking a look.

#7 Irileo.com

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

Posted 15 February 2012, 20:43

I am still having an issue. I have created a new post with an attachment to a pdf with screenshots to help explain the issue. Can someone please help me resolve this issue. Thanks.

http://forums.oscommerce.com/topic/383736-need-help-with-add-to-cart-button/