1. It should, but it doesn’t. At least, it didn’t for me. I used a fresh 4.5.3 installation when doing my latest tests.
2. Because, if I create a custom template, what if I don’t want to include the file list, but I want to be able to add to cart? (And, I don’t). The majority of my packages are 1 file and my users don’t care about seeing the file name. Using [file_list] to get it to show is impractical in this sense.
The good news is, I already hacked something together which allows for this–I just looked at how you generated your button code and added some php trickery, so my link template grabs the necessary values (specifically the package-id and encrypting the filename; since all my packages have an index of 0) and it works with the cart fine.
3. Cool. ๐ For now, I’ll work on hacking something together on my site to get it to work.
Something else I realized after:
4. I would change how the jquery/ajax works, but only slightly. Using the slide/up functions for removals works well, but it would be better, if the functions (addtocart, removeitem, removecart) also complete refreshed the cart html itself. I only realized I needed this, because I decided to have my cart (currently) on my same file index page where downloads occur. I’m writing some jquery now to accomplish this.
Edits:
1. Scratch that, I see upon updating I have a few variable index values, so I wrote a function to fetch them, insert the value in the button, and fetch the filename by index value. Working again for all files.
2. I also completed the AJAX refresh: on adding an item to cart, removing an item from cart, and emptying the cart. I just need to limit the requests now, and then I can start work on the custom lock functionality. ๐