Loaded Commerce Community

Banner


Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours




Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Google product feed from version 6.3 and up but I don't ...
PostPosted: Fri Dec 16, 2011 6:18 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
Think that includes 6.5... But since google is looking for you to identify what category the item goes in by their taxonomy I would like to modify the google_pre.php file to something like this:


if($catParentID == '28')
{
$google_product_cat = "Sporting Goods > Indoor Games > Bowling > Bowling Balls";
}else{
$google_product_cat = "Sporting Goods > Indoor Games > Bowling";
}


While it seems simple I just can't see what I am doing. I thought $catParentID was populated by the google_pre.php file but now I don't know that answer. Hmmm....


Mike


Top
 Profile  
 
 Post subject: Re: Google product feed from version 6.3 and up but I don't ...
PostPosted: Mon Dec 19, 2011 11:25 pm 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
Any thoughts by anyone?

While I thought it would be easy it didn't work as I wrote it (and as I corrected it --- forgot the 2nd = the first time I wrote it quickly).

Mike


Top
 Profile  
 
 Post subject: Re: Google product feed from version 6.3 and up but I don't ...
PostPosted: Thu Mar 22, 2012 8:12 am 
Offline
CRE Legend

Joined: Sun Nov 09, 2003 1:00 am
Posts: 7301
Location: Baconton, GA USA
Mike,

Not sure what about this is not working for you. I will say that dealing with Google Taxonomy by hard coding assignments within the code doesn't seem to me to be an optimal approach.

I also think you may need to encapsulate the taxonomy string in quotation marks...

David

_________________
My CRE Loaded FAQ List
CRE Loaded Hosting


Top
 Profile  
 
 Post subject: Re: Google product feed from version 6.3 and up but I don't ...
PostPosted: Sat Mar 24, 2012 9:19 am 
Offline
CRE Talented

Joined: Thu Dec 25, 2008 5:09 pm
Posts: 489
Location: CO
Nope never got it to work... Still would like to have it work but I'm on to other life things... :)


Top
 Profile  
 
 Post subject: Re: Google product feed from version 6.3 and up but I don't ...
PostPosted: Sat Mar 24, 2012 6:31 pm 
Offline
CRE Legend
User avatar

Joined: Thu Jun 12, 2008 6:39 am
Posts: 2404
Location: New Zealand
Does an echo of $catParentID show anything when you run the script?

Simon

_________________
www.codemehappy.com
For Cre Loaded tips, how-to articles and more


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Board index » Web Design and Development » Development Discussions

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
It is currently Wed May 23, 2012 9:20 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group

Login

Forums Latest Activity

Top Listing

1. Cart2Cart - Shopping...
    Category: Shopping Cart Database Conversion Scripts
    
2. Points & Rewards PLUS!...
    Category: Add-Ons
    
3. Configuration Server...
    Category: Fixes
    
4. Credit Card with CCV
    Category: Payment Modules
    
5. CC7333_ATS
    Category: Templates
    
Show more...

© CRE Loaded is a product of Chain Reaction Ecommerce, Inc. Usage & Privacy Policy