This has probably been mentioned in the previous 200+ pages of this thread, but whatever.
My base was adding the attribute costs to my products even though there were some attributes that were free. It made my product appear to cost much more than others.
To fix this I changed /includes/classes/google_base.php line 468 from
Code:
$product_att_query = $db->Execute("select options_id, price_prefix, options_values_price, attributes_display_only, attributes_price_base_included from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$products_id . "' and attributes_display_only != '1' and attributes_price_base_included='1' and options_values_price > 0 order by options_id, price_prefix, options_values_price");
to
Code:
$product_att_query = $db->Execute("select options_id, price_prefix, options_values_price, attributes_display_only, attributes_price_base_included from " . TABLE_PRODUCTS_ATTRIBUTES . " where products_id = '" . (int)$products_id . "' and attributes_display_only != '1' and attributes_price_base_included='1'". /*" and options_values_price > 0".*/ " order by options_id, price_prefix, options_values_price");
This allows attributes that have a zero cost to be used in the price calculations instead of the attributes that have an additional cost.
Bookmarks