Skip to content

Member Classes and Labels

GadgetSphere runs three classes — STANDARD, SILVER, GOLD — and a handful of labels such as NEWSLETTER, GAMING and CORPORATE. The class decides the member’s price and commission rules; the labels decide who gets which newsletter. Neither changes on its own.

Member class — one per member

A member class is a row in bl_crm_membership_class_hdr: a code, a name, a status, optional images and aliases, and two tabs in Membership Admin listing the labels linked to it and the members in it. A member is in exactly one class, chosen on the member form, set by the MEMBER CLASS column of a CSV upload, or given by POS_DEFAULT_MEMBERSHIP_CLASS when the counter enrols a walk-in.

What reads the class:

ReaderWhat it does with it
Pricebook — price set header rule Member ClassThe price set applies only when the member on the document is in one of the picked classes; POS General, Sales Invoice, Sales Order and Sales Quotation evaluate it when a line is added
Commission Scheme — header rule Member ClassThe scheme pays (money or points) only when the document’s member is in a picked class; a rule saved with an empty pick list passes unconditionally
CP Commerce AdminThe website’s default class for new registrations; a Spending Limit per member class for B2B portals
MEMBER_BIRTHDAY_GIFT_PROCESSORIts member_class_guids list restricts birthday points or vouchers to the picked classes

There is no tier engine. Nothing in the backend promotes or demotes a member: no spend threshold, no points threshold, no qualification period, no grace period, no annual reset. If GadgetSphere wants a member who spent RM 5,000 this year moved from SILVER to GOLD, someone changes the class on the form or re-uploads the CSV. Plan the classes as a set of prices and rules you assign, not as a ladder the system climbs for the member.

Member label — as many as you like

A label is a tag with a code and a name, grouped under a label list (a label created inside a list carries the list’s code). A member’s Labels tab links and unlinks them; the CSV upload takes up to three (LABEL 1LABEL 3). Labels have no hierarchy and no effect on price.

What reads the labels:

ReaderWhat it does with it
Newsletter topics in CP Commerce AdminA topic’s member-label links are turned into subscribers by MemberLabelTopicAssignmentProcessor (and removed by its un-assignment twin)
Pricebook price set header rule Member LabelDeclared on the rule form, but the client-side calculator ignores it — the rule is treated as satisfied on sales documents; only the OCR processor’s generic nodes read it
Commission Scheme header rule Member LabelPasses when the member has any label link; the picked labels are not compared

So a label is a reliable way to segment a mailing list and an unreliable way to gate a price or a commission until those two rules are fixed. Use a class for anything that must change what the till charges.

Class versus label, in one line each

  • Class: which price list and which commission rules apply to this member — one, assigned.
  • Label: which lists this member is on — many, assigned.

Related