[contribution] Super Download Store
#21
Posted 12 February 2007 - 09:46 PM
as it did with the downloads controller?
As I'm in the process of moving providers I'm thinking about creating the webshop from scratch as I have
too many things in it that I don't try anymore and if this super download shop can be combined with paypal ipn
then I may go for this option.
#22
Posted 13 February 2007 - 02:24 AM
AlexStudio, on Feb 10 2007, 04:25 PM, said:
The content of a download order can not be changed once logged in database. You cannot add new files to existing orders like the way you tried. Please check your databse and see how it works in orders_products_download table.
GREAT CONTRIBUTION, JUST WHAT I HAVE BEEN ASKING FOR FOR A YEAR!
My one question is this.
HOW DO I RESET THE DOWNLOADS FOR A CUSTOMER
HOW DO I ASSIGN DIFFERENT FOLDERS FOR THE DOWNLOADS? OR NO NEED JUST MAKE NEW FOLDERS IN THE DIRECTORY?
I previously added reset download count update, but I dont see how to reset the download?
#23
Posted 13 February 2007 - 02:27 AM
jayblaq, on Feb 13 2007, 03:24 AM, said:
My one question is this.
HOW DO I RESET THE DOWNLOADS FOR A CUSTOMER
HOW DO I ASSIGN DIFFERENT FOLDERS FOR THE DOWNLOADS? OR NO NEED JUST MAKE NEW FOLDERS IN THE DIRECTORY?
I previously added reset download count update, but I dont see how to reset the download?
I am also thinking of integrating the SAVE ALL DOWNLOADS AS ZIP FILE to this contribution to allow users toeither download all the files seperate or to download one zip file.
Is this something that everyone would like? What are your thoughts alex?
#24
Posted 13 February 2007 - 04:42 AM
Tadream, on Feb 13 2007, 05:46 AM, said:
as it did with the downloads controller?
As I'm in the process of moving providers I'm thinking about creating the webshop from scratch as I have
too many things in it that I don't try anymore and if this super download shop can be combined with paypal ipn
then I may go for this option.
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.
#25
Posted 13 February 2007 - 04:50 AM
jayblaq, on Feb 13 2007, 10:24 AM, said:
My one question is this.
HOW DO I RESET THE DOWNLOADS FOR A CUSTOMER
HOW DO I ASSIGN DIFFERENT FOLDERS FOR THE DOWNLOADS? OR NO NEED JUST MAKE NEW FOLDERS IN THE DIRECTORY?
I previously added reset download count update, but I dont see how to reset the download?
To store files in different folders, just make new folders UNDER your download directory, that's it.
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.
#26
Posted 13 February 2007 - 04:55 AM
jayblaq, on Feb 13 2007, 10:27 AM, said:
Is this something that everyone would like? What are your thoughts alex?
Currently there is no 'sort order' in the file list, so it can be tricky to keep that big package on top of other files. I'll see how it can be done.
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.
#27
Posted 13 February 2007 - 05:56 AM
AlexStudio, on Feb 13 2007, 05:55 AM, said:
Currently there is no 'sort order' in the file list, so it can be tricky to keep that big package on top of other files. I'll see how it can be done.
Well thats not what i was asking there is a contribution on here zip downloads. This will offer the customer at checkout if they want to download all files zipped or in individual files.
I like this idea for people buying 1-5 titles. For any more it would be huge and too big for them to safely download. I was just thinking of options for users. If I do mod the code to make this work with your package I will post it all up here so people can add this feature.
Jay
#28
Posted 13 February 2007 - 08:14 AM
jayblaq, on Feb 13 2007, 01:56 PM, said:
I like this idea for people buying 1-5 titles. For any more it would be huge and too big for them to safely download. I was just thinking of options for users. If I do mod the code to make this work with your package I will post it all up here so people can add this feature.
Jay
It should work out of the box I think, only that it uses a different method to secure pending orders. It won't be too difficult to utilize the Downloads Controller method in ZIP_Download.
However, a bad logic found in the ZIP_Download v1.1. It creates the zip file before checking the expiry, which I think should only happen after.
Another issue of integrating ZIP_Download v1.1 would be the file size. The time required to create the zip file is based on 'guessing', not calculated. An additional total file size should be examined prior to execute the zip function.
Alex
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.
#29
Posted 13 February 2007 - 08:46 AM
AlexStudio, on Feb 13 2007, 09:14 AM, said:
It should work out of the box I think, only that it uses a different method to secure pending orders. It won't be too difficult to utilize the Downloads Controller method in ZIP_Download.
However, a bad logic found in the ZIP_Download v1.1. It creates the zip file before checking the expiry, which I think should only happen after.
Another issue of integrating ZIP_Download v1.1 would be the file size. The time required to create the zip file is based on 'guessing', not calculated. An additional total file size should be examined prior to execute the zip function.
Alex
sounds good ill try and add those features
#30
Posted 13 February 2007 - 10:02 AM
I installed your contribution yesterday but nothing seems to work the way it should be
In the download.php there is this test :(file_exists(DIR_FS_DOWNLOAD . $downloads['orders_products_filename'])) which check if the file is on the HDD, but for a group file it checks if there is a file WITH the name of the group file !!!!
Is it normal, because I never get the download link on my pages (for group file I mean) ?
Thank you
#31
Posted 13 February 2007 - 10:19 AM
lada, on Feb 13 2007, 06:02 PM, said:
I installed your contribution yesterday but nothing seems to work the way it should be
In the download.php there is this test :(file_exists(DIR_FS_DOWNLOAD . $downloads['orders_products_filename'])) which check if the file is on the HDD, but for a group file it checks if there is a file WITH the name of the group file !!!!
Is it normal, because I never get the download link on my pages (for group file I mean) ?
Thank you
Which one it is?
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.
#32
Posted 13 February 2007 - 11:39 AM
Is there a difference in the install process?
#33
Posted 13 February 2007 - 02:38 PM
lada, on Feb 13 2007, 07:39 PM, said:
Is there a difference in the install process?
Which version of the osCommerce PayPal IPN you're using?
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.
#34
Posted 13 February 2007 - 03:09 PM
#35
Posted 13 February 2007 - 03:38 PM
You should write it in your future install procedure.
Thank you.
#36
Posted 13 February 2007 - 05:41 PM
If I choose "Enable SEO URLs?" false. The download shows and if I have it on true It doesnt.
Edited by Dennis_gull, 13 February 2007 - 05:42 PM.
#37
Posted 13 February 2007 - 06:21 PM
Dennis_gull, on Feb 14 2007, 01:41 AM, said:
If I choose "Enable SEO URLs?" false. The download shows and if I have it on true It doesnt.
If the single download file works, the group files should work too.
I have Ultimate SEO URLs v2.1d by chemo installed without any problem. Which SEO URLs version are you using?
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.
#38
Posted 13 February 2007 - 06:46 PM
I've noticed a problem, when I set options on products (even if they don't use file at all) I don't have the page about the shipping options (checkout_shipping.php), and it goes directly to checkout_payment.php.
I use the paypal IPN 2.2 module and that's all.
Thank you for you're help.
#39
Posted 13 February 2007 - 07:29 PM
#40
Posted 13 February 2007 - 07:30 PM
Currently, you can modify catalog/admin/products_attributes.php to get around it. Please follow the instruction below:
Find in line 82:
tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD . " values (" . (int)$products_attributes_id . ", '" . tep_db_input($products_attributes_filename) . "', '" . tep_db_input($product_attribute_filegroup_id) . "', '" . tep_db_input($products_attributes_maxdays) . "', '" . tep_db_input($products_attributes_maxcount) . "')"); Replace with:
if (tep_not_null($products_attributes_filename)) tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES_DOWNLOAD . " values (" . (int)$products_attributes_id . ", '" . tep_db_input($products_attributes_filename) . "', '" . tep_db_input($product_attribute_filegroup_id) . "', '" . tep_db_input($products_attributes_maxdays) . "', '" . tep_db_input($products_attributes_maxcount) . "')");
Please try to see if this fixes the bug. You will need to delete the products attributes which you previously created without assigning a file to.
Yes, I'm willing to help, but please ask in the right place. Think twice before trying to PM me, it might be ignored.









