Prestashop Module for Google Merchant center. Generates a XML feed, so that you can use Google Merchant Center to advertise for your products.
This feed is also accepted by:
Follow these steps to get up and running with your product feeds fast.
- 1.6.0.6
- 1.6.1.17
- 1.7.2.4
- 1.7.x
- 8.x
- 9.0.1
- 9.1.5 ✨ (New!)
# Download archive file
# On back office > Modules > Add new Module > Upload archiveOr via command line:
cd modules/
git clone https://github.com/dim00z/gshoppingflux.gitDepending on your store and what you want to send to google, you would need to change some of the configuration of the module.
- ✅ Full Google Shopping Feed XML generation
- ✅ Local Inventory Feed support
- ✅ Product Reviews Feed support
- ✅ Multi-shop support
- ✅ Multi-language & multi-currency support
- ✅ Automatic CRON generation
- ✅ Product attributes/combinations export
- ✅ Customizable category mapping
- ✅ Shipping cost calculation
- ✅ PrestaShop 9 compatible
- New feature : Option to capitalize each word of the title and short title (Thank you @eballetbaz)
- New feature : Option to append Brand to the title (Thank you @eballetbaz)
- Fix XML feed no longer generated at the shop root when "Generate the files to the root of the site" is enabled, a regression from 1.8.0 (Thank you @eballetbaz)
- Fix XML feed written under
src/Traits/export/instead of the module'sexport/directory when "Generate the files to the root of the site" is disabled, a regression from 1.8.0 - Fix additional images from other shops wrongly included in multi-shop feeds (Thank you @eballetbaz)
- Fix
<g:shipping_width>reporting product depth instead of width - Fix title/short_title/description truncation producing an empty value when no word boundary was found near the length limit
- Escape
]]>in CDATA sections (title, description, category, attributes) and in product review fields, preventing malformed or injected XML in the feed - Fix a PHP warning and incorrect shipping price when no carrier matches a product's size or weight
- Fix the
GS_SHIPPING_PRICE_FIXEDsetting being left behind after a full uninstall - Fix language/currency selection not following the shop being exported on multi-shop CRON runs
- Fix category name and breadcrumb missing for global (all-shops) category mappings
- Fix 404 error when editing a category or the language/currency list on PrestaShop 9 (Thank you @oxess)
- Fix color/material/pattern/size, excluded shipping countries/carriers, and currency selects resetting on save due to broken
safeImplode()calls (Thank you @rodriciru) - Add a
<g:short_title>element to the feed (max 65 characters) - Increase
<g:title>max length to 150 characters (was 70) - Restructure the module into a PSR-4
src/layout with Composer autoloading and one trait per functional area, following PrestaShop 9 conventions - Add a PHPUnit unit test suite (
gshoppingflux/tests/) - Whitelist admin form values (condition, availability, gender, shipping mode, etc.) against their known option lists instead of storing raw input
- Remove duplicated code across the feed generation and admin form code paths
- Fix price precision falling back to 0 on PS9 (causes 0 EUR rounding) (Thank you @icemansparks)
- Add comments everywhere
- Reorganize code files
- Small improvements
- Safe implode to fix implode errors on non array value got from Tools
- ✨ PrestaShop 9.0.1 compatibility
- 🔧 Fixed
_PS_PRICE_DISPLAY_PRECISION_undefined constant issue - 🔧 Replaced deprecated
ToolsCorewithTools - 🔧 Updated all
Dbmethod calls to lowercase (PS9 requirement) - 📝 Added comprehensive method documentation
- 🧹 Code cleanup and modernization
- ⚡ Maintained backward compatibility with PS 1.5+
- Previous stable version
You are welcome to help making this module better.
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Jordi Martin - Initial work - jmartin82
- d1m007 - A lot of improvements - d1m007
- Casper Olsen - A lot of improvements - casper-o
- Vincent Charpentier - Current maintainer - zenzen279
See also the list of contributors who participated in this project.
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.
- PrestaShop community for continuous support
- All contributors who have helped improve this module
- Google Merchant Center team for comprehensive documentation
Made with ❤️ for PrestaShop