Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2006
    Posts
    5
    Plugin Contributions
    0

    Default Troubleshooting downloads attributes has hit a brick wall

    Zen Cart 1.2.3
    Database Patch Level: 1.2.4

    I have an attribute setup for downloads that I originally set up by following the FAQ. It used to work (six months ago) and I was able to:

    - Purchase an mp3
    - Log in as admin and set my order status from Processing -> Delivered
    - Log back in as the user, go to My Account (as I recall), click on the order in question and see download buttons.


    I recently added a bunch of new products and (through an automated script) set their attribs in the same way. However, I now can't make the downloads work EITHER for the new mp3 products NOR for prior ones.

    Now I:

    - Purchase an mp3
    - Log in as admin and set my order status from Processing -> Delivered
    - Log back in as the user, go to My Account, click on the order, and I get a list of the product(s) with no download buttons. Previously my recollection is that there were buttons to download.

    Digging a bit in the database, I find that:

    - there are rows for the products in zen_products_attributes (I can post a dump of a sample row if this would be helpful)
    - there's a row for a corresponding products_attributes_id in zen_products_attributes_download
    - There are NOT any rows corresponding to my latest order in zen_orders_products_attributes or zen_orders_products_attributes_download


    Any more thoughts on how to troubleshoot? I'd hate to go into the ZC source code and find where this is supposed to get copied over on a per-order basis, so I'm hoping someone has an easier suggestion.

    Due diligence: I searched for zen_orders_products_attributes and didn't find the results to be relevant.

  2. #2
    Join Date
    Jan 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: Troubleshooting downloads attributes has hit a brick wall

    Follow-up:

    Turns out this issue had to do with a form that I had created as part of another product's (the album's) description. My form was probably not passing the correct variables for the attributes, so that's where I'll look. When I purchased a song without going through this custom form, I was fine.

    That said, I've found something else that seems to be a possible bug or misconfiguration. When I purchase the mp3s and choose check/money order as payment it lets me download even BEFORE the admin changes the status, i.e. while status is still processing. That can't be right, can it?

    I'll be digging thru changelogs to see if ZC still works this way....

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

    Default Re: Troubleshooting downloads attributes has hit a brick wall

    If at all possible, would upgrade to latest version of ZenCart,, your current version
    may not be secure

  4. #4
    Join Date
    Jan 2006
    Posts
    5
    Plugin Contributions
    0

    Default Re: Troubleshooting downloads attributes has hit a brick wall

    Yeah, that's a whole other can of worms, but very true. The owner of the server (whom I subcontract for) knows of this problem.

    Turned out the issue here was the configuration of the Check/Money Order payment module. Apparently by default it sets "purchased" items to status #2 - Processing. And apparently Processing allows you to DL.

    Someone correct me if I'm wrong -- I'll certainly do a virgin install of the newest version module before I enter a bug against it.

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

    Default Re: Troubleshooting downloads attributes has hit a brick wall

    The Orders Status of a Payment Module is the control feature of Downloads ...

    It is best to always define these specifically so that you have no surprises ...
    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!

 

 

Similar Threads

  1. v139h Help I have hit a wall - can admin have option for different payment
    By dharrison in forum Addon Payment Modules
    Replies: 7
    Last Post: 31 Jan 2013, 10:35 PM
  2. Hit a brick wall with styling
    By trickobrien in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 28 Nov 2011, 06:34 PM
  3. Hit A Wall... Need Assistance
    By coastalfog in forum Basic Configuration
    Replies: 13
    Last Post: 18 Oct 2009, 12:14 AM
  4. new to zen, purchased a zen template, going well but have hit a brick wall. HELP...
    By Inkwork in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 26 Jan 2008, 05:26 PM
  5. Hit a brick wall - Looking for suggestions
    By noisebug in forum General Questions
    Replies: 5
    Last Post: 20 Dec 2007, 11:41 AM

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