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.



