Announcement

Collapse
No announcement yet.

The quantity must be a whole number...

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    The quantity must be a whole number...

    I am trying to assist a client with a problem as follows:

    v9 ICLA

    One product only had a problem on adding to cart. The returning error was:
    "Quantity: The quantity must be a whole number equal to or greater than 1."
    All other products seem OK.

    I advised to delete the product, compact the database and then copy another similar product, modify it to be the same as the deleted product. At first that seemed to solve the problem and the product could then be added to cart OK.

    However.... the problem seem to move on to a different product. After doing the same routine as above the problem then again moved on to a different product.

    All other products (I believe) are OK.

    A search on the forum only brings up a few v7 answers which are only related to business settings and relate to a site wide issue.

    Here's the current product that has the problem:
    http://tinyurl.com/GFN-002

    Anyone seen this before or/and have a resolution or is this one for support?

    #2
    I saw a similar problem to this when I first implemented the SPP code in the V9 AUG.

    After a little digging I found that there was a slight differeance in the Qty box code.

    The AUG called for the variable "Product Reference", which I replaced with "ProductID".

    This thread...

    I don't recall it jumping from product to product though. It seemed to be a Global Issue.

    Army Gore-tex
    Winter Climbing Mitts
    webD's Blog: Website design, SEO and other ramblings…
    Twitter LinkedIN

    If you think a post is good, rate it!

    Find the answers in the Knowledge Base | Have you read the User Guides

    Comment


      #3
      Originally posted by drounding View Post
      I am trying to assist a client with a problem as follows:
      Duncan, there is also no way to remove items from the cart in checkout, nor a button to access the cart from the page.

      Malcolm

      SellerDeck Accredited Partner,
      SellerDeck 2016 Extensions, and
      Custom Packages

      Comment


        #4
        Originally posted by malbro View Post
        Duncan, there is also no way to remove items from the cart in checkout, nor a button to access the cart from the page.
        "Your Basket" at the top of the page, but I agree it's not that obvious. I only knew where to look becasue I build in Actinic...

        Army Gore-tex
        Winter Climbing Mitts
        webD's Blog: Website design, SEO and other ramblings…
        Twitter LinkedIN

        If you think a post is good, rate it!

        Find the answers in the Knowledge Base | Have you read the User Guides

        Comment


          #5
          The design is not mine.

          The issue is only related to one product but deleting it seems to move the issue to another product. I have a feeling it is a database issue.

          Comment


            #6
            I have spent the last couple of hours struggling with the same error "Quantity: The quantity must be a whole number ...." as described in post #1 but was trying to avoid the code change in post #2. I am running v9.0.3 IMMA (though I don't know if this makes any difference). I couldn't find much else to help me so in case anyone else hits this I thought I'd post what I did to get round it.

            I wanted to create a special order item for 1 customer which once bought would be removed from the live site. Tackling this in a straightforward way I created a customer account and assigned them to a new customer group. I created a new section and put the new product in it. I added the customer group to the 'Prices' tab, unticked 'Enabled' and 'Product Visible' for the Retail customer group and ticked 'Enabled' and 'Product Visible' for my new customer group.

            The new section and new product worked as expected - not visible if not logged in as the new customer, visible if logged in (not an ideal design but good enough for a short period of time until the order is placed, after which the new section will be removed).

            When logged in the Quantity box was empty and refused to accept any entry, always reporting the error "Quantity: The quantity must be a whole number ...".

            The 'fix' was to tick the 'Enabled' box against the Retail customer group. The product still only appeared to the new user when logged in, but this time with a default '1' in the Quantity box and the error didn't reappear.
            Brian Mercer

            Azurra Mosaics
            www.mosaics.co.uk

            Comment

            Working...
            X