Google shopping feed

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Does nopcommerce have a built in system or plugin to generate google shopping feed files?

If not, how do store owners generate the feed to google?
5 years ago
nopCommerce team has released plugin for google feed. That is good point for start modification if require.

Also at the marketplace there are some plugins supporting feeds.

Regards,
Tom
5 years ago
nop4you wrote:
nopCommerce team has released plugin for google feed. That is good point for start modification if require.

Also at the marketplace there are some plugins supporting feeds.

Regards,
Tom


Low score. Does it work?
5 years ago
hkreklame wrote:
Does it work?

Not able to tell, as we have had some customization requirement for our customer, so we have modify it before first usage.
What I had in mind, even if it has any errors, you may fix it as has access to sources of plugin. Also other vendors share plugins for feeds.

Tom
5 years ago
nop4you wrote:
Does it work?
Not able to tell, as we have had some customization requirement for our customer, so we have modify it before first usage.
What I had in mind, even if it has any errors, you may fix it as has access to sources of plugin. Also other vendors share plugins for feeds.

Tom


It times out after some minutes.

500 - The request timed out.
The web server failed to respond within the specified time.
5 years ago
We have multiple stores, and it seems the url of the store is not correct.

4 years ago
This is still an issue for me. The plugin times out when the store has 1000+ products.

Any other google shopping feed plugins out there that works? Ive tested both foxnet, SEURATA, and they both time out , and even crashes the app.
4 years ago
hkreklame wrote:
This is still an issue for me. The plugin times out when the store has 1000+ products.

Any other google shopping feed plugins out there that works? Ive tested both foxnet, SEURATA, and they both time out , and even crashes the app.


Hello,

I had the same issue with the plugin in one of our projects. It is caused by the fact that the creation of the XML file for the feed is done through a request from the client-side to the server. That request has a timeout of 7 minutes (if I remember correctly) in 4.0 and 4.1 and is set to 23 hours in 4.2 by default in the web.config.
If you are using the 4.1 or 4.0 versions of nopCommerce you could edit your web.config file and change the requestTimeout attribute of the aspNetCore tag to a suitable duration for which your request might not timeout. If you are not sure what to set it you could go with 23 hours as in 4.2.
Please note that that will increase the request timeout for all of your requests for that application. Also, note that won't make the generation of the feed go any faster but would only make it so the request won't timeout.

Hope that helps!

Regards,
Anton
4 years ago
Nop-Templates.com wrote:
This is still an issue for me. The plugin times out when the store has 1000+ products.

Any other google shopping feed plugins out there that works? Ive tested both foxnet, SEURATA, and they both time out , and even crashes the app.

Hello,

I had the same issue with the plugin in one of our projects. It is caused by the fact that the creation of the XML file for the feed is done through a request from the client-side to the server. That request has a timeout of 7 minutes (if I remember correctly) in 4.0 and 4.1 and is set to 23 hours in 4.2 by default in the web.config.
If you are using the 4.1 or 4.0 versions of nopCommerce you could edit your web.config file and change the requestTimeout attribute of the aspNetCore tag to a suitable duration for which your request might not timeout. If you are not sure what to set it you could go with 23 hours as in 4.2.
Please note that that will increase the request timeout for all of your requests for that application. Also, note that won't make the generation of the feed go any faster but would only make it so the request won't timeout.

Hope that helps!

Regards,
Anton


Yeah, i noticed the same. Im considering to create the feed myself. The method fetching the products seems fast enough, but the xml generation takes too long?

I might include dapper, fetch all the data, and just create a txt file as the format instead. That should be much much faster, right?
4 years ago
Hello,

Well, I found out that the slowest operations in generating the feed is getting the localized values for the Name and  Description of the products (as those are really slow operations) and generating the XML. If you could eliminate those operations, for instance, if you have only 1 language in your store you won't need to get the localized value for the Name and Description but rather get the name from the Product object you've gotten from the database you would greatly decrease your generation time.
I am not sure about the text file as I've not tested that myself.

Regards,
Anton
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.