CoreShop Product Price Rules

CoreShop gives you the ability of very complex price calculation methods. Price Rules always consist of Conditions and Actions.

Price Rule Types

Product Price Rules

Checkout all available product price rules here

Product price rules are applied to multiple products based on conditions like category or manufacturer.

Specific Price Rules

Checkout all available specific price rules here

Specific price rules are applied to a single product based on conditions like customer or customer group.

Quantity Price Rules

Checkout all available quantity price rules here

Quantity price rules are applied to a single product based on conditions like the quantity of a cart item.

These rules apply only in the calculation of cart item prices. If you have only quantity rules configured, the default price calculation of CoreShop will return zero outside of cart context.

Extending Conditions and Actions

Template Helper

Get Formatted Price with all applied Rules

{% import '@CoreShopFrontend/Common/Macro/currency.html.twig' as currency %}
{% import '@CoreShopFrontend/Common/Macro/product_price.html.twig' as product_price %}

<div class="price">
    <span class="price-head">{{ 'coreshop.ui.price'|trans }}:</span>
    {{ product_price.display_product_price(product) }}
</div>
<div class="tax">
    {{ 'coreshop_product_tax_inc'|trans|format(product|coreshop_product_tax_rate) }} ({{ currency.convertAndFormat(product|coreshop_product_tax_amount) }})
</div>

Get Active Price Rules

{{ dump(product|coreshop_product_price_rules) }}