Installation & Setup

Requirements

  • Magento 2.4+
  • PHP 8.0+
  • MageB2B_PricesystemCore >= 2.3.0

Installation Steps

Install the module via Composer:

# Add authentication to composer composer config bearer.repo.softwaresilo.io composer config repositories.softwaresilo composer https://repo.softwaresilo.io/ # Install the module composer require mageb2b/pricesystem-categoryprice:* # Enable the module php bin/magento module:enable MageB2B_PricesystemCategoryprice # Run setup upgrade php bin/magento setup:upgrade # Compile DI php bin/magento setup:di:compile # Deploy static content php bin/magento setup:static-content:deploy # Clear cache php bin/magento cache:flush

Configuration

Navigate to: Stores >Configuration > Pricesystem > Categoryprice Settings

Available Settings

Price Select Rule

Choose how to resolve conflicts when both customer and group prices exist.

  • Path: pricesystem/categoryprice/price_select_rule
  • Type: Select
  • Options:
    • Select price by priority - Use numeric priority field to determine winner
    • Group price first - Always prefer customer group prices
    • Customer price first - Always prefer individual customer prices
  • Default: Select price by priority

This is a critical setting that determines pricing behavior when conflicts occur.

Allow customers to download their personal category prices as CSV from their account.

  • Path: pricesystem/categoryprice/enable_download
  • Type: Yes/No
  • Default: No

When enabled, customers will see a "Download My Prices" link in their account dashboard showing all category prices that apply to them.

CSV Delimiter

Configure the delimiter used in CSV exports.

  • Path: pricesystem/categoryprice/csv_delimeter
  • Type: Text
  • Default: , (comma)
  • Examples: ; (semicolon), | (pipe), \t (tab)

CSV Encloser

Configure the enclosure character used in CSV exports.

  • Path: pricesystem/categoryprice/csv_encloser
  • Type: Text
  • Default: " (double quote)

Verification

After installation, verify the module is active:

php bin/magento module:status MageB2B_PricesystemCategoryprice

Expected output:

Module is enabled

Admin Access

Navigate to: Catalog >Category Prices

You should see two sub-menus:

  • Customer Prices - Individual customer category pricing
  • Customer Group Prices - Group-based category pricing

Both provide management grids for creating and editing category prices.

Database Tables

The extension creates two main tables:

pricesystem_categoryprice

Stores individual customer category prices.

Key Fields:

  • entity_id → Category ID (foreign key to catalog_category_entity)
  • customer_id → Customer ID (foreign key to customer_entity)
  • qty → Quantity tier
  • value → Price value
  • priority → Numeric priority for conflict resolution
  • from_date / to_date → Date range
  • website_id → Website scope

pricesystem_categoryprice_customergroup

Stores customer group category prices.

Key Fields:

  • entity_id → Category ID (foreign key to catalog_category_entity)
  • group_id → Customer Group ID (foreign key to customer_group)
  • qty → Quantity tier
  • value → Price value
  • priority → Numeric priority for conflict resolution
  • from_date / to_date → Date range
  • website_id → Website scope

Next Steps

Found an issue with this documentation? Let us know