Halo,
in the last file there was a bug in the file product_listing.php.
This information is the same like in the .RAR -File!
Now is this bug fixed. Here the solution:
replace:
//BEGIN SOLDOUT
if ($listing['products_quantity']>-0) {
$lc_text = '' . tep_image_button('button_buy_now.gif', IMAGE_BUTTON_BUY_NOW) . ' ';
}
else{
$lc_text = '' . tep_image_button('more_info.gif', IMAGE_BUTTON_MORE_INFO) . ' ';
}
//END SOLDOUT
with:
//BEGIN SOLDOUT
$quantity = tep_db_fetch_array(tep_db_query("select products_quantity from products where products_id like '".$listing["products_id"]."'"));
$lc_align = 'center';
if (intval($quantity['products_quantity']) > 0) {
$lc_text = '' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_BUY_NOW) . ' ';
}else{
$lc_text = '' . tep_image_button('more_info.gif', IMAGE_BUTTON_MORE_INFO) . ' ';
}
//END SOLDOUT
Greetingz from Bulgaria!
More...





LinkBack URL
About LinkBacks









Bookmarks