
DISTRIBUTION & WHOLESALE
Metrin Skincare had an unfinished online store, distributor commissions calculated by hand and shipping labels prepared at head office. Acro took over in July 2015. By March 2016, the store served retail customers and distributors, calculated monthly commissions and got labels from the carriers.

One store. Different rules for retail buyers and distributors.
If you sell to the public and through distributors, you know the pattern. Your trade accounts may need their own prices. Someone has to work out what each distributor earned this month, check it and pay it. Every order still has to be taxed, labelled and handed to the right carrier. Your store has to answer five questions:
For Metrin, the first challenge was finishing the store another team had left behind.

A skincare maker selling to consumers & through distributors
Metrin Skincare made and sold high-end skincare products. It sold straight to consumers, and through affiliates (franchisees) who resold its products. On the store, they were called distributors. The store also imported customer and distributor records from an earlier system.
Before this build, Metrin had no public online shop. In late 2014 and early 2015, another team started a new Drupal 7 store for Metrin. It built first versions of an affiliate commission module, a setup for several warehouses, a loyalty programme and a reorder feature. By mid-2015, the store still wasn’t live.
Metrin needed a team that could pick up another team’s code, finish the store and launch it. Acro started on 30 July 2015.
A half-built store, commissions by hand & labels from head office
First, we read the earlier team’s code to find out what was built, what was half-done and what was never started. Then we fixed what was broken. Acro continued the existing Drupal build, keeping its affiliate, warehouse and loyalty modules.
Next came the distributors. Each month’s commissions depended on staff working them out by hand. The new store had to calculate commissions without removing staff approval.
Shipping was another manual job. Head office prepared the labels, and staff went to each carrier for package sizes and prices. Metrin wanted the store to do that for each order, and to work out US sales tax too.
Two sets of commission rules, with staff still signing off
The earlier team had started an affiliate commission module. Acro added a commission pool for legacy distributors in October 2015, then separated the two calculation paths that November:
Each month, the store calculated commissions under the affiliate and legacy rules. Staff reviewed and approved them, then printed the cheques. Acro sized the cheques to Metrin’s cheque paper and set the minimum payout to cover the cheque fee.
Shipping labels, tracking & sales tax from the store
Metrin kept stock in more than one warehouse, a setup the earlier team built. Each customer was matched to a warehouse by their country, and Acro fixed how that showed on the store.
In 2015, Acro built a shipping module that connected each order to its carrier. The store requested a label and a tracking number and saved both on the order. Shipping charges used a base rate plus an amount for each extra item.
The store accepted Canadian and US dollars through Moneris, which kept cards on file for repeat charges. Acro added Elavon in 2018. Staff entered phone orders straight into the store, and the earlier team’s loyalty points kept running.
Retail & distributor rules in one store, 2016 to 2021
Acro launched the completed Drupal store in March 2016 and supported it until August 2021. The store served retail customers and distributors, with account discounts and separate commission rules. Each month it calculated commissions for staff to approve and print as cheques. Labels and tracking numbers came from the carriers instead of head office. In October 2020, Metrin requested a change to which products earned commissions; the request mentioned distributor discounts of up to 55%. Acro finished the store with distributor account discounts and separate commission calculations, while staff kept approval of every payout. In August 2021, Metrin launched a new site, built elsewhere.