Discount Synchronization

Registered by Sébastien BEAU - http://www.akretion.com

The aim is to manage the product discount rule directly from OpenERP

We plan to use the module "pricelist_builder" https://code.launchpad.net/~akretion-team/+junk/pricelist_advanced (experimental)

This module will generate for each product a pricelist_item and base on this pricelist_item we will push the discount information in Magento. In magento there is 3 case of discount and in OpenERP only 1 object "product_pricelist_item". So we have to map 1 object in OpenERP with 3 in Magento depending of the case. Here are the 3 cases :

catalog_product_entity_group_price
---------------------------------------------------------
Webservice : inexistant :(
Condittion : product_pricelist_item will be synchronized with catalog_product_entity_group_price if the quantity is 1 and the field group customer is filled

catalog_product_entity_tier_price
--------------------------------------------------
Webservice : http://www.magentocommerce.com/api/soap/catalog/catalogProductTierPrice/catalogProductTierPrice.html

Condition : product_pricelist_item will be synchronized with catalog_product_entity_tier_price if the quantity is different from 1

special_price:
------------------------
Webservice : use the same as the product webservice http://www.magentocommerce.com/api/soap/catalog/catalogProduct/catalogProduct.html

Condition : product_pricelist_item will be synchronized with special price field if the quantity is 1 and the customer group is empty

We plan to do the special_price support. For the other discount you are welcome to contribute ;)

On the Magento Shop we push as price the price on the product form and for the discount the price from the pricelist

Blueprint information

Status:
Not started
Approver:
Sébastien BEAU - http://www.akretion.com
Priority:
Undefined
Drafter:
Sébastien BEAU - http://www.akretion.com
Direction:
Needs approval
Assignee:
David BEAL (ak)
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.