GX-Bug #54367 » CrossSellingFix1.patch
src/lang/german/original_sections/admin/configuration.lang.inc.php (revision ) | ||
---|---|---|
362 | 362 |
'MAX_ADDRESS_BOOK_ENTRIES_DESC' => 'maximal erlaubte Anzahl an Adressbucheinträgen', |
363 | 363 |
'MAX_ADDRESS_BOOK_ENTRIES_TITLE' => 'Adressbucheinträge', |
364 | 364 |
'MAX_DISPLAY_ALSO_PURCHASED_DESC' => 'maximale Anzahl der ebenfalls gekauften Artikel, die in der Artikeldetailansicht angezeigt werden sollen', |
365 |
'MAX_DISPLAY_CROSSSELLING_TITLE' => 'Cross Selling', |
|
366 |
'MAX_DISPLAY_CROSSSELLING_DESC' => 'maximale Anzahl der Cross Selling Artikel, die in der Artikeldetailansicht angezeigt werden sollen', |
|
365 | 367 |
'MAX_DISPLAY_ALSO_PURCHASED_TITLE' => 'Ebenfalls gekauft', |
366 | 368 |
'MAX_DISPLAY_ALSO_PURCHASED_DAYS_TITLE' => 'Zeitraum (Tage) für ebenfalls gekaufte Artikel', |
367 | 369 |
'MAX_DISPLAY_ALSO_PURCHASED_DAYS_DESC' => 'Zeitraum in Tagen, wie alt die Bestellung des ebenfalls gekauften Artikels sein darf.', |
src/lang/english/original_sections/admin/configuration.lang.inc.php (revision ) | ||
---|---|---|
364 | 364 |
'MAX_DISPLAY_ALSO_PURCHASED_DESC' => 'Maximum number of products to display in the "This Customer Also Purchased" box', |
365 | 365 |
'MAX_DISPLAY_ALSO_PURCHASED_TITLE' => 'Also Purchased', |
366 | 366 |
'MAX_DISPLAY_ALSO_PURCHASED_DAYS_DESC' => 'Maximum number of days old the order of also purchased products must be', |
367 |
'MAX_DISPLAY_CROSSSELLING_TITLE' => 'Cross Selling', |
|
368 |
'MAX_DISPLAY_CROSSSELLING_DESC' => 'Maximum number of products to display in the "This product is compatible to" box', |
|
367 | 369 |
'MAX_DISPLAY_ALSO_PURCHASED_DAYS_TITLE' => 'Maximum Days of also purchased products', |
368 | 370 |
'MAX_DISPLAY_BESTSELLERS_DESC' => 'Maximum number of best sellers to display', |
369 | 371 |
'MAX_DISPLAY_BESTSELLERS_TITLE' => 'Best Sellers', |
src/includes/classes/product.php (revision ) | ||
---|---|---|
471 | 471 |
AND |
472 | 472 |
p.products_status = '1' |
473 | 473 |
ORDER BY |
474 |
xp.sort_order ASC"; |
|
474 |
rand(),xp.sort_order ASC |
|
475 |
LIMIT ".MAX_DISPLAY_CROSSSELLING; |
|
475 | 476 |
|
476 | 477 |
$cross_query = xtc_db_query($t_query); |
477 | 478 |