Diese Seite ist auch auf Deutsch verfügbar.
Skip to main content Skip to search Skip to main navigation
ACRIS E-Commerce GmbH

Manufacturer number instead of product number

Rating: 5.0

Average rating of 5 out of 5 stars

(1 reviews)
Downloads: <25

Description

Highlights

  • Manufacturer number instead of product number
  • Display in the shop on the product detail page, in the shopping cart and on the order confirmation page
  • With a small adjustment, the display of the manufacturer number is also possible in documents or in e-mail templates such as the order confirmation e-mail.
  • SEO URL instead of product number -> manufacturer number customization also easily possible

Features

  • Display of the manufacturer number instead of the product number
  • Product number as fallback - if the manufacturer number has not been maintained
  • Provided code snippet can be easily used in documents or e-mail templates
  • SEO URL customization with provided code snippet possible
  • Works with the standard search (search finds the manufacturer number of the article)

About the Extension

Configuration of the plugin

After installing the plugin, the manufacturer number is always displayed as soon as it has been filled at the product.
If you want the manufacturer number to be displayed in the order confirmation email, you have to replace one line of HTML code:

Adjust documents and e-mail templates

using the example of the order confirmation e-mail


In the Shopware standard the product number is displayed in the email templates and documents. If the manufacturer number should also be displayed in the order confirmation (analogous in documents or other e-mail templates), then a small adjustment is necessary:

Shopware Admin: Settings -> Shop -> E-Mail templates -> "edit" order confirmation

In the mail text area in line 10 and in HTML line 25
instead of
{% if lineItem.payload.productNumber is defined %}{{ lineItem.payload.productNumber|u.wordwrap(80) }}{% endif %}   

 this line must be inserted

{% if lineItem.payload.manufacturerNumber is defined %}Artikel-Nr: {{ lineItem.payload.manufacturerNumber|u.wordwrap(80) }}{% else %}{% if lineItem.payload.productNumber is defined %}Artikel-Nr: {{ lineItem.payload.productNumber|u.wordwrap(80) }}{% endif %}{% endif %}


Adaptation of further templates


If you need further adjustments for invoice, delivery note or other e-mail templates, then you can exchange the above program line analogous to the order confirmation e-mail instructions.

Search

The Shopware Standard Search also finds the "new" product number - i.e. manufacturer number automatically.

SEO URL

If the SEO Url should also be adapted accordingly, then please proceed as follows:
Settings -> SEO in the product detail page

instead of

{{ product.translated.name }}/{{ product.productNumber }}

this line must be inserted

{{ product.translated.name }}/{% if product.manufacturerNumber %}{{ product.manufacturerNumber }}{% else %}{{ product.productNumber }}{% endif %}




Using the plugin


Application example: The shop owner wants to display the manufacturer number instead of the product number.
(Of course, you can also enter any other number in the Manufacturer Number field (alphanumeric))


The plugin is fully integrated into Shopware and works immediately after installation in the frontend. (Clear cache may be necessary).

For documents or e-mail templates a small customization is required - see configuration info above.

Details

  • Available: English, German
  • Latest update: 4 December 2024
  • Publication date: 19 May 2020
  • Version: 4.0.3
  • Category: Special features

Resources

Reviews (1)

Average rating
5.0

Average rating of 5 out of 5 stars

Based on 1 reviews
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support

100 %
0 %
0 %
0 %
0 %

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review
Super einfach
5.0

Average rating of 5 out of 5 stars

by Robert Rernböck
21 October 2021 13:53
Einfacher geht es nicht, die Herstellernummer anstatt der Shopware Artikelnummer im Frontend zu nutzen.
5.0 Functionality
5.0 Usability
5.0 Documentation
5.0 Support

About the Extension Partner

ACRIS E-Commerce GmbH

ACRIS E-Commerce GmbH

Partner Status

  • Shopware Gold Partner Shopware
    Gold Partner
  • Shopware Premium Extension Partner Shopware
    Premium Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2015
  • Extensions: 122

Support

  • Based in: Austria
  • Speaks: German, English
  • Response time: Very quickly