shoppingfeed / shoppingfeed-for-woocommerce
WordPress connection Controller Plugin for ShoppingFeed - Sell on Amazon, Ebay, Google, and 1000's of international marketplaces
Installs: 546
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 4
Forks: 3
Open Issues: 12
Type:wordpress-plugin
Requires
- php: ^7.3|^8.0
- composer/installers: ~1.0|~2.0
- shoppingfeed/php-feed-generator: ^1.2.1
Requires (Dev)
- codeception/module-asserts: ^1.0
- codeception/module-cli: ^1.0
- codeception/module-db: ^1.0
- codeception/module-filesystem: ^1.0
- codeception/module-phpbrowser: ^1.0
- codeception/module-webdriver: ^1.0
- codeception/util-universalframework: ^1.0
- coenjacobs/mozart: ^0.7.1
- dealerdirect/phpcodesniffer-composer-installer: ^0.7.0
- lucatume/wp-browser: ^3.1 <3.5
- overtrue/phplint: ^2.0
- php-parallel-lint/php-parallel-lint: ^1.2
- php-stubs/woocommerce-stubs: ^7.7
- phpcompatibility/php-compatibility: ^9.3
- phpro/grumphp-shim: ^1.5.0
- roave/security-advisories: dev-latest
- roots/wordpress: ^6.2
- shoppingfeed/php-sdk: ^0.7.0
- squizlabs/php_codesniffer: ^3.5
- vimeo/psalm: ^3.11
- wp-cli/wp-cli-bundle: ^2.7
- wp-coding-standards/wpcs: ^2.2
- dev-develop
- 6.8.0
- 6.7.0
- 6.6.0
- 6.5.1
- 6.5.0
- 6.4.0
- 6.3.0
- 6.2.0
- 6.1.20
- 6.1.19
- 6.1.18
- 6.1.17
- 6.1.16
- 6.1.15
- 6.1.14
- 6.1.13
- 6.1.12
- 6.1.11
- 6.1.10
- 6.1.9
- 6.1.8
- 6.1.7
- 6.1.6
- 6.1.5
- 6.1.4
- 6.1.3
- 6.1.2
- 6.1.1
- 6.1.0
- 6.0.33
- 6.0.32
- 6.0.31
- 6.0.30
- 6.0.29
- 6.0.28
- 6.0.27
- 6.0.26
- 6.0.25
- 6.0.24
- 6.0.23
- 6.0.22
- 6.0.21
- 6.0.18
- 6.0.17
- 6.0.16
- 6.0.15
- 6.0.14
- 6.0.13
- 6.0.12
- 6.0.11
- 6.0.10
- 6.0.9
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-issue/72879
- dev-issue/74026
- dev-fix-74034
- dev-issue/74034
- dev-main
- dev-issue/74148
- dev-issue/70759
- dev-issue/65148
- dev-dependabot/npm_and_yarn/multi-a9f852c250
- dev-issue/67550
- dev-issue/69914
- dev-fix/update-account-setting
- dev-fix/cron-schedule
- dev-issue/63720
- dev-issue/62305
- dev-issue/61387
- dev-issue/58079
- dev-issue/57696-bis
- dev-issue/57696
- dev-issue/58114
- dev-feature/etag-header
This package is not auto-updated.
Last update: 2024-11-21 21:00:12 UTC
README
- Contributors: ShoppingFeed, BeAPI
- Tags: shoppingfeed, marketplace, woocommerce, woocommerce shoppingfeed, create woocommerce products shoppingfeed, products feed, generate shoppingfeed, amazon, Jet, Walmart, many marketplace, import orders
- Stable tag: 6.8.0
- Version: 6.8.0
- Requires PHP: 7.3
- Requires at least: 5.7
- Tested up to: 6.5
- WC requires at least: 5.1.0
- WC tested up to: 8.8
Upgrade Notice
Version 6.0.0 is a major version, there are several changes and improvements which affect the architecture of the plugin. You will have to re-configure the plugin, all the previous settings will be lost
Changelog
- 6.8.0
- Feed : Fix the promotion date
- 6.7.0
- Orders : The 'buyer_identification_number' field is imported in an order custom field if it exists.
- Orders : Product updates (price and stock) via the SF API are made asynchronously via a scheduled task.
- Misc : ShoppingFeed service identifiers are no longer stored in the application's logs offered by WooCommerce.
- 6.6.0
- Feed : Fix cases where some out-of-stock products would appear in the feed.
- Feed : A new option to include out-of-stock products in the feed is available.
- Feed : Update quantity calculations to be more accurate in various cases
- Feed : Update feed metadata to include Woocommerce and plugin version.
- Orders : Don't create orders in Woocommerce if stock is not sufficient and sent a custom acknowledgment error.
- Orders : A new tools is available to import unacknowledged orders created more than two weeks ago.
- Account : Refresh the account settings.
- Account : A new option to change the default store is available.
- Shipping (AST) : Handle multiple tracking numbers.
- Misc : Fix remaining conflict in prefixed dependencies.
- 6.5.1
- Feed : add options to disable stock and price synchronization with ShoppingFeed when a product change.
- 6.5.0
- Misc : HPOS compatibility.
- Orders : Update the filters used for retrieving orders from ShoppingFeed.
- Orders : Rework the checks when importing orders from ShoppingFeed.
- 6.4.0
- Misc : Prefix Guzzle library and related dependencies to avoid conflicts.
- 6.3.0
- Orders : Don't import orders fulfilled by the marketplaces by default, see details in the description.
- WPCLI command : don't rerun the generation process when an error occurs.
- 6.2.0
- Rework feed generation process to better handle shop with large amount of products.
- 6.1.20
- Fix an issue with migration process failing to be scheduled with new version of Woocommerce.
- Update plugin requirements
- 6.1.19
- Update 'shopping_feed_variation_images' filter to include the WC variation ID.
- 6.1.18
- Update 'shopping_feed_custom_ean' filter to include the WC product.
- 6.1.17
- Add new filter 'pre_sf_carrier_from_wc_shipping' to override default carrier data sent to ShoppingFeed for an order.
- 6.1.16
- PHP 8 compatibility fix
- Readme update
- 6.1.15
- Weight of variations is back into attributes
- 6.1.14
- Add support for Woocommerce Shipment Tracking Pro
- Fix usage of Yoast option
- Update readme
- 6.1.13
- Fix PHP error with WPSEO premium
- 6.1.12
- Fix missing admin tab
- 6.1.11
- Weight attribute is at the root of the product xml feed
- the 'other' field is map to the customer notes
- Yoast categories are taken into account
- 6.1.10
- Update AST addon to support the pro version
- 6.1.9
- Fix wrong quantities for chained products
- 6.1.8
- Add Zalando as an available marketplace
- 6.1.7
- Fix shipping options not saving
- 6.1.6
- Release main
- 6.1.5
- Performances improvement : Logger and HTTP connection
- 6.1.4
- Added filter for fees handling
- refresh translations
- 6.1.3
- Fix composer dependencies
- 6.1.0
- Add the possibility to connect multiple ShoppingFeed accounts to one WC shop
- 6.0.33
- Fix priority issue with other plugins
- 6.0.32
- Add link to WC logs
- 6.0.31
- Do not send mails to other customers
- 6.0.30
- Do not force WC mail settings
- 6.0.29
- AST compact with Shopping-Feed Advanced helper
- 6.0.28
- Fix bad version
- 6.0.27
- Support WP 5.8
- 6.0.26
- Fix version number
- 6.0.25
- Tracking: Add option to choose Retrieval Mode
- 6.0.24
- Tracking: fix bad condition
- 6.0.23
- If the billing address phone is empty, get the shipping one to display phone on the BO
- 6.0.22
- Fix file case issue
- 6.0.21
- Set status as publish on product list
- 6.0.20
- add compat to the plugin ATS
- 6.0.19
- add compat to the plugin Chained Product
- 6.0.18
- add async generation for feed
- 6.0.17
- using generator for generating products list"
- 6.0.16
- sum quantity of all variations on parent
- 6.0.15
- add the possibility to choose the default status for imported order
- 6.0.14
- add the possibility to export category tree in the feed
- 6.0.13
- add extra fields to feed
- 6.0.12
- fix static call
- 6.0.11
- enhance logging
- 6.0.10
- fix deploy issue
- 6.0.9
- send WC shipping method name once order shipped
- 6.0.8
- add missing commit
- 6.0.7
- add weight as attribute
- fix phone value
- 6.0.6
- add ean support for variations
- 6.0.5
- correct attribute values
- 6.0.4
- fix permalink issue
- 6.0.3
- edit version number
- 6.0.1
- edit readme.txt
- 6.0.0
- this is a major version, there are several changes and improvements which affect the architecture of the plugin
- You will have to re-configure the plugin, all the previous settings will be lost
Description
WordPress connection Controller Plugin for ShoppingFeed - Sell on Amazon, Ebay, Google, and 1000's of international marketplaces
Requirements
Server :
- PHP version 7.1 or above
- PHP cURL extension is activated
WordPress :
- Core version 5.7 or above
- WooCommerce version 5.1 or above
Installation
Sign up for free on ShoppingFeed : https://shopping-feed.com/
- Activate the plugin in Plugins > Installed Plugins
- In Plugins > Installed Plugins > ShoppingFeed > settings, log in with your ShoppingFeed credentials
- In Settings, check that ShoppingFeed is enabled and save changes
Orders fulfilled by the marketplaces
The plugin won't import orders fulfilled by marketplaces by default.
Options are available in the plugin settings to include those orders during the import.
They can be found in the "Orders" tab :
- Orders fulfilled by marketplace : import orders even if they are fulfilled by the marketplace.
- Fulfilled by marketplace order's status : select the status used for orders fulfilled by marketplaces when they are imported.
Shipment tracking support
For now, the only shipment tracking plugins supported are :
- Advanced Shipment Tracking : https://wordpress.org/plugins/woo-advanced-shipment-tracking/
- Advanced Shipment Tracking PRO : https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/
- Woocommerce Shipment Tracking Pro : https://www.pluginhive.com/product/woocommerce-shipment-tracking-pro/
Configuration
To start using the plugin correctly, you need to configure it with your preferences (Feed, Shipping, Orders)
Available hooks
With this snippets below can be added to your theme's functions.php file or your custom plugin file
Categories
By default, we support product_cat
as taxonomy slug to identify product's categories, you can override it using this snippet :
add_filter( 'shopping_feed_custom_category_taxonomy', 'your_custom_category_function' ); /** @return string */ function your_custom_category_function() { return 'your_custom_category_slug'; }
Brands
By default, we don’t support any custom plugin for product's brand, you can set custom taxonomy slug to identify it by using this snippet :
add_filter( 'shopping_feed_custom_brand_taxonomy', 'your_custom_brand_function' ); /** @return string */ function your_custom_brand_function() { return 'your_custom_brand_slug'; }
EAN
By default, we don’t support any custom plugin for product EAN, you can set custom taxonomy slug to identify it by using this snippet :
add_filter( 'shopping_feed_custom_ean', 'your_custom_ean_function' ); /** @return string */ function your_custom_ean_function() { return 'your_custom_ean_slug'; }
Feed’s products list args
To export the feed, we use the plugin’s setting, if you want to add/use specific args, you can use the following snippet
add_filter( 'shopping_feed_products_custom_args', 'your_custom_args_function' ); /** @return array */ function your_custom_args_function() { //array of args return array(); }
You can find all available args here WooCommerce documentation
Orders to import (statuses)
By default, we import orders with ‘waiting_shipment’ status, if you want to import more statuses or a specific one, you can use the following snippet
add_filter( 'shopping_feed_orders_to_import', 'your_custom_statuses_function' ); /** @return array */ function your_custom_statuses_function() { // array of statuses (strings) return array(); }
Status available
: created, waiting_store_acceptance, refused, waiting_shipment, shipped, cancelled, refunded, partially_refunded, partially_shipped
Tracking number
If you want to set a custom meta key to identify it, you can use the following snippet
add_filter( 'shopping_feed_tracking_number', 'your_custom_tracking_number_function' ); /** @return string */ function your_custom_tracking_number_function() { return ‘your_custom_order_meta_key’ }
Tracking url
If you want to set a custom meta key to identify it, you can use the following snippet
add_filter( 'shopping_feed_tracking_link', 'your_custom_tracking_url_function' ); /** @return string */ function your_custom_tracking_url_function() { return ‘your_custom_order_meta_key’ }
Extra Fields
If you want to add an extra fields to your XML Feed, you can use the following snippet
add_filter( 'shopping_feed_extra_fields', 'your_custom_fields_function', 10, 2 ); /** @return array */ function your_custom_fields_function($fields, $wc_product) { $fields[] = array('name'=>'my_field', 'value'=>'my_value'); return $fields; }
Variation Images
By default, we don’t support any custom plugin for adding images to WC Product Variation, with this filter you can set the desired images to each variation, you can use the following snippet
add_filter( 'shopping_feed_variation_images', 'your_custom_variation_images_function', 10, 3 ); /** * @param array $images * @param WC_Product $wc_product * @param int $variation_id * * @return array */ function your_custom_variation_images_function( $images, $wc_product, $variation_id ) { $images[] = 'https://domain.com/image1.jpg'; $images[] = 'https://domain.com/image2.jpg'; return $images; }
Development
Local environment
Using Lando, you can start a local environment with all the required plugins and default dataset
# Start local env lando start # Configure and load default dataset lando setup-env
The environment will be available at https://shoppingfeed-for-woocommerce.lndo.site
- Login:
admin
- Password:
password
Testing
Tests are handle through WPBrowser built around the Codeception framework. Lando is used to have a fully working environment.
To run all tests suite :
lando start lando tests
To run the Unit tests suite :
lando start lando test-unit
To run the WPUnit tests suite :
lando start lando test-wpunit
To run the functional tests suite :
lando start lando test-functional
To run the acceptance tests suite :
lando start lando test-acceptance