osCmax v2.5 User Manual
Results 1 to 5 of 5

Quantity discount on v2.1 - cart max quantity limited to 99 items

This is a discussion on Quantity discount on v2.1 - cart max quantity limited to 99 items within the osCmax v2 Installation issues forums, part of the osCmax v2.0 Forums category; Hi, I just installed the latest v2.1 (r588) and are having some problem with the quantity discount. For example, if ...

      
  1. #1
    New Member
    Join Date
    Jul 2010
    Posts
    8
    Rep Power
    0


    Default Quantity discount on v2.1 - cart max quantity limited to 99 items

    Hi,

    I just installed the latest v2.1 (r588) and are having some problem with the quantity discount.

    For example, if I set the regular price to be $10 and
    quantity discounts on the admin side are set as:
    $8 100
    $6 500
    $4 1000

    When I put any number that's more than 100 in the shopping cart, the quantity is always changed to 99. It seems like the system doesn't recognize the quantity beyond the first tier.

    Is there any way to correct this problem?

    Thanks

  2. #2
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Quantity discount on v2.1

    The default max quantity in the cart is set to 99 items. You can change this here:
    Admin >> Configuration >> Maximum Values >> Product Quantities In Shopping Cart

    Set it higher.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  3. #3
    New Member
    Join Date
    Jul 2010
    Posts
    8
    Rep Power
    0


    Default Re: Quantity discount on v2.1 - cart max quantity limited to 99 items

    Mike,

    Thanks for the quick reply. That's a easy fix.

    Also, I was not able to create account when I clicked the create account button. There was no form to fill. I compared create_account file the code to the v2 and noticed on line 391
    $javascript = $content . '.js.php';

    I changed it to:
    $javascript = '$content .js.php';
    and it worked.

    I'm not sure if it's a correct fix.

  4. #4
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,907
    Rep Power
    568


    Default Re: Quantity discount on v2.1 - cart max quantity limited to 99 items

    Regarding the create account problem, be more specific.

    Are you using the new One Page Checkout or the old create account page? Full details in another thread on that specific topic should be posted. There have recently been some very big changes to the create-account-checkout process, so no doubt there may be some issues to be ironed out.
    Michael Sasek
    osCMax Developer


    osCmax Installation Service
    - Have our professionals install osCmax on your server - same day service!
    osCmax 2.5 User Manual - the must have beginners guide to osCmax v2.5

    Stay Up To Date with everything osCMax:
    Free osCmax Newsletters - Security notices, New Releases, osCMax News
    osCmax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  5. #5
    New Member
    Join Date
    Jul 2010
    Posts
    8
    Rep Power
    0


    Default Re: Quantity discount on v2.1 - cart max quantity limited to 99 items

    Mike,

    I'm using the r588 version. After I installed the program and clicked the Create Account button, I was taken to a page showing Shopping Cart, Language, Currency, and Wishlist. But no form to fill information of the new account I wanted to create.

    I don't have background on php but I did notice on line 391 of the r588 Create Account file that the little ' in this line may be in a wrong place:
    $javascript = $content . '.js.php';

    So I moved the ' to the very front:
    $javascript = '$content .js.php';

    Then the form of creating new account showed up and I was able to create new account without problem.

    I just want to make sure I did the correct change of the code.

    Thanks.


    Quote Originally Posted by michael_s View Post
    Regarding the create account problem, be more specific.

    Are you using the new One Page Checkout or the old create account page? Full details in another thread on that specific topic should be posted. There have recently been some very big changes to the create-account-checkout process, so no doubt there may be some issues to be ironed out.

Similar Threads

  1. Discount Per Products Quantity
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 05-02-2008, 05:00 AM
  2. Quantity discount
    By Keilew in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 08-05-2007, 09:03 AM
  3. discount for quantity with per product
    By xzyyy in forum osCmax v2 Customization/Mods
    Replies: 4
    Last Post: 02-22-2007, 09:24 AM
  4. Downloaded Items don't reduce Stock Quantity
    By midwestwebsites in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-01-2003, 11:28 AM
  5. Disable buy button on 0 quantity items
    By Jood in forum osCommerce 2.2 Modification Help
    Replies: 1
    Last Post: 10-30-2003, 11:36 AM

Bookmarks

Posting Permissions

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