Leírás
This plugin use the Magento REST API to list products on your page or blog post.
Use the configuration page to link your Magento store to your WordPress and the shortcode to display the products.
The plugin works out of the box, but I also provide a free Magento extension to give you more functionalities. Find more details on the plugin’s website page.
Plugin features
- Show product title, short description, price and buy now button
- Cache to reduce page load time
- Shortcode to list products on your page or blog post
Magento extension features
- Reduced page load time: only 1 request to fetch all data
- Thumbnails generation (by default images are natural size and resized using img width/height attributes)
Actions and filters
For developers: actions and filters documentation.
Coming soon
- Show only one product in your posts or your pages with a shortcode (1.4.0)
- OAuth authentication (1.3.0)
- Possibility to set custom thumbnail for products without images (1.4.0)
- Magento 2 compatibility (2.0.0)
- PHPUnit tests on github
Képernyőmentések
Telepítés
- Extract
magentowp.zip
to the/wp-content/plugins/
directory - A bővítmény bekapcsolása a WordPress “Bővítmények” menü részénél lehetséges
- Create REST API user and role in your magento store (see our documentation)
- Configure the plugin through the ‘Magento’ menu in WordPress
- Place
[magento]
shortcode in one of your page or blog posts
Vélemények
Közreműködők és fejlesztők
“Mag products integration for WordPress” egy nyílt forráskódú szoftver. A bővítményhez a következő személyek járultak hozzá:
Közreműködők“Mag products integration for WordPress” fordítása a saját nyelvünkre.
Érdekeltek vagyunk a fejlesztésben?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Változási napló
1.2.13
- Fix an issue that prevents custom CSS from generating.
1.2.12
- Fix responsive breakpoints (0-575px 1 column, 576-767px 2 columns, > 768px 3 columns)
- NEW Action hook mag_products_integration_before_product to show content before each product
- NEW Action hook mag_products_integration_after_product to show content after each product
- NEW Filter hook mag_products_integration_product to add additional product infos
1.2.11
- CAUTION The store attribute of the magento shortcode is now mandatory.
- NEW Magento extension has been updated to 1.0.3 and is now on github
- Fix wrong products links like /product/view/id/82797/…
- Remove translations from the plugin and move them to Translating WordPress
- DEVELOPER Clean up PHP code to respect WordPress Coding Standards
1.2.10
- Fix wrong store parameters that prevents store filter to works
- NEW Shortcode attribute “description” to control the product description length (can be numeric, true or false)
1.2.9
- PLEASE NOTE If you are using the Magento module, you must update it to 1.0.2 !
- NEW Add new setting to disable customizer colors
- Fix wrong product links with multiple stores
- Fix PHP fatal error if wp_remote_get() returns WP_Error instance
- DEVELOPER Refactoring PHP code for better readability
1.2.8
- Improve errors handling when the REST API URL is not valid
- Code optimization
- Fix CSS flexbox Safari issue
- Fix image_width and image_height attributes that were missing on the tag
- Remove inline style attribute on the tag
- Add a minified version of style.css
- Add a minified version of the three JS scripts
- PLEASE NOTE There are no media queries by default (breakpoints for mobile devices)
- DEVELOPER Updated version on github
1.2.7
- Fix PHP static function warning on debug mode
- Remove JQuery script and replace with CSS flexbox
- NEW Add customizer settings to modify the colours without rewriting the CSS
1.2.6
- Fix missing link on “Buy it now” when using the Magento extension
- Strip all HTML tags on product name and product short_description by default
1.2.5
- Fix missing link on “Buy it now” button when “buy_now_url” is missing from REST API response.
1.2.4
- Fix Magento module requests when Magento is in a subdirectory.
1.2.3
- Fix cache to work with multiple shortcodes. Currently, the cache was only working with one shortcode which prevents users to show different categories of products on different pages.
- Test plugin with WordPress 4.5
1.2.2
- Fix missing product image (If you are using the Magento module, you must update it to 1.0.1)
- NEW Hide products image via shortcode (use hide_image=”true”, default is false)
- NEW Add flush cache button
- Update cache to use WordPress Transients API
- Replace CURL functions with WordPress HTTP API
- Update POT file and French translation
1.2.1
- Fix undismissable notice on other admin pages
- Update POT file and French translation
1.2.0
- NEW Cache for better performance (reduced page load time)
- NEW Possibility to disable the provided jQuery script
- Default CSS style improvements
- Clearer error messages and notices
1.1.1
- Fix missing product URL and buy it now button for those who are not using the Magento module
- Add french (fr_FR) translation
- Add PHPDoc on methods and properties
- Update POT file
1.1.0
- Add new hooks
- Add 13 new actions
- Add 7 new filters
1.0.0
First stable version.