|
|||
|
Hallo,
in der class.search_query.php findest du eine SQL-Abfrage, diese müsste verändert werden, also mit abfragen ob das Produkt ein Master ist. Leider gibt es an dieser Stelle keinen Hook. Viele Grüße, df:bug
__________________
xt:commerce 4 VEYTON-Reseller, Service-Partner & Solution-Partner shopx.de - shopx.de/blog - twitter.com/shopxperts - Kostenlose Plugins - shopxperts |
|
|||
|
Hallo,
hier findet die Abfrage statt. Code:
$this->setSQL_WHERE("AND (pd.products_keywords LIKE '%".$keywords."%' or pd.products_name LIKE '%".$keywords."%' or p.products_model LIKE '%".$keywords."%' or p.products_ean LIKE '%".$keywords."%' ".$sdesc.$desc.")");
df:big
__________________
xt:commerce 4 VEYTON-Reseller, Service-Partner & Solution-Partner shopx.de - shopx.de/blog - twitter.com/shopxperts - Kostenlose Plugins - shopxperts |
|
|||
|
Hallo,
dies bekommst du doch durch Änderung des Hook-Points: class.getProductSQL_query.php:F_Listing gelöst! Den HookPoint findest du im installierten master_slave Modul! ändere: Code:
$check_pos = strstr($this->position, 'plugin_ms');
$check_pos_s = strstr($this->position, 'getSearchData');
if (!$check_pos && !$check_pos_s && USER_POSITION != 'admin' )
$this->setSQL_WHERE("and (p.products_master_model='' or p.products_master_model IS NULL) ");
Code:
$check_pos = strstr($this->position, 'plugin_ms');
/*$check_pos_s = strstr($this->position, 'getSearchData');*/
if (!$check_pos && !$check_pos_s && USER_POSITION != 'admin' )
$this->setSQL_WHERE("and (p.products_master_model='' or p.products_master_model IS NULL) ");
|
|
|||
|
das hier geht auch:
PHP-Code:
|
|
|||
|
Das letzte Beispiel funktioniert so leider nicht, da werden auch die Artikel nicht mehr gefunden, die nicht als Master eingetragen sind, die also die überhaupt keine Slave besitzen
Die Variante von FITforKID funktioniert gut. Geändert von spirello (23.06.2011 um 07:49 Uhr) |
![]() |
| Lesezeichen |
| Themen-Optionen | |
| Ansicht | |
|
|
Ähnliche Themen
|
||||
| Thema | Autor | Forum | Antworten | Letzter Beitrag |
| VEYTON SHOP Master/Slave nur Masteranzeigen | Reimot | Fragen zur Software | 10 | 25.05.2012 10:14 |
| Problem bei Master/Slave Dropdown-Auswahl | dremax | Fragen zur Software | 4 | 15.11.2010 19:59 |
| VEYTON SHOP bei Masterartikel "Preis ab" | objekt | Fragen zur Software | 15 | 03.06.2010 14:16 |
| Hosting bei domaingo und ein paar Fragen vor dem Kauf | items | Installation und Konfiguration | 0 | 01.06.2009 17:42 |