Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1
    Join Date
    Jun 2006
    Posts
    181
    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
    64,886
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  3. #3
    Join Date
    Jun 2006
    Posts
    181
    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
    64,886
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Jun 2006
    Posts
    181
    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
    181
    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
    181
    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
    64,886
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  9. #9
    Join Date
    Jun 2006
    Posts
    181
    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
    64,886
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Qty discounts with mixed products?
    By pilot in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 6 Jul 2006, 09:16 PM

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
  •