Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

How to integrate external pricing webservice? 
 
Oavil
Jr. Member
 
Total Posts:  3
Joined:  2007-12-05
Toronto, ON
 

First some background
Setting up a webstore for one of our companies, which is a distributor (selling to resellers).  Pricing (our cost & reseller cost) can vary for Product ABC depending on the status of the reseller.  To address this, we built a discount management system internally that speaks via a REST web service to our sales quoting tool. 

For example, a sales person would goto into the quoting tool, specify the customer, then start selecting the SKU’s from our parts database to add the quote.  The parts database only knows list price (msrp), part no & vendor.  What happens on the backend is the quoting tool sends to the discount management system the following:

- vendor code (every product has one)
- reseller code (every customer has one)
- product category (i.e ‘support & training’)

The discount management system then replies back with msrp discounts based on what vendor tier the reseller might belong to and the quoting tool calculates our cost, the resellers cost and our margin.  Here is an example response:

<?xml version="1.0" encoding="UTF-8"?>
<status>1</status>
<
msg>Success</msg>
<
tier>Regular</tier>
<
discounts><reseller>15</reseller><distributor>20.8</distributor ></discounts>

So my question...
As we are setting up a webstore with Magento, i would like to have Magento calculate reseller cost on the fly using the discount management system as well.  I was wondering if anyone can point me in the right direction to get started on how i might tackle this?

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top