Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2006
    Posts
    179
    Plugin Contributions
    0

    Default How to add the discount qty box to ALL products???

    How to add the discount qty box to ALL products??? Is there a way to it then manually??

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

    Default Re: How to add the discount qty box to ALL products???

    The discount quanties are stored in the table:
    products_discount_quantity

    Then, in the products table you need to update the 2 fields for:
    products_discount_type
    products_discount_type_from

    If you setup a Product with the proper Discount Quanties ... you will be able to see what these settings are ...
    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!

  3. #3
    Join Date
    Jun 2006
    Posts
    179
    Plugin Contributions
    0

    Default Re: How to add the discount qty box to ALL products???

    eehe...Thanks... But were??? In MySQL or... i found a Tabell: zen_products_discount_quantity... but not products_discount_type or
    products_discount_type_from...

    I want to have same discount on all my products.

    0-59pcs = 5%
    60-119pcs = 7%
    120-599pcs=10%
    600-1199pcs=15%

    Peter....

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

    Default Re: How to add the discount qty box to ALL products???

    These are fields in the products table ...

    In your case, the zen_products table ...
    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!

  5. #5
    Join Date
    Jun 2006
    Posts
    179
    Plugin Contributions
    0

    Default Re: How to add the discount qty box to ALL products???

    I think i have foud it but it was named different. But i have found allt the number and also exported it to excel.....

  6. #6
    Join Date
    Jun 2006
    Posts
    179
    Plugin Contributions
    0

    Default Re: How to add the discount qty box to ALL products???

    I have created the excel file but i got some kind of FAIL when importing the file...

  7. #7
    Join Date
    Jun 2006
    Posts
    179
    Plugin Contributions
    0

    Default Re: How to add the discount qty box to ALL products???

    Quote Originally Posted by Ajeh
    The discount quanties are stored in the table:
    products_discount_quantity

    Then, in the products table you need to update the 2 fields for:
    products_discount_type
    products_discount_type_from

    If you setup a Product with the proper Discount Quanties ... you will be able to see what these settings are ...
    Ok, i found them:

    `products_discount_type` tinyint(1) NOT NULL default '0',
    `products_discount_type_from` tinyint(1) NOT NULL default '0',

    What to do with them????

    And i also found a table with my values in it:
    discount_id
    products_id
    discount_qty
    discount_price

    To add all data to thouse fields will take as long as to do it in ZC. Is there any fast way to do it???

    //Peter

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

    Default Re: How to add the discount qty box to ALL products???

    You could write a php file to collect all of the product_id and then build the products_discount_quantity with that for the values ...

    Then update the two fields in the products table to the correct settings ...
    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!

  9. #9
    Join Date
    Jun 2006
    Posts
    179
    Plugin Contributions
    0

    Default Re: How to add the discount qty box to ALL products???

    Quote Originally Posted by Ajeh
    You could write a php file to collect all of the product_id and then build the products_discount_quantity with that for the values ...

    Then update the two fields in the products table to the correct settings ...
    Pbh, pph, php.. i can hardly spell to it

    So there are no "easy" way to do it then ?

    Peter

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

    Default Re: How to add the discount qty box to ALL products???

    Just by writting a program for this ...

    If you are unable to write one to do this for you ... you may contact me via PM for a customized job to do this ...
    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!

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. how do i change the qty box to add to this cart button?
    By hangman21 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 1 Aug 2010, 11:45 AM
  2. Editing All product QTY Discount Box at once
    By wittlethings in forum General Questions
    Replies: 0
    Last Post: 25 Apr 2009, 05:57 AM
  3. How do I add 'Units available' to the qty number on the products listing page?
    By vivaraquel in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 25 Sep 2008, 11:09 PM
  4. How to change text in Qty. Discount Box?
    By merlin1372 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 1 Oct 2006, 05:27 AM
  5. How to keep the Qty Discount box from appearing?
    By benjames in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 21 Sep 2006, 11:35 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