Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1
    Join Date
    Mar 2008
    Posts
    52
    Plugin Contributions
    0

    help question Global Changes to Download Days and Counts?

    If I have all of my download files set up for 10 Days and 5 Downloads and want to change all of my downloads to 7 Days and 7 Downloads, how do I do that?

    I would really like to change them all at once. I'm hoping that I don't have to change each one individually because I have hundreds. LOL!

    Thanks in advance!

  2. #2
    Join Date
    Mar 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: Global Changes to Download Days and Counts?

    Anyone? I'm really hoping that I don't have to change 800+ items one at a time. LOL! :)

  3. #3
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Global Changes to Download Days and Counts?

    Try
    admin/configuration/attribute settings ?

  4. #4
    Join Date
    Mar 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: Global Changes to Download Days and Counts?

    Quote Originally Posted by misty View Post
    Try
    admin/configuration/attribute settings ?
    I tried that and it changes it for new products but not all of the old products. So when I add a new product, it's right, but all of the previous products stay the same.

    Thanks Misty :)

  5. #5
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Global Changes to Download Days and Counts?

    Then it's probably doable directly into/via database...you need zencart
    dev i.e. ajeh, to explain how.
    She wrote downloads for zencart.

  6. #6
    Join Date
    Mar 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: Global Changes to Download Days and Counts?

    Quote Originally Posted by misty View Post
    Then it's probably doable directly into/via database...you need zencart
    dev i.e. ajeh, to explain how.
    She wrote downloads for zencart.
    Thanks again, Misty! :)

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

    Default Re: Global Changes to Download Days and Counts?

    The information on the number of days and download attempts is stored in the:
    products_attributes_download

    table and in the fields:
    products_attributes_maxdays
    products_attributes_maxcount

    To change ALL existing Products with ANY download attributes to use the new values of 7 Days and 7 Download attempts you can run, from the Tools ... Install SQL Patches ... the following:

    PHP Code:
    UPDATE products_attributes_maxdays SET products_attributes_maxdays7products_attributes_maxcount 7
    NOTE: Backing up your database is a good idea before doing this ...

    Then, set your defaults to 7 Days and 7 Download Count for future referrence ...
    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.5]
    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!

  8. #8
    Join Date
    Mar 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: Global Changes to Download Days and Counts?

    Thank you, Linda!! :)

  9. #9
    Join Date
    Mar 2008
    Posts
    52
    Plugin Contributions
    0

    Default Re: Global Changes to Download Days and Counts?

    Linda, I just tried it and here are the errors I got:

    Error Failed: 1

    Error ERROR: Cannot execute because table products_attributes_maxdays does not exist. CHECK PREFIXES!

    Warning Note: 1 statements ignored. See "upgrade_exceptions" table for additional details.

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

    Default Re: Global Changes to Download Days and Counts?

    I was testing you ... yeah ... that's it ... testing you ...

    See if this works better ...

    To set Maximum Days to Download to 7 and Maximum Download Attempts Count to 10 ...
    Code:
    UPDATE products_attributes_download SET products_attributes_maxdays= 7, products_attributes_maxcount = 10;
    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.5]
    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. v139h Attribute Controller Question about changing expiry days and download count
    By AmandaCreation in forum General Questions
    Replies: 1
    Last Post: 22 Jan 2014, 04:58 PM
  2. v139h Global Category Link Changes and Master Category ID Reset not showing anymore
    By lilly06 in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 7 Sep 2012, 10:14 AM
  3. Customer download counts
    By Loubyloo in forum Managing Customers and Orders
    Replies: 0
    Last Post: 19 Jul 2011, 06:57 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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR