Zen Cart Logo
Forums / All Other Contributions/Addons / [OLD] Google Merchant module Version 1.12.0 by Numinix

[OLD] Google Merchant module Version 1.12.0 by Numinix

Locked

Views: 113,308

Results 141 to 160 of 567
This thread is locked. New replies are disabled.
30 Oct 2011, 16:10
#141
spawnie69 avatar

spawnie69

Totally Zenned

Join Date:
Sep 2005
Location:
Ocala, FL
Posts:
527
Plugin Contributions:
0

[OLD] Google Merchant module Version 1.12.0 by Numinix

I installed the latest version and created 10 items for testing and when i click on the created xml file Internet Explorer gave me the following feed code error: "Internet Explorer cannot display this feed
This feed contains code errors.
Go back to the previous page."

Can someone give me a clue why? I use to be able to see the products. Please help, someone. Thank you,

30 Oct 2011, 17:04
#142
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

Thank you, PinkLeopard for your response on my Attribute name question!
I just renamed them all to Size and will have to deal with the :censored: mess in the backend when listing new items.

Now I've run into another problem.

Cart is 1.3.9h (if it makes a difference)
GM version 1.12.2

The Google taxonomy for our product line is NOT buyer intuitive whatsoever, so I refuse to change my category names.

Instead I created a top category named Google Feed Products and turned it off so it wouldn't show cartside. Then I put the Google taxonomy categories as subcategories and 'linked' my products to those cats.

In the feed configuration, I put these cat numbers in the 'Included Categories'. So feed only pulls products from those categories. So far so good. Google took the feed and products are inserted. :smile:

BUT I still get a 'warning' on the feed for ALL of the products: Missing recommended attribute: google product category

I had left the Google Product Category Default setting in the configuration blank because our stuff would fall under 5 different categories:

(1) Apparel & Accessories > Clothing > Activewear > Motorcycle Protective Clothing > Motorcycle Suits
(2) Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories > Motorcycle Bags & Panniers
(3) Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories > Motorcycle Protective Gear > Motorcycle Goggles
(4) Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories > Motorcycle Protective Gear > Motorcycle Helmets

(5) Motorcycle Parts which there is no category it fits under so I've just left these out of the feed for the time being.

If I fill in the Google Product Category Default with one of the above categories, it assigns that to ALL of the products.

I know I can add another read only attribute to each product for the product category, but unless I can find a way to hide these read only attributes cartside, I absolutely refuse to do so. My product info page looks stupid enough as it is with Age Group, Gender and Color specified (especially on helmets & saddlebags).

Is there something I'm not doing right causing it to not pick up the categories I created specifically for these products or is there any other alternative to the Default setting?

Have I mentioned how much I HATE Google right now? Grrrrrrrrrrrrr :censored:

30 Oct 2011, 21:11
#143
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

If I fill in the Google Product Category Default with one of the above categories, it assigns that to ALL of the products.

Which works fine, and will make missing the attribute error go away. No reason not to do that.

31 Oct 2011, 00:43
#144
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

RescoCCC:

Which works fine, and will make missing the attribute error go away. No reason not to do that.

Hi Resco and thank you for your help!

That would probably work if the very top category was the same on all the products, but from what I'm seeing on our stuff it doesn't work.

It does take them and it does get rid of the warning, but they are not placed in the correct categories to optimize them in the Product search, which kind of defeats the purpose.

I entered the "Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories > Motorcycle Protective Gear > Motorcycle Helmets" as the Default category.

The reason I selected this one was because if I used Apparel & Accessories, it kicked out my helmets and saddlebags since I don't have the Gender or Color attribute on those.

When I go to Google Shopping and use the search term "motorcycle jacket" (of which we have at least 200+ items) our jackets are nowhere to be found and our store is not listed in the sidebox.

In theory, they should show up in the category: "Motorcycle Protective Clothing" but they don't.

Now if I do a search for something more specific such as "mens vented textile motorcycle jacket" (almost verbatim for one of our titles) I can find some of our jackets and we are listed in the sidebox, BUT the only category listed is "Casual Jackets" which no biker would look in for a motorcycle jacket.

