Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Initial work on integrating with DEAR Inventory Management: https://dearsystems.com/inventory-software/
API module for Drupal 7.
Example usage:
$dear = dear_get_object();
$dear->listProducts();
$product_list = $dear->getLastResponse();
Configuration: /admin/config/services/dear
Importing Products
Products can be imported using the modules Feeds and Commerce Feeds. The Field Validation module is recommended for creating a unique field.
- Enable the modules Feeds, Commerce Feeds, Field Validation, DEAR and DEAR Feeds
- In your product type, create a text field called "DEAR ID" with machine name
dear_id - Add a validation rule for "DEAR ID" of "Unique values
- Create a new Feeds importer
- Select "DEAR Product Fetcher"
- Select "DEAR Product Parser"
- Select "Commerce Product processor"
- Add a mapping Source "ID" mapped to Target "DEAR ID", select "Unique" checkbox
- Configure other mappings as required
The included DEAR Commerce module creates a Sale and Sale order using Price Tier 2. Therefore, in the Feeds importer the source "PriceTier2" should be mapped to the target "Price: Amount".
Project information
Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed.- Project categories: E-commerce, Import and export, Integrations
- Created by imclean on , updated