Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Added docs

Krzysztof Wolski5dae79d8b880
diff --git a/docs/integrations.rst b/docs/integrations.rst
index 286c47c963..fcc9d21114 100644
--- a/docs/integrations.rst
+++ b/docs/integrations.rst
@@ -106,6 +106,22 @@ To get it working you need to export the following environment variable:
Your page's Google “Tracking ID.“
+Send product data to Google Merchant Center
+-------------------------------------------
+
+Saleor has tools for generating product feed which can be used with Google Merchant Center. Final file is compressed CSV and saved in location specified by ``saleor.data_feeds.google_merchant.FILE_PATH`` variable.
+
+To generate feed use command:
+
+.. code-block:: bash
+
+ $ python manage.py update_feeds
+
+Merchant Center has few country dependent settings, so please validate your feed at Google dashboard. You can also specify there your shipping cost, which is required feed parameter in many countries. More info be found at `Google Support pages <https://support.google.com/merchants>`_.
+
+Feed can be downloaded from url: ``http://<yourserver>/feeds/google/``
+
+
Full text search with Elasticsearch
-----------------------------------
diff --git a/saleor/data_feeds/urls.py b/saleor/data_feeds/urls.py
index 4dd78a0749..b789eae4f2 100644
--- a/saleor/data_feeds/urls.py
+++ b/saleor/data_feeds/urls.py
@@ -4,5 +4,5 @@ from django.views.generic.base import RedirectView
from .google_merchant import FILE_URL
urlpatterns = [
- url(r'saleor-feed/$',
- RedirectView.as_view(url=FILE_URL), name='saleor-feed')]
+ url(r'google/$',
+ RedirectView.as_view(url=FILE_URL), name='google-feed')]
diff --git a/saleor/urls.py b/saleor/urls.py
index 24b864d601..f4b8dac96c 100644
--- a/saleor/urls.py
+++ b/saleor/urls.py
@@ -13,7 +13,7 @@ from .order.urls import urlpatterns as order_urls
from .product.urls import urlpatterns as product_urls
from .search.urls import urlpatterns as search_urls
from .userprofile.urls import urlpatterns as userprofile_urls
-from .data_feeds.urls import urlpatterns as integrations_urls
+from .data_feeds.urls import urlpatterns as feed_urls
from .dashboard.urls import urlpatterns as dashboard_urls
@@ -31,7 +31,7 @@ urlpatterns = [
url(r'^profile/', include(userprofile_urls, namespace='profile')),
url(r'^search/', include(search_urls, namespace='search')),
url(r'^selectable/', include('selectable.urls')),
- url(r'^data_feeds/', include(integrations_urls, namespace='data_feeds')),
+ url(r'^feeds/', include(feed_urls, namespace='data_feeds')),
url(r'^sitemap\.xml$', sitemap, {'sitemaps': sitemaps},
name='django.contrib.sitemaps.views.sitemap'),
url(r'', include('payments.urls'))