Community Add-Ons
File Upload .7 (for PA - Option Type Feature)
for osCommerce Online Merchant v2.2
This is a file upload utility for use as an attribute on the product_info.php page. Using the standard HTML upload utility (FILE box with a browse button), one can upload a file and link it to a product as an attribute.
For simplicities sake, I am releasing this version as a modification of the Product Attributes - Option Type Feature v1.5 contribution. All files are included in this version (and this readme is merely a modified from of the other). In the future, I may release stripped down versions that will require the Option Type contribution to be installed first. I consider this to be a beta version, so I am releasing it as .7. This allows room for a future version one that can reasonably be considered gamma software.
Free support available in the forums: http://forums.oscommerce.com/index.php?showtopic=59589
Legend:
Download
Report
When a user includes commas in a text options field, an error results in shopping_cart.php, which expects commas to be delimiters of product id's.
After many hours trying to isolate the problem, I solved it by changing the function get_product_id_list() in classes/shopping_cart.php
Zip file includes the modified function only. All I did was take the true product ID to the product ID list, not the entire string, which contains attribute information, and in the case that a user has entered commas in text fields, commas.
