Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Browsing all 25503 articles
Browse latest View live

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 Article


Chris 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 Article


HunkyBill 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 Article

Chris Saunders commented on Associate web session to webhook

Indeed! I meant to say that :P

View Article

JSONP 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 Article


Chris 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 Article

Jacob 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 Article

HunkyBill 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 Article


Access 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 Article


LeadDynoMike 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 Article

HunkyBill 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 Article

Allan 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 Article

PHP/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 Article


Chris 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 Article

Jason 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 Article


emanpet 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 Article

Using 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 Article


Chris 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 Article

Chris 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 Article

development 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
Browsing all 25503 articles
Browse latest View live