Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    did you replace —myID— to post here?

    Thread Starter christopheu

    (@christopheu)

    Yes

    Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    Hi,

    oh wait, you’re using “english (us)” language and a european Spreadshirt shop, please change language/country to “english (gb)”

    Best
    Thimo

    Thread Starter christopheu

    (@christopheu)

    Hi,

    Spreadshirtshop was setup in “us” and $.
    So I changed following Plugin settings…
    Shop language: us
    and Shop source:US/Canada/…

    I updated and rebuilt cache.
    I even changed all time, local,… in WP settings to US.
    updated, rebuilt.

    failed…
    I got: Getlist not performed error ‘SyntaxError: JSON.parse: unexpected keyword at line 1 column 1 of the JSON data (200)’. Please check the browser console for more informations.
    locale seems fine as:
    try url https://api.spreadshirt.com/api/v1/shops/—ID—/productTypeDepartments?fullData=true&noCache=true&locale=us_US ,… no second try… ??
    some progress it seems?
    Frontend is still the same.

    Thanks alot for your help ??

    C.

    Thread Starter christopheu

    (@christopheu)

    You have some more tips?

    Thread Starter christopheu

    (@christopheu)

    … I tried also what you said then I get the error described in the beginning.
    If I put everything to US in the frontend I get:
    Stored Article Data RAW (0):
    Stored Design Data RAW (0):
    Array ( [1007835270] => Array ( [name] => Flag – 2048.png [description] => null [appearance] => 0 [type] => 0 [productId] => 0 [pricenet] => 3 [pricebrut] => 3 [resource0] => //image.spreadshirtmedia.com/image-server/v1/designs/1007835270 [resource2] => //image.spreadshirtmedia.com/image-server/v1/designs/1007835270 [weight] => -0 [place] => 0 [designid] => 1007835270 ) ) With Design (1):
    Array ( )
    No articles in Shop. Please rebuild cache.

    in the backend I get:
    Getlist not performed error ‘SyntaxError: JSON.parse: unexpected keyword at line 1 column 1 of the JSON data (200)’. Please check the browser console for more informations.

    as always I updated and built cache again…
    … any idea?

    Thanks,

    Christoph

    Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    try “Shop Language” -> “WordPress installation language (default)”

    Plugin Author Thimo Grauerholz

    (@pr3ss-play)

    please disable debug mode and try again. Did you already create products and are in Article view, not designs?

    Thread Starter christopheu

    (@christopheu)

    yes there where articles.

    following worked now!
    plugin settings:
    —————-
    Shop source: US
    Shop language: US
    Sleep timer: 2

    WP settings:
    ————
    WP installed laguage: US

    at spreadshirt:
    —————
    language locale: US

    … they had to be all aligned,… crazy!! Maybe it should be said that you can not change the locale at spreadshirt once you created it…

    Thanks,

    C.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘No articles in shop’ is closed to new replies.