The only products displaying like they should and are truly searchable from the basic keywords are our helmets.

From looking at the results, I suspect my only solution at this point may be to create four separate feeds by changing the configuration settings to match each different category.

31 Oct 2011, 12:24
#145
cuysan avatar

cuysan

New Zenner

Join Date:
Feb 2009
Posts:
40
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

I had left the Google Product Category Default setting in the configuration blank because our stuff would fall under 5 different categories:

RescoCCC is correct. If the configuration is blank here, then no Google Product Category will show on the feed.

Why not enter the category as:

Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories>Motorcycle Protective Gear >

or

Apparel & Accessories > Clothing > Activewear > Motorcycle Protective Clothing >

Then add the required Google attributes. If the attributes don't apply, put in something like "mixed" or "All". You can then hide all the attributes with the below steps. Won't show in cart, but will be added to the feed. Also permitted to use just:

Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories>

Don't have to take the category all the way to the end (ie. Motorcycle Helmets, etc.)

if that is the case, it may be easier to add this:

http://www.zen-cart.com/forum/showthread.php?t=83814

It's only one file. On that one file, you can remove the below code and the attributes will not display on the products page. We've tested it out and the attributes do get included on the feed. Just don't show on the page.

<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr valign="top"> <td width="50%"><?php echo $left_col; ?></td> <td width="50%"><?php echo $right_col; ?></td> </tr> </table>

Our first goal was to get the attributes listed in columns. But since we didn't have "variations", we didn't need the attributes to show on the page. So I removed the tables and it works fine.

31 Oct 2011, 13:27
#146
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

cuysan:

RescoCCC is correct. If the configuration is blank here, then no Google Product Category will show on the feed.

Why not enter the category as:

Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories>Motorcycle Protective Gear >

or

Apparel & Accessories > Clothing > Activewear > Motorcycle Protective Clothing >

Then add the required Google attributes. If the attributes don't apply, put in something like "mixed" or "All". You can then hide all the attributes with the below steps. Won't show in cart, but will be added to the feed. Also permitted to use just:

Vehicles & Parts > Land Vehicle Accessories > Motorcycle Accessories>

Don't have to take the category all the way to the end (ie. Motorcycle Helmets, etc.)

I'll try that and see if they end up in the right categories.

I had seen the post about removing the table, but we have variations on almost all of our products (Size), so I can't remove them all.

I've been looking for a way to hide just the read only attributes since we don't use those for anything else, but so far no luck.

31 Oct 2011, 14:00
#147
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

Boggled:

I'll try that and see if they end up in the right categories.

I had seen the post about removing the table, but we have variations on almost all of our products (Size), so I can't remove them all.

I've been looking for a way to hide just the read only attributes since we don't use those for anything else, but so far no luck.

Havent tested this but this should work:

line 181 remove this ```
or $products_options->RecordCount() == 1 or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_READONLY


so that RADIO is the last work inside the parentheses 

like this:

if ($products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_FILE or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_TEXT or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_CHECKBOX or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_RADIO) {


line 486 - 492  may not need removing but to be sure remove or comment those lines out.

They are: 

// Read Only - just for display purposes
if ($products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_READONLY) {
// $tmp_html .= '<input type="hidden" name ="id[' . $products_options_names->fields['products_options_id'] . ']"' . '" value="' . stripslashes($products_options->fields['products_options_values_name']) . ' SELECTED' . '" /> ' . $products_options->fields['products_options_values_name'];
$tmp_html .= $products_options_details . '<br />';
} else {
$zv_display_select_option ++;
}


line 552-558 is the other mention of readonly - this may need removing as well but it also may upset the entire apple cart if you do.  

I'm hoping that the first change will simply take the read only out of the equation completely.

Let me know the results - error code etc if you run into problems. I don't have a site to test it with right now.
31 Oct 2011, 14:39
#148
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

delia:

Havent tested this but this should work:

line 181 remove this ```
or $products_options->RecordCount() == 1 or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_READONLY

