busi6292 wrote:Anyhow, I wonder if you can help with the following? Perhaps you can add this to your next revision. I'm quite confident that the more optional fields that are added, the better your rank within Google Shopping.
We had a developer add the following to the admin/includes/classes/class.froggle.php file:
Find:
Code: Select all
private $brandExceptShow = array();
Code: Select all
private $accepted_payment_types;
private $location;
private $pickup;
Find:
Code: Select all
$this->defaultCondition = 'new';
//$this->defaultCondition = 'used';
Code: Select all
$this->accepted_payment_types = array('Visa','Mastercard','Check','Discover','Wire Transfer','Cash');
$this->location = 'Our address, United Kingdom';
$this->pickup = 'true';
Find:
Code: Select all
$this_product['data'] = $entry;
Code: Select all
foreach($this->accepted_payment_types as $pt_key=>$pt_value){
$entry[]= "<g:payment_accepted><![CDATA[".$pt_value."]]></g:payment_accepted>";
}
array_merge($entry, array(
'g:location' => $this->location,
'g:pickup' => $this->pickup)
);
See the above...Would you be able to tell me/us where we can add the above to your class.froogle.php file please?

It's untested, but I believe that would work, or at least give your developer a clue as to how to impliment it.
At present, no... Interspires SEO code rewriting is frankly, cr*p and causes problems with Google when it tries to spider/check the links. The fudge in the current code is the only way to stop it failing at present.Few other issues we have. GBP is our main currency, so the UK file exports fine but with the US and Australia feed the URL becomes:
http://www.domain.co.uk/[b]products.php ... rrencyId=4
Is it possible for it to become the following like the original ISC one:
http://www.domain.co.uk/product-url-her ... rrencyId=3
It's already in there...Finally, can we add the MPN (manufacture's part number) into the file too? Code we have is:
Code: Select all
if($row['prodcode']) { $entry['g:mpn'] = isc_html_escape($row['prodcode']); }
The code will look for a custom field called "mpn" (lowercase) and use that if it exists
If it doesn't exist it then checks for a ProdCode (SKU) value and uses that IF ShowProductSKU is enabled in the ISC > Admin > Display configuration.
If you want to override the latter to show the ProdCode irrespective of the Admin setting then you currently need to edit this line as follows:
Find:
Code: Select all
elseif($row['prodcode'] && $GLOBALS['ISC_CFG']['ShowProductSKU']) {
Code: Select all
//elseif($row['prodcode'] && $GLOBALS['ISC_CFG']['ShowProductSKU']) {
elseif($row['prodcode']) {
This is already in the current development code and is waiting for the tax information to be included before it goes for a release.You might already have some of these features on the agenda for the next several months but these I'm sure would help us and others, though I'm sure would be time consuming:
- Shipping cost added (as weights are exported, perhaps you could integrate your Royal Mail module into the feed too?)
This will depend entirely on how feasible it will be to redirect to a specific variation combination using a URL.- Variations added (as Google now seem to support them)
As it's going to be a requirement I'll be looking at how to achieve this one... No idea on ETA though.- Google product category added and a way in admin to apply Google's taxonomy to each of our products
Will look at these.- Additional images added to feed, if applicable
- 'online_only;' attribute added
Hope that helps with your various queries... Let me know how the code gets on above though.