LeadDynoMike commented on Associate web session to webhook
It actually does matter to me. My app records data about a user when they first land on the site (even before adding the first item to the cart) and I need to associate that all the way through to...
View ArticleChris Saunders commented on Associate web session to webhook
You are going to need to figure out a way pass some kind of information off to your own server then. We don't provide anything useful in the session, nor in the webhooks.If you want to be able to get...
View ArticleHunkyBill commented on Associate web session to webhook
... and don't forget to remove the hidden item you added to the cart, to generate the cart token, because checkout does not go so well with hidden items in the cart :)
View ArticleChris Saunders commented on Associate web session to webhook
Indeed! I meant to say that :P
View ArticleJSONP Request not wrapped on responce? by Jacob Cohen
Hey,I need a product list on a remote site, so I try to pull the myshopify/admin/product.json$.ajax({ type: "GET", url: "https://key:pass@store.myshopify.com/admin/products.json",...
View ArticleChris Saunders commented on JSONP Request not wrapped on responce?
JSONP isn't supported for admin actions.You'll need to use the storefront API, which may or may not support JSONP. Not entirely sure about that one.
View ArticleJacob Cohen commented on JSONP Request not wrapped on responce?
ah, myshopify.com/products.jsonis there a storefront api list? everything i have found is about the cart. would be useful.yeah, you need jsonp for any remote storefront GETThanks!
View ArticleHunkyBill commented on JSONP Request not wrapped on responce?
That was solved long ago... http://ecommerce.shopify.com/c/shopify-discussion/t/get-products-and-collections-from-a-different-domain-via-ajax-64902#comment-105376Use $.getJSON if you're using jQuery as...
View ArticleAccess product system metafields in liquid? by Allan Gourdie
How do I access the built in product metafields e.g. gender, age group.I've tried {{ product.metafields.gender }} etc but that doesn't work. I've seen other posts discussing custom metafields and...
View ArticleLeadDynoMike commented on Should my newly created Script Tag show up in my...
I just ran into this. Your script is http but you are viewing the store via https://.... URL. It appears their script tag injector is smart enough to only put in https-based scripts when you are...
View ArticleHunkyBill commented on Access product system metafields in liquid?
Here is the list of fields and their namespaces. MPN - global UPC - global ISBN - global JAN - global EAN - global age_group - google gender - google google_product_type - google so you'd try...
View ArticleAllan Gourdie commented on Access product system metafields in liquid?
Thanks, you are a life saver. I am now using product.metafields.google.age_group etc
View ArticlePHP/JSON/AJAX Login for my Shopify by emanpet
Hi guys,thanks for your support.I created a store that has had a lot of members recently.I'm developing an app for it, that will run in iOS with web standards (HTML5, JS, AJAX, PHP ...).I've got...
View ArticleChris Saunders commented on PHP/JSON/AJAX Login for my Shopify
Are you trying to use the Shopify User Accounts? You aren't going to be able to use that functionality because your approach would me we'd have to store our users passwords in plain text and that would...
View ArticleJason commented on PHP/JSON/AJAX Login for my Shopify
What do you need help with? Looking at the code it's far too incomplete to know. Take note that there's some pretty giant security flaws in that chunk of code so I hope that's not the basis for the...
View Articleemanpet commented on PHP/JSON/AJAX Login for my Shopify
Thanks for your replies. The code is just to illustrate what I need to get back from the server. I will do it in a secure way, don't worry. I need to know if there's a php file or anything else...
View ArticleUsing application variables in templates? by development shop
Hi,I just wonder that how can i use app variables in my own templates. I did some search but could not see any result related this.
View ArticleChris Saunders commented on Using application variables in templates?
The liquid environment is pretty controlled, so you can't inject anything into liquid before the templates are rendered. If you wanted, you could add ids or classes to the various parts you want to...
View ArticleChris Saunders commented on PHP/JSON/AJAX Login for my Shopify
I need to know if there's a php file or anything else somewhere that takes a token, shop url and login data and returns maybe the account id or even just "correct login".Unfortunately there isn't.The...
View Articledevelopment shop commented on Using application variables in templates?
I see. However, when i install this app: http://apps.shopify.com/product-customizer i see that some snippets are included to my theme and in those snippets some extra variables like...
View Article