Markus Michalski FAQ

Small Business: Storefront

Small Business §19 UStG for Shopware 6.7 - what the storefront shows when the setting is on: price notice, product listing, offcanvas cart, checkout summary and footer, with the overridden template blocks.

Deutsche Version

Back to overview

Small Business: Storefront

When the setting Small business regulation active is switched on for the sales channel, the plugin replaces five places in the storefront. When it is off, all places render Shopware's default texts.

What changes

Place Overridden block Display when the regulation is active
Product page (buy widget) buy_widget_tax Link with the snippet mmd-kleinunternehmer.grossTaxInformation. A click opens the CMS page for shipping and payment information in a modal.
Product listing (product box) component_product_box_price_tax_info Button with the same snippet that opens the same CMS page in a modal.
Offcanvas cart component_offcanvas_summary_tax_info Asterisk (general.star) and the snippet mmd-kleinunternehmer.grossTaxInformation.
Checkout summary page_checkout_summary_taxes Instead of the calculated tax lines, one line with the label mmd-kleinunternehmer.checkout.taxLabel ("VAT") and the value mmd-kleinunternehmer.checkout.noTax ("None (§19 UStG)").
Checkout summary page_checkout_summary_net The net total row is hidden.
Footer layout_footer_vat The notice mmd-kleinunternehmer.footer.vatNotice.

You can change the texts in the snippet management, see Configuration.

So with the regulation active the checkout does not show "no tax line at all" but a fixed line "VAT: None (§19 UStG)". Only the net total row is dropped.

What stays the same

After activation, place a test order and check what actually appears in the cart, checkout and order. The plugin only replaces displays, the amounts come from Shopware.

Your own templates

The plugin uses Shopware's block override system (sw_extends). A theme that overrides the same blocks can replace the plugin's output. In your own templates you query the state with the Twig function mmd_small_business_active():

{% if mmd_small_business_active() %}
    {# Small business regulation is active for this sales channel #}
{% endif %}

The function returns true or false and determines the sales channel from the storefront context or from the order of a document.