May 17, 2017
Hello, I have a page on witch i want to merge all the product from a linklist For now i have this : {% for link in linklists[page.handle].links %}{% assign collection = collections[link....
Feb 8, 2017
Hello, I want to display the product variant SKU on my product page. How can i make it change (like the price and stock) when someone click on the variant size/color button ? Thank you <span class="lia-unicode-emoji" title=":slightly_smiling_face:">🙂</span>
Jan 4, 2017
Hello, I try to add some product variant with the api. But when i add some variant option like color with the [option1] value it always set the name of the column "Title". How can i change t...
Dec 29, 2016
Hello, I'm a newbie in liquid langage and i wonder how can i use a variable here : {{ linklists.MyVariable.title }} I think it should be very easy but i don't find the correct syntax <span class="lia-unicode-emoji" title=":confused_face:">😕</span> T...
Dec 22, 2016
Hello I was looking at the API document at http://docs.shopify.com/api/product for a way to filter products with tags, but it doesn't says to be any way. Any solution ? Also ...
Dec 12, 2016
Hello, I'm stuck for a while now on a basic problem. I can't manage to login with php using curl to use the api. Here is my code that return an invalid api key or access token : $apiKey...
Nov 4, 2016
Hello, I need to import / update some product via the api of shopify. But after reading the doc i'm completly lost. Is there a good soul around here to send me an exemple of a working produc...
No content to show
User Activity
02-08-2017
Hello Hunky,
I try with json but i don't know how to read it when i'm in my liquid file
Here was the json sample i used :
{"stock_global":[{"sku":"sku1","stock":["1","2","3"]},{"sku":"sku2","stock":["4","5","6"]},{"sku":"sku3","stock":["7","8"]}...
02-07-2017
Thank you Hunkybill i'm about to find a way. It's not really easy to read
(39101 s-1;2;3;4;8;10!39102 m-1;2;3;4;8;10)
but it'll work
02-06-2017
The metafield that i want to update is the stock of our shop so i can't add it to the product level because i have the size and color as variant.
Is it possible to store an array as a variant's metafield ?
02-06-2017
Thank you Trey.
I do it like you say but i have ~8000 products and 6 metafield field that i want to update that way.
The only problem is that it take really a long long time to update all the metafields
02-01-2017
Is there a way to update a variant metafield without having the ID of the metafield ?
01-31-2017
No i was using a PUT.
Here is the full code :
define ('BASE_URL' , "https://".$apiKey .":". $pwd ."@vivafiesta.myshopify.com/admin/");
$id_produit ="9805174148";
$id_variant = "34120177732";
$products_array = array(
"vari...
01-30-2017
Hello HunkyBill,
I just try to create a new metafield with the same namespace / key but i have this error :
[errors] => Array
(
[metafields.key] => Array
(
[0] => must be unique within th...
01-29-2017
I'm still looking for the answer, if anyone got it
01-14-2017
Thank you for your fast answer.
I'm sorry for the missing part, i'm using PHP.
I check the doc, it talk about "Update a product metafield" but not a variant of a product.
01-13-2017
Hello,
Someone have some piece of code to update metafield of a product's variant ?
I don't find any solution for this.
Thank you