> 
> so that RADIO is the last work inside the parentheses 
> 
> like this:
> ```
 if ($products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_FILE or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_TEXT or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_CHECKBOX or $products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_RADIO) {

line 486 - 492 may not need removing but to be sure remove or comment those lines out.

They are:

// Read Only - just for display purposes
if ($products_options_names->fields['products_options_type'] == PRODUCTS_OPTIONS_TYPE_READONLY) {
// $tmp_html .= '<input type="hidden" name ="id[' . $products_options_names->fields['products_options_id'] . ']"' . '" value="' . stripslashes($products_options->fields['products_options_values_name']) . ' SELECTED' . '" /> ' . $products_options->fields['products_options_values_name'];
$tmp_html .= $products_options_details . '<br />';
} else {
$zv_display_select_option ++;
}

> 
> line 552-558 is the other mention of readonly - this may need removing as well but it also may upset the entire apple cart if you do.  
> 
> I'm hoping that the first change will simply take the read only out of the equation completely.
> 
> Let me know the results - error code etc if you run into problems. I don't have a site to test it with right now.

Thanks for your help!

It didn't work.  I tried taking them out one by one, and then all of them.  No change whatsoever.  

I've tried doing it via css with #attribsOptionsReadonly {display:none;}  Nada.

I did successfully remove them using the [Flexible Attributes mod](http://www.zen-cart.com/forum/showthread.php?t=144759&highlight=hide+display+attributes), but then they weren't included in the feed.  

The closest I've come with my experimenting is I got it to remove the option names, but the values were still visible and now I can't remember what I changed to get it to do that.
31 Oct 2011, 14:43
#149
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

Boggled:

Thanks for your help!

It didn't work. I tried taking them out one by one, and then all of them. No change whatsoever.

I've tried doing it via css with #attribsOptionsReadonly {display:none;} Nada.

I did successfully remove them using the Flexible Attributes mod, but then they weren't included in the feed.

The closest I've come with my experimenting is I got it to remove the option names, but the values were still visible and now I can't remember what I changed to get it to do that.

Don't see how that would lead to no change. If you remove the function from the file, it should certainly show up somehow.

31 Oct 2011, 15:20
#150
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

delia:

Don't see how that would lead to no change. If you remove the function from the file, it should certainly show up somehow.

I would have thought so too. I just made all three edits again (removed the one and commented out the last two) and here is a link to a product:

http://www.nybikergear.com/motorcycle-apparel/mens-leather-jackets/black-skeleton-design-leather-racer-mens-motorcycle-jacket?cPath=10

31 Oct 2011, 15:30
#151
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

Boggled:

I would have thought so too. I just made all three edits again (removed the one and commented out the last two) and here is a link to a product:

http://www.nybikergear.com/motorcycle-apparel/mens-leather-jackets/black-skeleton-design-leather-racer-mens-motorcycle-jacket?cPath=10

quickie fix:

each attribute has its own id in the source code

<div class="wrapperAttribsOptions" id="wAttrib-16">

css to not display.

#wAttrib-16 { display: none; }

That won't get rid of the <br class="clearBoth" /> added in between the attributes but should make each attribute disappear. Also you may find you may have to put in a lot of attribute ids.........

31 Oct 2011, 15:33
#152
countrycharm avatar

countrycharm

Totally Zenned

Join Date:
Jul 2007
Posts:
2,179
Plugin Contributions:
2

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

PinkLeopard:

did you ever get this resolved?

i finally did but only after adding all the required attributes.

let me know and i will try my best to help you out.

To be honest with you I'm not using this module yet. I was before all the changes to Google. I'm using one I purchase which is working very well. I had to add all the required attributes to jewelry like this module but since I don't need any of them to show I hid them on the info product page. They still are being included in the Google feed. My feed is error free except for the books I sell. they don't use the 12 numeric digits upc number so I guess I will have to deal with 8 errors on them. Thank You for the offer to help though. I'm here to do them same if I can.

31 Oct 2011, 19:43
#153
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

countrycharm:

To be honest with you I'm not using this module yet. I was before all the changes to Google. I'm using one I purchase which is working very well. I had to add all the required attributes to jewelry like this module but since I don't need any of them to show I hid them on the info product page. They still are being included in the Google feed. My feed is error free except for the books I sell. they don't use the 12 numeric digits upc number so I guess I will have to deal with 8 errors on them. Thank You for the offer to help though. I'm here to do them same if I can.

I think I saw it mentioned in a previous thread...it's about $29?

Glad it worked for you....

I may look into that.

31 Oct 2011, 19:44
#154
cuysan avatar

cuysan

New Zenner

Join Date:
Feb 2009
Posts:
40
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

For hiding specific attributes, would this work? I'm not familiar with the contribution. But appears that it could make working with the attributes easier? If you're commenting something out and it has no effect, then it's probably on another css page? This contribution may at least put all your attribute controls in one place.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1494

Thread:

http://www.zen-cart.com/forum/showthread.php?t=144759

31 Oct 2011, 19:46
#155
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

cuysan:

For hiding specific attributes, would this work? I'm not familiar with the contribution. But appears that it could make working with the attributes easier? If you're commenting something out and it has no effect, then it's probably on another css page? This contribution may at least put all your attribute controls in one place.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1494

Thread:

http://www.zen-cart.com/forum/showthread.php?t=144759

Yes! That is what I use and it works like a charm. Thank you Glen!

31 Oct 2011, 19:49
#156
pinkleopard avatar

pinkleopard

Zen Follower

Join Date:
Jun 2009
Posts:
383
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

See this post for YOURKEYHERE

implemented this cron

cllick here

31 Oct 2011, 20:10
#157
boggled avatar

boggled

Zen Follower

Join Date:
Mar 2006
Location:
Tennessee
Posts:
286
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

delia:

quickie fix:

each attribute has its own id in the source code

<div class="wrapperAttribsOptions" id="wAttrib-16">

css to not display.

#wAttrib-16 { display: none; }

That won't get rid of the <br class="clearBoth" /> added in between the attributes but should make each attribute disappear. Also you may find you may have to put in a lot of attribute ids.........

I'll try this. I think that's basically how the Flexible Attributes mod works, but I'm willing to try anything. :)

PinkLeopard:

Yes! That is what I use and it works like a charm. Thank you Glen!

cuysan:

For hiding specific attributes, would this work? I'm not familiar with the contribution. But appears that it could make working with the attributes easier? If you're commenting something out and it has no effect, then it's probably on another css page? This contribution may at least put all your attribute controls in one place.

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=1494

Thread:

http://www.zen-cart.com/forum/showthread.php?t=144759

I installed this one and it did work like a charm for hiding the read only attributes, but when I created my feed they weren't included. Maybe I need to try it again. :)

31 Oct 2011, 20:16
#158
sash avatar

sash

New Zenner

Join Date:
Jul 2010
Posts:
99
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

Could anyone tell me how to get the (Price) attribute for shipping to show up in the feed?
as it is google shopping is showing (free shipping) but the products are not ,,they should have a shipping price,

But not sure how its done..

thanks

31 Oct 2011, 21:47
#159
rescoccc avatar

rescoccc

Totally Zenned

Join Date:
May 2010
Location:
WA State
Posts:
1,700
Plugin Contributions:
2

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

sash:

Could anyone tell me how to get the (Price) attribute for shipping to show up in the feed?
as it is google shopping is showing (free shipping) but the products are not ,,they should have a shipping price,

But not sure how its done..

thanks

This is a question I asked multiple times in the old thread over the last couple years, and never got an answer. I use calculated shipping through USPS and UPS and no setting, (I've tried them all), works to generate the shipping cost.

31 Oct 2011, 22:19
#160
sash avatar

sash

New Zenner

Join Date:
Jul 2010
Posts:
99
Plugin Contributions:
0

Re: [OLD] Google Merchant module Version 1.12.0 by Numinix

RescoCCC:

This is a question I asked multiple times in the old thread over the last couple years, and never got an answer. I use calculated shipping through USPS and UPS and no setting, (I've tried them all), works to generate the shipping cost.

Hope someone knows how/ as i said earlier , i have a custom table based on weight, e.g a number = shipping cost.i.e (2) is £3.99 just cant see in the configuration this is inputted???
Dont want the products showing (free shipping) when they are not..
only leads to grumpy potential customers emailing about free shipping....