Search 1.9 billion lines of Odoo code on GitHub

website_sale_google_shopping

Author: Trey (www.trey.es)
License: AGPL-3
Branch: 12.0
Repository: treytux/trey-addons
Dependencies: base, product, product_brand, stock, website, and website_sale
Languages: HTML (210, 11.5%), PO File (165, 9.0%), Python (315, 17.2%), SVG (740, 40.3%), XML (214, 11.7%), and reStructuredText (190, 10.4%)
Other branches: dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/ajv-6.12.6, dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/grunt-1.5.3, dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/hosted-git-info-2.8.9, dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/lodash-4.17.21, dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/minimatch-3.0.8, dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/minimist-and-mkdirp-and-extract-zip-1.2.8, dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/path-parse-1.0.7, dependabot/npm_and_yarn/website_snippet_instagram_feed/static/src/js/lib/jquery.instagramFeed/qs-6.5.3, and update_2112
Other repositories: eLBati/e-commerce, and jctrey/e-commerce

<p>[![License: AGPL-3](<a class="reference external" href="https://img.shields.io/badge/licence-AGPL--3-blue.svg)](http://www.gnu.org/licenses/agpl-3.0-standalone.html">https://img.shields.io/badge/licence-AGPL--3-blue.svg)](http://www.gnu.org/licenses/agpl-3.0-standalone.html</a>)</p> <a name="website-sale-google-shopping"></a> <h2>Website Sale Google Shopping</h2> <a name="description"></a> <h3>Description</h3> <p>This module provides a feed of products from your e-commerce to allow Google Shopping index them and show as search results.</p> <a name="installation"></a> <h3>Installation</h3> <p>To install this module, you need to:</p> <blockquote> <ul class="simple"> <li>git clone <a class="reference external" href="https://github.com/OCA/e-commerce.git">https://github.com/OCA/e-commerce.git</a> --branch 8.0</li> <li>git clone <a class="reference external" href="https://github.com/OCA/product-attribute.git">https://github.com/OCA/product-attribute.git</a> --branch 8.0</li> <li>make them available to odoo by adding their locations to the addons_path in /etc/odoo-server.conf</li> </ul> </blockquote> <a name="configuration"></a> <h3>Configuration</h3> <p>To configure this module, you need to:</p> <blockquote> <ul class="simple"> <li>no configuration required</li> </ul> </blockquote> <a name="usage"></a> <h3>Usage</h3> <p>Visit the feed page at <a class="reference external" href="http://yourdomain/google-shopping.xml">http://yourdomain/google-shopping.xml</a></p> <p>To use this module succefully, you need to known some aspects:</p> <ul class="simple"> <li>Each kind of product has different requirements attributes. The requirements depend of specific google category and your target country.</li> <li>Usual product with detailed product attributes are: clothes (color, material, and size), furniture(material, pattern, and color), electronic devices (color) and toy (group of ages).</li> </ul> <p>How to complete product attributes?</p> <ul class="simple"> <li>Sales, product sheet, sales tab, website field: here, you will find all field related to google shopping feed.</li> </ul> <p>A very common mistake is not immediately view the content introduced into the feed xml resultant. Please , check in Settings / web paragraph settings / feed expiry time. Change the value of Feed expiry time to 0 to see the changes.</p> <a name="products-feed-attributes-and-your-localization"></a> <h4>Products feed attributes and your localization</h4> <p>Each table header shows where are the attributes to fill them and which attributes are required.</p> <dl class="docutils"> <dt>&lt;table&gt;</dt> <dd><dl class="first docutils"> <dt>&lt;thead&gt;</dt> <dd><dl class="first docutils"> <dt>&lt;tr&gt;</dt> <dd>&lt;th&gt;Attribute&lt;/th&gt; &lt;th&gt;Field/description&lt;/th&gt; &lt;th&gt;Required&lt;/th&gt;</dd> </dl> <p class="last">&lt;/tr&gt;</p> </dd> </dl> <p>&lt;/thead&gt; &lt;tbody&gt;</p> <blockquote> <dl class="docutils"> <dt>&lt;tr&gt;</dt> <dd>&lt;td colspan=&quot;3&quot;&gt;&lt;em&gt;Sales &gt; Products &gt; Products &gt; Product Template&lt;/em&gt;&lt;/td&gt;</dd> </dl> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;title&lt;/td&gt; &lt;td&gt;Product template name with variant attribute names and values if exists&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;brand&lt;/td&gt; &lt;td&gt;Product brand&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;price&lt;/td&gt; &lt;td&gt;Sale price&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;gtin&lt;/td&gt; &lt;td&gt;EAN13 Barcode&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;link&lt;/td&gt; &lt;td&gt;Default URL directly linking to your item's page on your website&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;image_link&lt;/td&gt; &lt;td&gt;Default image link to template image (size can be changed in Settings &gt; configuration &gt; website settings)&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td colspan=&quot;3&quot;&gt;&lt;em&gt;Sales &gt; Products &gt; Products &gt; Product Template &gt; Inventory tab&lt;/em&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;availability&lt;/td&gt; &lt;td&gt;Takes a value from virtual stock and automaticly shows: preorder, in stock, out of stock&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;shipping_weight&lt;/td&gt; &lt;td&gt;Gross weight&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td colspan=&quot;3&quot;&gt;&lt;em&gt;Sales &gt; Pricelists &gt; Pricelist Versions&lt;/em&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;sale_price_effective_date&lt;/td&gt; &lt;td&gt;Google Shopping date start and Google Shopping date end. Set the date to display the price of products&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td colspan=&quot;3&quot;&gt;&lt;em&gt;Sales &gt; Products &gt; Products &gt; Product Template &gt; Sales tab&lt;/em&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;product_type&lt;/td&gt; &lt;td&gt;Public Category: Own category&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;color&lt;/td&gt; &lt;td&gt;Assign an attribute to color attribute that exists in product variants&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;size&lt;/td&gt; &lt;td&gt;Assign an attribute to size attribute that exists in product variants&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;google_product_category&lt;/td&gt; &lt;td&gt;Google's category of the item&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;condition&lt;/td&gt; &lt;td&gt;Condition or state of the item: new, refurbished, used&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;gender&lt;/td&gt; &lt;td&gt;Male, Female, Unisex&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;Age group&lt;/td&gt; &lt;td&gt;Newborn, infant, toddler, kids, adult&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;description&lt;/td&gt; &lt;td&gt;Description for quotations&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td colspan=&quot;3&quot;&gt;&lt;em&gt;Settings &gt; Configuration &gt; Website Settings&lt;/em&gt;&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;Feed expiry time&lt;/td&gt; &lt;td&gt;Time to keep caching the feed&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;image size&lt;/td&gt; &lt;td&gt;Different sizes&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;Use shipping&lt;/td&gt; &lt;td&gt;Specifying default shipping values in your Google Merchant Center account settings, or by providing this attribute&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;Shipping country&lt;/td&gt; &lt;td&gt;Shipping country&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;Shipping service&lt;/td&gt; &lt;td&gt;Shipping service&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt; &lt;tr&gt;</p> <blockquote> &lt;td&gt;Shipping price&lt;/td&gt; &lt;td&gt;Shipping price&lt;/td&gt; &lt;td class=&quot;text-center&quot;&gt;x&lt;/td&gt;</blockquote> <p>&lt;/tr&gt;</p> </blockquote> <p class="last">&lt;/tbody&gt;</p> </dd> </dl> <p>&lt;/table&gt;</p> <p>All info--&gt;:<a class="reference external" href="https://support.google.com/merchants/answer/1344057">https://support.google.com/merchants/answer/1344057</a></p> <p><strong>Pay Attention</strong></p> <p>&gt; <strong>All product without the attributes required by Google Merchant will not be able to be indexed in google shopping.</strong></p> <a name="known-issues-roadmap"></a> <h3>Known issues / Roadmap</h3> <ul class="simple"> <li>Add 'google_mpn' field to Product Template and Product Variant views</li> <li>Allow to set additional images from product gallery for 'additional_image_link' tag</li> <li>Include specific product atributtes in erp and xml(patterns)</li> <li>Unit pricing (unit pricing measure, unit pricing base measure)</li> <li>Energetic calification labels (only UE and Switzerland)</li> </ul> <a name="google-merchant-center-help"></a> <h3>Google Merchant Center Help:</h3> <p><strong>Products Feed Specification</strong></p> <p><a class="reference external" href="https://support.google.com/merchants/answer/188494">https://support.google.com/merchants/answer/188494</a></p> <p><strong>Troubleshooting:</strong></p> <p><a class="reference external" href="https://support.google.com/merchants/answer/160161">https://support.google.com/merchants/answer/160161</a></p> <p><strong>Categorize your products:</strong></p> <p><a class="reference external" href="https://support.google.com/merchants/answer/1705911">https://support.google.com/merchants/answer/1705911</a></p>