so, bei mir arbeitet es, wie ich möchte, d.h. nach meinen Bedürfnissen.
Ich weiß nur nicht, ob es so brauchbar ist.
Ich musste etwas auskommandieren, um die errorlogs loszuwerden.
Pfad: Catalog/includes/modules/pages/product_listining/product_listing.php
neu
wozu diese Einträge da sind, weiß ich nicht. Die Templatedateien muss man so übernehmen, wie sie sind, sonst wird nichts angezeigt, (Könnte auch sein, ich kann nicht mergen)
Ich weiß nur nicht, ob es so brauchbar ist.
Ich musste etwas auskommandieren, um die errorlogs loszuwerden.
Code:
[COLOR=#008000][FONT=Ubuntu][FONT=Ubuntu]Pfad: Catalog/includes/modules/DEINTEMPLATE[/FONT][/FONT][/COLOR] [COLOR=#008000][FONT=Ubuntu][FONT=Ubuntu]// product_listing.php[/FONT][/FONT][/COLOR] [COLOR=#008000][FONT=Ubuntu][FONT=Ubuntu]<--1.5.3 Zeile 23-->[/FONT][/FONT][/COLOR] [COLOR=#333333][FONT=Ubuntu][FONT=Ubuntu]$listing_split = new splitPageResults($listing_sql, MAX_DISPLAY_PRODUCTS_LISTING, 'p.products_id', 'page');[/FONT][/FONT][/COLOR] [COLOR=#008000][FONT=Ubuntu][FONT=Ubuntu]<--Modul-->[/FONT][/FONT][/COLOR] [COLOR=#333333][FONT=Ubuntu][FONT=Ubuntu]kein Eintrag[/FONT][/FONT][/COLOR]
Code:
$check_products_all = $db->Execute($featured_products_split->sql_query); $how_many = 0; while (!$check_products_all->EOF) { if (zen_has_product_attributes($check_products_all->fields['products_id'])) { } else { // needs a better check v1.3.1 if ($check_products_all->fields['products_qty_box_status'] != 0) { if (zen_get_products_allow_add_to_cart($check_products_all->fields['products_id']) !='N') { if ($check_products_all->fields['product_is_call'] == 0) { if ((SHOW_PRODUCTS_SOLD_OUT_IMAGE == 1 and $check_products_all->fields['products_quantity'] > 0) or SHOW_PRODUCTS_SOLD_OUT_IMAGE == 0) { if ($check_products_all->fields['products_type'] != 3) { if (zen_has_product_attributes($check_products_all->fields['products_id']) < 1) { $how_many++; } } } } } } } $check_products_all->MoveNext(); }
Code:
// check how many rows // needs a better check v1.3.1 if ($check_products_all->fields['products_qty_box_status'] != 0) { if (zen_get_products_allow_add_to_cart($check_products_all->fields['products_id']) !='N') { if ($check_products_all->fields['product_is_call'] == 0) { if ((SHOW_PRODUCTS_SOLD_OUT_IMAGE == 1 and $check_products_all->fields['products_quantity'] > 0) or SHOW_PRODUCTS_SOLD_OUT_IMAGE == 0) { if ($check_products_all->fields['products_type'] != 3) { if (zen_has_product_attributes($check_products_all->fields['products_id']) < 1) { $how_many++; } } } } } } }
Kommentar