From: freiphone Date: Sun, 18 Nov 2018 22:57:03 +0000 (+0100) Subject: Neu angelegte Artikel in Shopware aktivieren. X-Git-Tag: release-3.5.4~217^2 X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/commitdiff_plain/6660259a9e3f781210b3eedb933c55da27116c0b?ds=inline;hp=-c Neu angelegte Artikel in Shopware aktivieren. Scheint seit Shopware 5.2 notwendig zu sein, damit der Artikel im Frontend erscheint. s. https://forum.shopware.com/discussion/39006/artikel-nach-import-ueber-rest-api-im-frontend-nicht-sichtbar --- 6660259a9e3f781210b3eedb933c55da27116c0b diff --git a/SL/ShopConnector/Shopware.pm b/SL/ShopConnector/Shopware.pm index f47ff0c57..fdfd14126 100644 --- a/SL/ShopConnector/Shopware.pm +++ b/SL/ShopConnector/Shopware.pm @@ -276,6 +276,7 @@ sub update_part { customerGroupKey => 'EK', }, ], + active => $shop_part->active, #attribute => { attr1 => $cvars->{CVARNAME}->{value}, } , #HowTo handle attributes }, supplier => 'AR', # Is needed by shopware,