Second instalment!
Although not a really great fix, since type_handler can also be edited, but the chances of it being edited are much smaller. I translate all product type names for managers whose English is not quite what it could be.
Here's the fix so that editing the type_name from Product - Auction will not break the convert type:
in file admin/convert_type.php change line 24 from:
toCode:$sql = "SELECT * FROM " . TABLE_PRODUCT_TYPES . " WHERE type_name = 'Product - Auction'";
Code:$sql = "SELECT * FROM " . TABLE_PRODUCT_TYPES . " WHERE type_handler = 'product_auction'";


Reply With Quote
