Skip to content

k.commerce ​

电商模块主模块

概述 ​

k.commerce 提供电商相关的主模块访问。

子模块 ​

模块说明
product产品管理
category产品分类
cart购物车
order订单
customer客户管理
discount折扣优惠
address地址管理
loyalty会员积分
membership会员等级
shipping配送方式
wishlist心愿单
currency货币管理
settings电商设置

TypeScript 定义 ​

ts
interface KCommerce {
    category: KCategory;
    product: KProduct;
    cart: KCart;
    order: KOrder;
    customer: KCustomer;
    loyalty: KLoyalty;
    discount: KDiscount;
    shipping: KShipping;
    address: KAddress;
    membership: KMembership;
    wishlist: KWishlist;
    currency: KCurrency;
    settings: KCommerceSettings;
}