Revision 06c3b0aa
Von Werner Hahn vor mehr als 7 Jahren hinzugefügt
SL/ShopConnector/Shopware.pm | ||
---|---|---|
385 | 385 |
my ($self,$partnumber) = @_; |
386 | 386 |
|
387 | 387 |
my $url = $self->url; |
388 |
my $partnumber = $::form->escape($partnumber);#shopware don't accept / in articlenumber
|
|
388 |
$partnumber = $::form->escape($partnumber);#shopware don't accept / in articlenumber |
|
389 | 389 |
my $data = $self->connector->get("http://$url/api/articles/$partnumber?useNumberAsId=true"); |
390 | 390 |
my $data_json = $data->content; |
391 | 391 |
return SL::JSON::decode_json($data_json); |
Auch abrufbar als: Unified diff
Shopmodul: compilefehler wg WARNING behoben