Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter sg88

    (@sg88)

    Nevermind I found it. ??
    But when I add the shortcode to a page it just shows me:

    No articles in Shop. Please rebuild cache.

    When I hit the rebuild cache button in the backend, the console throws an error:

    options-general.php?page=splg_options:1291 Got following error message: <br />
    <b>Notice</b>:  Undefined property: stdClass::$articles in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1877</b><br />
    <br />
    <b>Warning</b>:  Invalid argument supplied for foreach() in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1877</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$page in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1882</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$page in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1883</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$numberOfPages in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1883</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$numberOfPages in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1883</b><br />
    [{"id":"10661","title":"Spreadshop","items":[]}]

    And at the top of the page I get the following message.

    Reading pages. Please wait…

    Getlist not performed error 'SyntaxError: Unexpected token < in JSON at position 0 (200)'. Please check the browser console for more informations.

    • This reply was modified 2 years, 9 months ago by sg88.
    Thread Starter sg88

    (@sg88)

    Also i am getting a lot of notices in the WP Log when hitting rebuild cache.

    [25-May-2022 09:05:23 UTC] PHP Notice Undefined index: shop_api in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/options.php on line 71
    
    [25-May-2022 09:05:23 UTC] PHP Notice Undefined index: shop_secret in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/options.php on line 77
    
    [25-May-2022 09:05:35 UTC] PHP Notice Undefined property: stdClass::$articles in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php on line 1877
    
    [25-May-2022 09:05:35 UTC] PHP Warning Invalid argument supplied for foreach() in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php on line 1877
    
    [25-May-2022 09:05:35 UTC] PHP Notice Undefined property: stdClass::$page in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php on line 1882
    
    [25-May-2022 09:05:35 UTC] PHP Notice Undefined property: stdClass::$page in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php on line 1883
    
    [25-May-2022 09:05:35 UTC] PHP Notice Undefined property: stdClass::$numberOfPages in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php on line 1883
    
    [25-May-2022 09:05:35 UTC] PHP Notice Undefined property: stdClass::$numberOfPages in /var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php on line 1883
    • This reply was modified 2 years, 9 months ago by sg88.
    Thread Starter sg88

    (@sg88)

    After debugging spreadplugin.php:1874, I figured out that the request returns:

    [25-May-2022 09:12:19 UTC] stdClass Object ( [message] => Shop [124829415] not found ).

    Which is even more weird since this is my “Spread-ID” and the other ID “wiesbaden-phantoms” is not accepted by the form itself.

    Next thing I did was to manually overwrite the API Url:

    $apiUrl = 'https://wiesbaden-phantoms.myspreadshop.' . self::$shopOptions['shop_source'] . '/wiesbaden-phantoms/shopData/list?size=&color=&collection=' . $topic . (!empty($idea) ? '&idea=' . $idea : '') . '&page=' . $page . '&query=' . $queryString . '&locale=' . (empty(self::$shopOptions['shop_language']) ? get_locale() : self::$shopOptions['shop_language']);

    Which now still leads into an error … I will keep on debugging.

    Thread Starter sg88

    (@sg88)

    I have now removed the class “only-digit” from the “shop_id” field which allowed me to store “wiesbaden-phantoms” into it.

    However, I am still facing and error during the cache rebuild:

    Getlist not performed error 'SyntaxError: Unexpected token < in JSON at position 0 (200)'. Please check the browser console for more informations.

    Got following error message: <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$sellableId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1137</b><br />
    <br />
    <b>Notice</b>:  Undefined property: stdClass::$ideaId in <b>/var/www/virtual/wpwwwdev/html/wp-content/plugins/wp-spreadplugin/spreadplugin.php</b> on line <b>1138</b><br />
    [{"id":"10661","title":"Spreadshop","items":[{"articleid":"61e67ca7912cf40bc55e7695","producttypeid":"813","appearanceid":"231","viewid":"1","productid":"T813A231PA3803PT17X55Y34D302300369FS3315","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T813A231PA3803PT17X55Y34D302300369FS3315\/views\/1,width=500,height=500,appearanceId=231,backgroundColor=ffffff,crop=list,modelId=266\/wp-player-mom-frauen-premium-t-shirt.jpg","articlename":"WP Player Mom - Frauen Premium T-Shirt","sellableid":null,"ideaid":null,"place":0},{"articleid":"61e67ca7912cf40bc55e7694","producttypeid":"20","appearanceid":"648","viewid":"1","productid":"T20A648PA5098PT17X84Y39D302300183FS3363","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T20A648PA5098PT17X84Y39D302300183FS3363\/views\/1,width=500,height=500,appearanceId=648,backgroundColor=ffffff,crop=list,modelId=37\/wp-player-dad-maenner-premium-hoodie.jpg","articlename":"WP Player Dad - M\u00e4nner Premium Hoodie","sellableid":null,"ideaid":null,"place":1},{"articleid":"61d2e074ef588c75879f7227","producttypeid":"814","appearanceid":"645","viewid":"1","productid":"T814A645PA3795PT17X16Y8D301772673FS1576","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T814A645PA3795PT17X16Y8D301772673FS1576\/views\/1,width=500,height=500,appearanceId=645,backgroundColor=ffffff,crop=list,modelId=566\/nothingisgiven-motto-2022-dark-kinder-premium-t-shirt.jpg","articlename":"#nothingisgiven Motto 2022 Dark - Kinder Premium T-Shirt","sellableid":null,"ideaid":null,"place":2},{"articleid":"61d2e0756bd311597a96a32e","producttypeid":"814","appearanceid":"648","viewid":"1","productid":"T814A648PA3795PT17X23Y14D301772675FS1392","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T814A648PA3795PT17X23Y14D301772675FS1392\/views\/1,width=500,height=500,appearanceId=648,backgroundColor=ffffff,crop=list,modelId=566\/nothingisgiven-motto-2022-kinder-premium-t-shirt.jpg","articlename":"#nothingisgiven Motto 2022 - Kinder Premium T-Shirt","sellableid":null,"ideaid":null,"place":3},{"articleid":"61d2e075a97a886f5a0fe366","producttypeid":"812","appearanceid":"39","viewid":"1","productid":"T812A39PA3811PT17X51Y54D301772760FS2469","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T812A39PA3811PT17X51Y54D301772760FS2469\/views\/1,width=500,height=500,appearanceId=39,backgroundColor=ffffff,crop=list,modelId=85\/oldschool-design-navy-maenner-premium-t-shirt.jpg","articlename":"Oldschool Design Navy - M\u00e4nner Premium T-Shirt","sellableid":null,"ideaid":null,"place":4},{"articleid":"61d2e075ef588c75879f72e5","producttypeid":"1155","appearanceid":"737","viewid":"1","productid":"T1155A737PA2483PT17X1Y15D301772633FS2499","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A737PA2483PT17X1Y15D301772633FS2499\/views\/1,width=500,height=500,appearanceId=737,backgroundColor=ffffff\/oldschool-design-gold-turnbeutel.jpg","articlename":"Oldschool Design Gold - Turnbeutel","sellableid":null,"ideaid":null,"place":5},{"articleid":"61d2e075a97a886f5a0fe368","producttypeid":"814","appearanceid":"645","viewid":"1","productid":"T814A645PA3795PT17X25Y8D301772676FS1199","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T814A645PA3795PT17X25Y8D301772676FS1199\/views\/1,width=500,height=500,appearanceId=645,backgroundColor=ffffff,crop=list,modelId=566\/oldschool-design-kinder-premium-t-shirt.jpg","articlename":"Oldschool Design - Kinder Premium T-Shirt","sellableid":null,"ideaid":null,"place":6},{"articleid":"61d2e0756bd311597a96a314","producttypeid":"20","appearanceid":"251","viewid":"1","productid":"T20A251PA5098PT17X79Y42D301772583FS2506","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T20A251PA5098PT17X79Y42D301772583FS2506\/views\/1,width=500,height=500,appearanceId=251,backgroundColor=ffffff,crop=list,modelId=37\/proud-member-of-the-family-maenner-premium-hoodie.jpg","articlename":"Proud Member of the Family - M\u00e4nner Premium Hoodie","sellableid":null,"ideaid":null,"place":7},{"articleid":"61e67ca7912cf40bc55e7695","producttypeid":"1155","appearanceid":"2","viewid":"1","productid":"T1155A2PA2483PT17X40Y19D302300369FS3375","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A2PA2483PT17X40Y19D302300369FS3375\/views\/1,width=500,height=500,appearanceId=2,backgroundColor=ffffff\/wp-player-mom-turnbeutel.jpg","articlename":"WP Player Mom - Turnbeutel","sellableid":null,"ideaid":null,"place":8},{"articleid":"61e67ca7912cf40bc55e7694","producttypeid":"141","appearanceid":"4","viewid":"1","productid":"T141A4PA3623PT17X28Y17D302300183FS3647","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T141A4PA3623PT17X28Y17D302300183FS3647\/views\/1,width=500,height=500,appearanceId=4,backgroundColor=ffffff\/wp-player-dad-kochschuerze.jpg","articlename":"WP Player Dad - Kochsch\u00fcrze","sellableid":null,"ideaid":null,"place":9},{"articleid":"61d2e074ef588c75879f7227","producttypeid":"20","appearanceid":"251","viewid":"1","productid":"T20A251PA5098PT17X48Y48D301772673FS2855","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T20A251PA5098PT17X48Y48D301772673FS2855\/views\/1,width=500,height=500,appearanceId=251,backgroundColor=ffffff,crop=list,modelId=37\/nothingisgiven-motto-2022-dark-maenner-premium-hoodie.jpg","articlename":"#nothingisgiven Motto 2022 Dark - M\u00e4nner Premium Hoodie","sellableid":null,"ideaid":null,"place":10},{"articleid":"61d2e0756bd311597a96a32e","producttypeid":"812","appearanceid":"231","viewid":"1","productid":"T812A231PA3811PT17X51Y60D301772675FS2810","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T812A231PA3811PT17X51Y60D301772675FS2810\/views\/1,width=500,height=500,appearanceId=231,backgroundColor=ffffff,crop=list,modelId=85\/nothingisgiven-motto-2022-maenner-premium-t-shirt.jpg","articlename":"#nothingisgiven Motto 2022 - M\u00e4nner Premium T-Shirt","sellableid":null,"ideaid":null,"place":11},{"articleid":"61d2e075a97a886f5a0fe366","producttypeid":"1155","appearanceid":"737","viewid":"1","productid":"T1155A737PA2483PT17X1Y15D301772760FS2499","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A737PA2483PT17X1Y15D301772760FS2499\/views\/1,width=500,height=500,appearanceId=737,backgroundColor=ffffff\/oldschool-design-navy-turnbeutel.jpg","articlename":"Oldschool Design Navy - Turnbeutel","sellableid":null,"ideaid":null,"place":12},{"articleid":"61d2e075ef588c75879f72e5","producttypeid":"20","appearanceid":"647","viewid":"1","productid":"T20A647PA5098PT17X48Y13D301772633FS2499","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T20A647PA5098PT17X48Y13D301772633FS2499\/views\/1,width=500,height=500,appearanceId=647,backgroundColor=ffffff,crop=list,modelId=37\/oldschool-design-gold-maenner-premium-hoodie.jpg","articlename":"Oldschool Design Gold - M\u00e4nner Premium Hoodie","sellableid":null,"ideaid":null,"place":13},{"articleid":"61d2e075a97a886f5a0fe368","producttypeid":"813","appearanceid":"645","viewid":"1","productid":"T813A645PA3803PT17X41Y42D301772676FS1959","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T813A645PA3803PT17X41Y42D301772676FS1959\/views\/1,width=500,height=500,appearanceId=645,backgroundColor=ffffff,crop=list,modelId=266\/oldschool-design-frauen-premium-t-shirt.jpg","articlename":"Oldschool Design - Frauen Premium T-Shirt","sellableid":null,"ideaid":null,"place":14},{"articleid":"61d2e0756bd311597a96a314","producttypeid":"1155","appearanceid":"737","viewid":"1","productid":"T1155A737PA2483PT17X35Y37D301772583FS2679","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A737PA2483PT17X35Y37D301772583FS2679\/views\/1,width=500,height=500,appearanceId=737,backgroundColor=ffffff\/proud-member-of-the-family-turnbeutel.jpg","articlename":"Proud Member of the Family - Turnbeutel","sellableid":null,"ideaid":null,"place":15},{"articleid":"61e67ca7912cf40bc55e7695","producttypeid":"444","appearanceid":"22","viewid":"1","productid":"T444A22PA5060PT17X60Y13D302300369FS3336","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T444A22PA5060PT17X60Y13D302300369FS3336\/views\/1,width=500,height=500,appearanceId=22,backgroundColor=ffffff,crop=list,modelId=2354\/wp-player-mom-frauen-premium-hoodie.jpg","articlename":"WP Player Mom - Frauen Premium Hoodie","sellableid":null,"ideaid":null,"place":16},{"articleid":"61e67ca7912cf40bc55e7694","producttypeid":"1007","appearanceid":"582","viewid":"1","productid":"T1007A582PA4345PT17X74Y31D302300183FS3269","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1007A582PA4345PT17X74Y31D302300183FS3269\/views\/1,width=500,height=500,appearanceId=582,backgroundColor=ffffff\/wp-player-dad-kontrast-hoodie.jpg","articlename":"WP Player Dad - Kontrast-Hoodie","sellableid":null,"ideaid":null,"place":17},{"articleid":"61d2e074ef588c75879f7227","producttypeid":"813","appearanceid":"803","viewid":"1","productid":"T813A803PA3803PT17X40Y30D301772673FS2273","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T813A803PA3803PT17X40Y30D301772673FS2273\/views\/1,width=500,height=500,appearanceId=803,backgroundColor=ffffff,crop=list,modelId=2456\/nothingisgiven-motto-2022-dark-frauen-premium-t-shirt.jpg","articlename":"#nothingisgiven Motto 2022 Dark - Frauen Premium T-Shirt","sellableid":null,"ideaid":null,"place":18},{"articleid":"61d2e0756bd311597a96a32e","producttypeid":"1155","appearanceid":"737","viewid":"1","productid":"T1155A737PA2483PT17X1Y80D301772675FS2855","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A737PA2483PT17X1Y80D301772675FS2855\/views\/1,width=500,height=500,appearanceId=737,backgroundColor=ffffff\/nothingisgiven-motto-2022-turnbeutel.jpg","articlename":"#nothingisgiven Motto 2022 - Turnbeutel","sellableid":null,"ideaid":null,"place":19},{"articleid":"61d2e075a97a886f5a0fe366","producttypeid":"813","appearanceid":"436","viewid":"1","productid":"T813A436PA3803PT17X40Y41D301772760FS1968","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T813A436PA3803PT17X40Y41D301772760FS1968\/views\/1,width=500,height=500,appearanceId=436,backgroundColor=ffffff,crop=list,modelId=260\/oldschool-design-navy-frauen-premium-t-shirt.jpg","articlename":"Oldschool Design Navy - Frauen Premium T-Shirt","sellableid":null,"ideaid":null,"place":20},{"articleid":"61d2e075ef588c75879f72e5","producttypeid":"814","appearanceid":"645","viewid":"1","productid":"T814A645PA3795PT17X25Y1D301772633FS1199","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T814A645PA3795PT17X25Y1D301772633FS1199\/views\/1,width=500,height=500,appearanceId=645,backgroundColor=ffffff,crop=list,modelId=566\/oldschool-design-gold-kinder-premium-t-shirt.jpg","articlename":"Oldschool Design Gold - Kinder Premium T-Shirt","sellableid":null,"ideaid":null,"place":21},{"articleid":"61d2e075a97a886f5a0fe368","producttypeid":"1155","appearanceid":"737","viewid":"1","productid":"T1155A737PA2483PT17X1Y29D301772676FS2499","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A737PA2483PT17X1Y29D301772676FS2499\/views\/1,width=500,height=500,appearanceId=737,backgroundColor=ffffff\/oldschool-design-turnbeutel.jpg","articlename":"Oldschool Design - Turnbeutel","sellableid":null,"ideaid":null,"place":22},{"articleid":"61d2e0756bd311597a96a314","producttypeid":"814","appearanceid":"2","viewid":"1","productid":"T814A2PA3795PT17X33Y15D301772583FS1385","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T814A2PA3795PT17X33Y15D301772583FS1385\/views\/1,width=500,height=500,appearanceId=2,backgroundColor=ffffff,crop=list,modelId=566\/proud-member-of-the-family-kinder-premium-t-shirt.jpg","articlename":"Proud Member of the Family - Kinder Premium T-Shirt","sellableid":null,"ideaid":null,"place":23},{"articleid":"61e67ca7912cf40bc55e7695","producttypeid":"943","appearanceid":"557","viewid":"1","productid":"T943A557PA3767PT17X60Y43D302300369FS3336","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T943A557PA3767PT17X60Y43D302300369FS3336\/views\/1,width=500,height=500,appearanceId=557,backgroundColor=ffffff,crop=list,modelId=2282\/wp-player-mom-frauen-t-shirt-mit-gerollten-aermeln.jpg","articlename":"WP Player Mom - Frauen T-Shirt mit gerollten \u00c4rmeln","sellableid":null,"ideaid":null,"place":24},{"articleid":"61e67ca7912cf40bc55e7694","producttypeid":"1155","appearanceid":"737","viewid":"1","productid":"T1155A737PA2483PT17X36Y6D302300183FS3401","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A737PA2483PT17X36Y6D302300183FS3401\/views\/1,width=500,height=500,appearanceId=737,backgroundColor=ffffff\/wp-player-dad-turnbeutel.jpg","articlename":"WP Player Dad - Turnbeutel","sellableid":null,"ideaid":null,"place":25},{"articleid":"61d2e074ef588c75879f7227","producttypeid":"1155","appearanceid":"737","viewid":"1","productid":"T1155A737PA2483PT17X1Y30D301772673FS2855","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T1155A737PA2483PT17X1Y30D301772673FS2855\/views\/1,width=500,height=500,appearanceId=737,backgroundColor=ffffff\/nothingisgiven-motto-2022-dark-turnbeutel.jpg","articlename":"#nothingisgiven Motto 2022 Dark - Turnbeutel","sellableid":null,"ideaid":null,"place":26},{"articleid":"61d2e0756bd311597a96a32e","producttypeid":"813","appearanceid":"803","viewid":"1","productid":"T813A803PA3803PT17X40Y62D301772675FS2273","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T813A803PA3803PT17X40Y62D301772675FS2273\/views\/1,width=500,height=500,appearanceId=803,backgroundColor=ffffff,crop=list,modelId=260\/nothingisgiven-motto-2022-frauen-premium-t-shirt.jpg","articlename":"#nothingisgiven Motto 2022 - Frauen Premium T-Shirt","sellableid":null,"ideaid":null,"place":27},{"articleid":"61d2e075a97a886f5a0fe366","producttypeid":"814","appearanceid":"39","viewid":"1","productid":"T814A39PA3795PT17X16Y4D301772760FS1369","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T814A39PA3795PT17X16Y4D301772760FS1369\/views\/1,width=500,height=500,appearanceId=39,backgroundColor=ffffff,crop=list,modelId=566\/oldschool-design-navy-kinder-premium-t-shirt.jpg","articlename":"Oldschool Design Navy - Kinder Premium T-Shirt","sellableid":null,"ideaid":null,"place":28},{"articleid":"61d2e075ef588c75879f72e5","producttypeid":"813","appearanceid":"645","viewid":"1","productid":"T813A645PA3803PT17X41Y31D301772633FS1959","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T813A645PA3803PT17X41Y31D301772633FS1959\/views\/1,width=500,height=500,appearanceId=645,backgroundColor=ffffff,crop=list,modelId=2456\/oldschool-design-gold-frauen-premium-t-shirt.jpg","articlename":"Oldschool Design Gold - Frauen Premium T-Shirt","sellableid":null,"ideaid":null,"place":29},{"articleid":"61d2e075a97a886f5a0fe368","producttypeid":"20","appearanceid":"251","viewid":"1","productid":"T20A251PA5098PT17X48Y13D301772676FS2499","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T20A251PA5098PT17X48Y13D301772676FS2499\/views\/1,width=500,height=500,appearanceId=251,backgroundColor=ffffff,crop=list,modelId=37\/oldschool-design-maenner-premium-hoodie.jpg","articlename":"Oldschool Design - M\u00e4nner Premium Hoodie","sellableid":null,"ideaid":null,"place":30},{"articleid":"61d2e0756bd311597a96a314","producttypeid":"813","appearanceid":"231","viewid":"1","productid":"T813A231PA3803PT17X55Y38D301772583FS2252","previewimage":"https:\/\/image.spreadshirtmedia.net\/image-server\/v1\/products\/T813A231PA3803PT17X55Y38D301772583FS2252\/views\/1,width=500,height=500,appearanceId=231,backgroundColor=ffffff,crop=list,modelId=2456\/proud-member-of-the-family-frauen-premium-t-shirt.jpg","articlename":"Proud Member of the Family - Frauen Premium T-Shirt","sellableid":null,"ideaid":null,"place":31}]}]

    I think I would require some support with that ??

    • This reply was modified 2 years, 9 months ago by sg88.
    Thread Starter sg88

    (@sg88)

    Got it !

    So what I ended up with is to remove the “only-digit” class from the “Shop ID” field within the options.php which allowed me to store my “real” shop id within the field which is “wiesbaden-phantoms”.

    Next thing I did was to ensure that if not data is set for an article, it uses an empty value, if this is not done, the requests runs into an error. So e.g. (spreadplugin.php):

    L1137-1138:

    'sellableid' => $article->sellableId ?? '',
    'ideaid' => $article->ideaId ?? '',

    L1928: $articleData['description'] = $article->designDescription ?? '';

    and so on.

    • This reply was modified 2 years, 9 months ago by sg88.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ID ?’ is closed to new replies.