Page 1 of 1

Google Feed: don't want any qty=0 items in feed, how to?

Posted: Mon Jun 20, 2011 11:49 am
by takayuki
Hi,

I want the google feed to ignore and items with zero quanity. How can I do this?

thanks,

takayuki

Re: Google Feed: don't want any qty=0 items in feed, how to?

Posted: Mon Jun 20, 2011 12:35 pm
by Qphoria
1. EDIT: catalog/controller/feed/google_base.php

2. FIND:

Code: Select all

if ($product['description']) {
3. REPLACE WITH:

Code: Select all

if ($product['description'] && $product['quantity']) {

Re: Google Feed: don't want any qty=0 items in feed, how to?

Posted: Mon Jun 20, 2011 1:07 pm
by takayuki
arigato!