skip to Main Content

shopify_auth multi store session handling

I am using Django with the shopify_auth package to connect with Shopify. Does anyone have any examples of how to handle multi store sessions/connections? So far, I am thinking of modifying shopify_auth's @login_required decorator with the following, but am unsure…

VIEW QUESTION

php How to use values from json_decode array? – Shopify

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "GET"); curl_setopt($ch,CURLOPT_RETURNTRANSFER,TRUE); curl_setopt($ch, CURLOPT_HTTPHEADER, array("Content-Type: application/json", "X-Shopify-Access-Token: $token")); $translation_json = curl_exec($ch); $translation_decoded= json_decode($translation_json, true); The result is: Array ( [asset] => Array ( [key] => locales/en.default.json [public_url] => [value] => { "general": { "accessibility": { "skip_to_content": "Skip to…

VIEW QUESTION

Shopify check if Metafield exists?

I'm looking to hide content if the metafields are empty for a product, but right now it's returning it for all pages which means my if statement is broken somewhere. Product Page {% if product.metafields.review %} {% include 'extra-review' %}…

VIEW QUESTION
Back To Top
Search