it’s good I treated my data differently depending on whether it was a search design or if it was my design.
Thank you for your help (again)
hey while i’m wondering i would like to create products or articles on my site.
I thought I could use the tablomat / sketomat for the creation, I did it it works well but my problem is that it creates products and on the products there is no price. So the tablomat / sketomat during the creation gives me a price, but if a day this price is change I would not be because on the API the products are not expensive.
Do you know if it is possible to know the price of a product from the API?
or
Do you know if we can create articles from the tablomat / sketomat, because I cross that the articles have a price on the API?
it has nothing to do but you know what is the number in the hooks ** [5] **?
‘tag’ =>
object(SimpleXMLElement)[5]
public 0 => string ‘annonce,bientot,bientôt,bébé,cadeau,depuis,enceinte,famille,frère,frères et sœurs,futur,future,grossese,grossesse,idee,idée,naissance,petit frère’ (length=153)
If you create a product, then you should be able to retrieve all necessary data from the api like (incl. price): https://api.spreadshirt.net/api/v1/shops/SHOP-ID/articles/ARTICLE-ID?locale=fr_FR&fullData=true
or from your User https://api.spreadshirt.net/api/v1/users/8568956/articles/ARTICLE-ID?locale=fr_FR&fullData=true
But I’m not 100% sure if the articles which were created using tablomat/sketchomat are in shops.
Otherwise you could create the product with api without tablomat/sketchomat, but this depends on your use case.
the tablomat creates products in my shop automatically and return the link of the product created, I almost managed to recover all the prices (yes because it is necessary to fetch the price of the design, the price of the printing and the price of the tshirt ) and additions, so it’s complicated.
I managed to identify 6 model 103, 260, 85, 290, 218, 212, but the problem is that I do not know in some colors it is available every time, I wonder if you do not know the link api of “modelId”?