I can also post any files you need, if you would like
(sorry for double posting, it wont let me edit my previous)
I can also post any files you need, if you would like
(sorry for double posting, it wont let me edit my previous)
I'd recommend using something like Beyond Compare from scootersoftware.com and comparing a clean Zen Cart to your site and see if there is something missing from the code ...
This has been built into Zen Cart for a long time and to suddenly not work I'd have to say a file has been altered from the original code and it is not picking up the setting properly ...
Linda McGrath
If you have to think ... you haven't been zenned ...
Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!
Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here
Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!
Okay, I can try that. Could you possibly list the files associated with the Text Attributes because there are an awful lot of files I would have to go through haha
Okay I checked every single file and they are all the same (besides my overrides) and it still is not working. BUT I think im on to something. One file was different which i thought would have solved my problem but it didnt seem to work It was the functions_lookup.php file and this is what the part of the file that was different:
PHP Code:// text required validation
if (ereg('^txt_', $option)) {
$check_attributes = $db->Execute("select attributes_display_only, attributes_required from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id='" . (int)$product_id . "' and options_id='" . (int)ereg_replace('txt_', '', $option) . "' and options_values_id='0'");
// text cannot be blank
if ($check_attributes->fields['attributes_required'] == '1' and empty($value)) {
$check_valid = false;
}
}
return $check_valid;
-- That is the original code so i replaced the file but it still doesnt work. Is there something wrong with the above code still?
Thanks for the help so far
Okay finally figured it out. It was the Ty's Package Tracker addon
Once you execute the SQL for it, it completely messes up the attributes. Why, im not sure but if anyone knows please let me know cause i loved that addon!