Results 1 to 5 of 5
  1. #1
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default Add to cart errors

    On the product listing pages I sometimes get an error when i click add to cart. I have a category full of normal products with a price. If no products are chosen and i click add to cart then I'm sent to a empty shopping cart, which is fine and dandy.

    I ahve another category full of call for price products and if I click on 'add to cart' there I get this error message:


    Warning: Variable passed to each() is not an array or object in /home/cotswoo/public_html/catalog/includes/application_top.php on line 725

    Warning: Cannot modify header information - headers already sent by (output started at /home/cotswoo/public_html/catalog/includes/application_top.php:725) in /home/cotswoo/public_html/catalog/includes/functions/functions_general.php on line 53

    Any thoughts? Thanks in advance.

  2. #2
    Join Date
    Jun 2003
    Posts
    33,720
    Plugin Contributions
    0

    Default Re: Add to cart errors

    Have you made any changes to the page layout? That error can be caused by missing <form> tags

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add to cart errors

    What version of Zen Cart are you using?

    You say when you have a full list of Call for Price ... those should not allow the Add to Cart Button to show if that is all there is on the page ... at least as of Zen Cart v1.3 ... I may have gotten that into v1.2.7 ... but I'd have to reload and test it ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default Re: Add to cart errors

    Thanks for replys people. No, Im' 99% sure I've not made any changes to the page layout. What file would it be if I had? I'd better check.

    I'm using 1.2.7 I'm afraid. Here's a url if it helps. http://www.cotswood-doors.co.uk/cata...e-c-1_7_8.html

  5. #5
    Join Date
    Apr 2006
    Posts
    178
    Plugin Contributions
    0

    Default Re: Add to cart errors

    Is there any solution to this other than upgrading to 1.3? I really want to get a version of the site working 100% before I upgrade and cause myslef a new bunch of problems...

 

 

Similar Threads

  1. v154 Errors after installing 1.5.4- An Unknown Response null and Add to cart problem
    By QuickBooksDev in forum Installing on a Windows Server
    Replies: 6
    Last Post: 20 Sep 2015, 01:33 PM
  2. Replies: 3
    Last Post: 29 Mar 2015, 06:01 PM
  3. Replies: 2
    Last Post: 24 Jun 2010, 11:20 PM
  4. Blank page errors with login checkout and add to cart
    By Dreamwater in forum General Questions
    Replies: 3
    Last Post: 27 May 2008, 01:14 AM
  5. category dressing errors and move add to cart errors
    By MachaNeko in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 18 May 2008, 02:29 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg