# Varianten-Artikelnummer im Produkttitle

**URL:** <https://forum.shopware.com/t/varianten-artikelnummer-im-produkttitle/36164>\
**Category:** Themes & Design\
**Created:** [20. April 2016 um 11:49 UTC](https://forum.shopware.com/t/varianten-artikelnummer-im-produkttitle/36164 "2016-04-20T11:49:56Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefandpunkt](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@stefandpunkt](https://forum.shopware.com/u/stefandpunkt)\
**Post date:** [20. April 2016 um 11:49 UTC](https://forum.shopware.com/t/varianten-artikelnummer-im-produkttitle/36164/1 "2016-04-20T11:49:56Z")

</div>

Hallo zusammen,  
ich habe Varianten im Shop. Wenn ich eine Variante auswähle möchte ich in der Überschrift&nbsp;des Artikels die Artikelnummer der Variante stehen haben.

Wie löse ich das?

---

<div class="post-metadata">

**Author:** ![hds](https://avatars.discourse-cdn.com/v4/letter/h/bb73d2/32.png) [@hds](https://forum.shopware.com/u/hds)\
**Post date:** [23. April 2016 um 07:49 UTC](https://forum.shopware.com/t/varianten-artikelnummer-im-produkttitle/36164/2 "2016-04-23T07:49:05Z")

</div>

Dafür musst du die detail/index.tpl in deinem Theme etwas anpassen und mit less ein wenig stylen. Die Artikelnummer wird stardmässig unterhalb der buy box angezeigt. Den Bereich sku&nbsp;neben der Produktbeschreibung einsetzen und unterhalb der buy.tpl box auskommentieren.

---

<div class="post-metadata">

**Author:** ![stefandpunkt](https://avatars.discourse-cdn.com/v4/letter/s/c89c15/32.png) [@stefandpunkt](https://forum.shopware.com/u/stefandpunkt)\
**Post date:** [27. April 2016 um 07:00 UTC](https://forum.shopware.com/t/varianten-artikelnummer-im-produkttitle/36164/3 "2016-04-27T07:00:20Z")

</div>

```
 Hallo zusammen, vielen Dank für die unsagbar, vielen Antworten. Eine Lösung: 

$.subscribe('plugin/swAjaxVariant/onRequestData',
  function () {
    ordernumber = $.trim($(".entry--sku").find(".entry--content").text());
    $("h1").text(ordernumber);
    $(".content--title").text(ordernumber);
});

 Dank an Rafael ([MBDealer](http://forum.shopware.com/profile/1182/MBDealer))!
```
