Configuration

Configure Pricesystem here:

  • Admin ->Stores -> Configuration -> MageB2B -> Pricesystem

This page documents the core configuration keys. Some settings only appear when additional price type modules or add-ons are installed.

General Settings

Activate Pricesystem (Per Website)

  • Config path: pricesystem/general/active
  • Scope: Website

Hide Price Filter (Layered Navigation)

  • Config path: pricesystem/general/hide_price_filter

Reload Prices With Ajax For Guests

  • Config path: pricesystem/general/reload_price_for_guest
  • Use this if you have Pricesystem prices configured for NOT_LOGGED_IN.

Routes To Skip Ajax Price Reload

  • Config path: pricesystem/general/skip_ajax_price_routes
  • Comma-separated list of routes (example: cms_index_index).

Use Native JSON Encode

  • Config path: pricesystem/general/use_native_json_encode
  • Enable if AJAX price requests return corrupted or empty JSON.

Price Cache Lifetime (Minutes)

  • Config path: pricesystem/general/price_cache_lifetime

Price Calculation

Custom Original Price

  • Config path: pricesystem/price_calculation/custom_original_price
  • Select which price type is treated as "original" price for downstream calculations and strike-through behavior.

Skip Greater Tier Prices

  • Config path: pricesystem/price_calculation/skip_greater_tier_price
  • If enabled, tier prices are ignored when they are greater than or equal to the current final price.

Disable Pricesystem For Selected Prices

  • Config path: pricesystem/price_calculation/disabled_prices
  • If a price type is disabled here, Magento default pricing is used for that price type on the frontend.

Skip Zero Price

  • Config path: pricesystem/price_calculation/skip_zero_price
  • If enabled, prices <= 0 are ignored by selection and by formula inputs.

Additional Discounts (Customer / Group)

Apply customer/group discounts on selected price types:

  • Customer discount on: pricesystem/price_calculation/apply_customer_discount_on
  • Group discount on: pricesystem/price_calculation/apply_group_discount_on
  • Which discount wins first: pricesystem/price_calculation/first_priority_customer_discount_or_group

Display Settings

Show "My Prices" Under My Account

  • Config path: pricesystem/display/custom_prices_my_account

Related options:

  • Dropdown restriction: pricesystem/display/custom_prices_my_account_provider_types
  • Show only when prices exist: pricesystem/display/custom_prices_my_account_not_empty

Details: My Prices

Standard Price Strike-Through

  • Config path: pricesystem/display/standard_price_strikethrough

Tier Prices

  • Show tier prices: pricesystem/display/show_tierprices
  • Show tier prices on list page: pricesystem/display/show_tierprices_on_listpage

Discount Text

  • Product view: pricesystem/display/frontend_show_discount_percent_product_view
  • List page: pricesystem/display/frontend_show_discount_percent_product_list
  • Discount text template: pricesystem/display/frontend_discount_text
  • Configurable list page text: pricesystem/display/frontend_conf_product_discount_text_listpage
  • Optional CSS style: pricesystem/display/frontend_discount_text_style

Hide Prices For Customer Groups (List Page)

  • Config path: pricesystem/display/hide_price_on_list_page_customer_group

Price Selection Rules

Global strategy:

  • Config path: pricesystem/price_select_rule/priceselect
  • Lowest (1), Highest (2), Sort order (3)
  • Formula (4) requires Advanced Config Add-On

Sort order list:

  • Config path: pricesystem/price_select_rule/price_sort_order

Strike-through behavior for sort order:

  • Next available strike-through: pricesystem/price_select_rule/use_next_available_price_in_strike_through
  • Skip discounts on strike-through: pricesystem/price_select_rule/skip_customer_group_discounts_for_next_available_price

Details: Price Selection

API Settings (Sync Fields)

If you synchronize Pricesystem data via external systems, you can configure which API fields are used:

  • Use custom API fields: pricesystem/api/use_custom_api_fields
  • Customer attribute: pricesystem/api/customer_attribute
  • Customer group attribute: pricesystem/api/customer_group_attribute
  • Product attribute: pricesystem/api/product_attribute
  • Category attribute: pricesystem/api/category_attribute

Debug Log

  • Enable: pricesystem/debug/enable_log
  • Log file: var/log/pricesystem.log

Cache Type

Pricesystem registers a dedicated cache type:

  • Cache type code: pricesystem_cache

Example commands:

php bin/magento cache:clean pricesystem_cache php bin/magento cache:flush

Module-Specific Settings

Some settings appear only when the corresponding price type module is installed:

  • Customerprice settings: pricesystem/customerprice/*
  • Categoryprice settings: pricesystem/categoryprice/*
  • Pricelist settings: pricesystem/pricelist/*
  • Product Customer Matrix settings: pricesystem/productcustomermatrix/*

See the dedicated KB pages for details:

  • /kb/pricesystem/modules/customer-prices
  • /kb/pricesystem/modules/category-prices
  • /kb/pricesystem/modules/pricelists
  • /kb/pricesystem/modules/product-customer-matrix

Found an issue with this documentation? Let us know