PDA

View Full Version : File Upload .7 (for PA - Option Type Feature)



michael_s
09-10-2009, 11:01 PM
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.

More... (http://addons.oscommerce.com/info/1540)