google base nur mit Artikel >0
Verfasst: Di 3. Aug 2010, 17:20
hat man Artikel im Shop mit Menge =0, dann werden diese auch beim erstellen der googlebase.txt mit aufgeführt.
Lösung:
einfach die Abfrage ändern in der googlebase.php:
dieses hinzufügen
and products_quantity NOT LIKE '0'
kann man auch mit dem Preis machen:
and products_price NOT LIKE '0'
gleiches gilt für jede automatisch erstellte CSV.
Lösung:
einfach die Abfrage ändern in der googlebase.php:
Code: Alles auswählen
ON p.products_id = s.products_id
WHERE
p.products_status = 1 and products_quantity NOT LIKE '0'
ORDER BY
p.products_date_added DESC,
pd.products_name");
and products_quantity NOT LIKE '0'
kann man auch mit dem Preis machen:
and products_price NOT LIKE '0'
gleiches gilt für jede automatisch erstellte CSV.