Pricing (Legacy)

Create the pricing models in Emporix (legacy).

In the Emporix e-commerce system, prices apply to products sold on your storefront.

Price types

Each product's price information includes two price types. They are described in the table below.

Price type
Description

Presentation price

Price presented to the customers on the storefront.

Base price

Price per base measurement unit (such as a kilogram or liter). It is often used by customers to compare the prices of different products.

Examples of price setups

Example of product
Bananas
Chocolate spread
Bottled juice

Description

Customers can order bananas by pieces. One banana weighs approximately 180 grams. The final price of the product depends on its actual weight in kilograms.

Customers can order chocolate spread by packaging. One packaging contains 450 grams of chocolate spread. Base price is calculated per kilogram.

Customers can order juice by bottles. One bottle contains 500 milliliters of juice. Base price is calculated per liter.

Original and amount

0.36 EUR

2.99 EUR

0.99 EUR

Measurement unit

Piece

Piece

Piece

Base price

1.99 EUR

6.64 EUR

1.98 EUR

Base price unit

Kilogram

Kilogram

Liter

Presentation price

1.99 EUR

2.99 EUR

0.99 EUR

Presentation price unit

Kilogram

Piece

Piece

Sales promotions

You can put products on sale and specify the date range in which the sale price applies. Discounts can be applied either as a percentage of the original price or as a fixed amount.

See example of a Price object with the sale price configured
{
  "id": "61b9dcb2cfa47f0001e0e75d",
  "productId": "61b9dc9ff5758b79d5815892",
  "siteCode": "main",
  "currency": "EUR",
  "originalAmount": 0.3582,
  "effectiveAmount": 0.2682,
  "measurementUnit": {
    "quantity": "1.0",
    "unitCode": "H87"
  },
  "basePrice": {
    "originalAmount": 1.99,
    "effectiveAmount": 1.49,
    "measurementUnit": {
      "quantity": 1.0,
      "unitCode": "KGM"
    }
  },
  "presentationPrice": {
    "originalAmount": 1.99,
    "effectiveAmount": 1.49,
    "measurementUnit": {
      "quantity": 1.0,
      "unitCode": "KGM"
    }
  },
  "customAttributes": {},
  "salePrice": {
    "discountRate": 25.0,
    "description": "25% off!"
  },
  "metadata": {
    "mixinMetadata": {
      "mixins": {}
    }
  }
}
See example of a Product object with the sale price configured
{
  "id": "61b9dc9ff5758b79d5815892",
  "code": "SALEPRICE",
  "name": {
    "localizedMap": {
      "en": "Product on sale"
    },
    "multiLanguage": true
  },
  "description": {
    "localizedMap": {
      "en": "Product created for documentation purposes."
    },
    "multiLanguage": true
  },
  "published": true,
  "mixins": {
    "salePricesData": {
      "salePrices": [
        {
          "enabled": true,
          "salePriceAmount": 1.49,
          "salePriceEnd": "2021-12-31T23:59:00.000+0000",
          "salePriceStart": "2021-12-23T00:00:00.000+0000"
        }
      ]
    },
    "productCustomAttributes": {
      "activeTab": "ProductDescription",
      "categoryPath": {
        "categoryLevel1": "example-category-1",
        "prettyName": "product-on-sale",
        "categoryLevel2": "",
        "categoryLevel3": ""
      },
      "defaultOrderQuantity": 1,
      "inStock": true,
      "maxOrderQuantity": 10,
      "minOrderQuantity": 1,
      "orderUnit": "H87",
      "pricingMeasure": {
        "unitCode": "KGM",
        "value": 1
      },
      "pricingMeasurePrice": 1.99,
      "productState": "prepare",
      "taxClass": "FULL",
      "unitPricingBaseMeasure": {
        "unitCode": "KGM",
        "value": 1
      },
      "unitPricingMeasure": {
        "unitCode": "GRM",
        "value": 180
      },
      "weightDependent": true
    }
  },
  "metadata": {
    "mixinMetadata": {
      "mixins": {
        "salePricesData": "https://res.cloudinary.com/saas-ag/raw/upload/schemata/salePriceData.json",
        "productCustomAttributes": "https://res.cloudinary.com/saas-ag/raw/upload/v1560527845/schemata/CAAS/productCustomAttributesMixIn-v38.json"
      }
    },
    "schema": "https://res.cloudinary.com/saas-ag/raw/upload/v1544786405/schemata/CAAS/product.v2"
  }
}

Taxes

When you configure a product, you select its tax class from classes configured for a particular site.

Product prices are stored as gross values. Their net values are calculated when an invoice is created.

Last updated

Was this helpful?