LogoLogo
Community StoreAsk for support
EN
EN
  • Knowledge base
  • Plugins
    • Bonus System
      • Pre-Requisites
      • Installation
      • Admin Dashboard
        • Point crediting
        • Customers
        • Conditions
        • Bonus products
      • Create more nav items in account
      • Scheduled Tasks/ Cronjobs
      • Migration of points
      • Admin API
        • Updating customer points with API
      • Product number for bonus points
    • Individual Offer
      • Pre-requisites
      • Installation
      • Change E-Mails
      • Change offer PDF
      • Custom fields
      • Managing offers
        • Fixed shipping costs and method
      • Creating an offer in Shopware Administration
      • Order an offer in administration
    • Affiliate System
      • Pre-Requisites
      • Installation
      • Admin Dashboard
      • Display in account area
      • Approve provision
    • Auto-Complete and Validation
    • Interactive Hotspots
      • Changing hotspot marker size
    • One Page Checkout
      • Pre-Requisites
      • Installation
    • Wishlists for Shopware 6
      • Pre-Requisites
      • Installation
      • Admin Dashboard
        • Edit wishlist
        • Create wishlist
        • Import wishlist
    • Discount category for Shopware 6
      • Pre-Requisites
      • Installation
      • Admin Dashboard
        • Create campaign
          • Base
          • Discount
          • Restriction
          • Statistics
        • Edit campaign
        • Duplicate campaign
    • USPS
      • Pre-Requisites
      • Installation
    • Refurbished
      • Pre-Requisites
      • Installation
      • Create/Edit B-Stock
  • Apps
    • Premium Items / Free Gifts
      • Pre-Requisites
      • Pre-Requisites
      • Installation
      • Create a premium item
      • Installation
    • Service
      • Pre-Requisites
      • Installation
    • Multi-Step Conversion Checkout
      • Pre-Requisites
      • Installation
Powered by GitBook

PremSoft

  • About PremSoft

Information

  • Data protection
  • Imprint

© 2025 PremSoft

On this page

Was this helpful?

  1. Plugins
  2. Individual Offer

Custom fields

Custom fields are supported for every offer, via the Custom Fields panel on the offer detail page. To use custom fields, you must first create them in Shopware as follows:

  1. Access Settings > System > Custom fields.

  2. Select Individual Offer.

  3. Click Add New Set and complete the fields described in the table below.

  4. Click Save.

Setting

Type

Description

Technical name

Free text field

Unique identifier for the custom field. It must be unique and cannot be modified once the custom field has been saved.

Position

Free text field

Enter the position for the custom field (numerical value).

Manage labels in all administration languages

Toggle

Activate this setting to allow multiple language variants for the custom field.

Label

Free text field

Enter the label text for the custom field. If multiple language variants setting is activated, enter the label text in each supported language.

Assign to

Dropdown menu

Select a category to associate the custom field with.

You can also edit existing custom fields from this page by clicking the “…” menu button and selecting Edit.

Displaying custom fields in the storefront

To show custom fields in the storefront, you must implement template changes in your theme or via an extension.

For example: if you have created a text field with name prems_individual_offer_offer_test you could create a new file resources/views/storefront/page/individual_offer/index.html.twig in your theme.

Insert the following code to display the custom field:

{% sw_extends "@Storefront/storefront/page/individual_offer/index.html.twig" %}

{% block page_account_offers_table_order_number %}
{{ parent() }}
{% if order.customFields.prems_individual_offer_offer_test is defined %}
Your label test text: {{ order.customFields.prems_individual_offer_offer_test }}
{% endif %}
{% endblock %}
PreviousChange offer PDFNextManaging offers

Last updated 3 months ago

Was this helpful?