Kona Bean Posted July 24, 2008 Posted July 24, 2008 Hello, Anyone using this add-on? I got to step H in the readme.txt, "find this line:-" does not exist: H. /admin/products_attributes.php:- 1)============================================= find this line:- tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')"); replace this with : //tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')"); //Color Swatches tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "','', '" . tep_db_input($price_prefix) . "','')"); //Color Swatches Thanks in advance.
Guest Posted July 25, 2008 Posted July 25, 2008 Hello, Anyone using this add-on? I got to step H in the readme.txt, "find this line:-" does not exist: H. /admin/products_attributes.php:- 1)============================================= find this line:- tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')"); replace this with : //tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "', '" . tep_db_input($price_prefix) . "')"); //Color Swatches tep_db_query("insert into " . TABLE_PRODUCTS_ATTRIBUTES . " values ('', '" . (int)$products_id . "', '" . (int)$options_id . "', '" . (int)$values_id . "', '" . tep_db_input($value_price) . "','', '" . tep_db_input($price_prefix) . "','')"); //Color Swatches Thanks in advance. You might not have the exact same code, look at when the add on was written. An ounce of suck and see works wonders. BTW, the add on works but you lose the ability to view larger image.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.