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

James MacAulay commented on Address Validation on Orders created from API

Sorry, I understand why you'd want to do this but it isn't possible since Shopify's code relies on those validations holding true. You'll have to find some way of making the data valid, and then if you...

View Article


[BUG] The modals disappear by Volkan Unsal

I have been trying to use the modals in my app, and they are strangely not working. They haven't been working for several days, even outside of my app. I have been seeing this problem on admin pages...

View Article


Intergrating store with web analytic tool by Raw soft

Hi Folks,I'm integrating my store with web analytic tool. I put the following code under product.liquid file to track an event when someone view my product.<script type="text/javascript">  var...

View Article

Ruofan Xu commented on create a discount code though shopify api

Do you have any plan to develop a discount api?

View Article

jholl commented on Intergrating store with web analytic tool

is PID supposed to be the product title, such as "This is my Product" or is it supposed to be the ID like 76542854 ?  It could be an issue that the js doesn't understand that the variable is supposed...

View Article


Andrew commented on Address Validation on Orders created from API

That makes sense, however the trouble I am having is in having with getting a matching list of provinces and countries to Shopify's for valid addresses.I cannot get a complete list from Shopify due to...

View Article

Raw soft commented on Intergrating store with web analytic tool

Yeah Jholl. PID is actually title of the product say testProduct.I tried below method but it does not work:var PID = String( {{product.title}} );Please check again.

View Article

Image may be NSFW.
Clik here to view.

Raw soft commented on Intergrating store with web analytic tool

I just debugged the JavaScript and product.title is actually grabbing the product title but then gives reference error.Attach is the screen shot. I tried different ways but same reference error.

View Article


jholl commented on Intergrating store with web analytic tool

js be smart.  try this, with quotes around {{ product.title }}<script type="text/javascript"> var PID = "{{product.title}}"; _fxm.events.push(['_fxm.ecommerce.productview', PID ]);</script> 

View Article


Webhook created via verified returning false by Kshitij shukla

Hii , I have a dev store for app testing https://inside-devstore.myshopify.com . I created a webhook via API for cart creation using ShopifyClient for PHP$sc = new ShopifyClient(SHOP_URL, TOKEN ,...

View Article

Jason commented on Intergrating store with web analytic tool

You can also use the json filter to add the quotes for you. Useful if you're not sure what the type will be, though redundant here since the title will be a string.var PID = {{ product.title | json }}; 

View Article

How to display how many have been sold by Jenny Ly

Hi, I'd like to add a feature that is to have a goal of for example selling 150 items of certain product and showing how many have been sold. This needs to be easy to manage through the admin. One...

View Article

Raw soft commented on Intergrating store with web analytic tool

Yeah It worked Jholl. Thanks

View Article


Using Ruby & Shopify_app in WIndows 7. issues due to therubyracer. Cannot get...

Hi - I am using the following;windows 7, ruby 1.9.3p545 (2014-02-24) [i386-mingw32], Rails 4.1.4 I am following these instructions;rails new <app>cd <app>echo gem 'shopify_app' >>...

View Article

Raw soft commented on Intergrating store with web analytic tool

Jholl I want to execute a JavaScript snippet when a person adds/remove an item to his/her shopping cart. Lets...

View Article


Trying to register a carrier shipping service but getting "You already have a...

I am creating a new shipping service app for local shipping company and integrating that with the API.  I managed to get to the part where I am making the first shipping API call to register the...

View Article

How to test an embedded app's authorization flow? by Volkan Unsal

Hey guys,Have you ever written integration tests for an embedded app before? I have this app that requires the user to modify the product, and I'm trying to write a test for that flow, but the problem...

View Article


Hammad Khalid commented on [Product API] updating product with "£" character...

I think that escaping the character might do the trick. In NodeJS, try something like: var uri = "£17"> escape(uri)'%A317' OR > encodeURIComponent(uri)'%C2%A317'Let me know if that works. 

View Article

Orders webhook missing product properties array by Craig Morton

I've put the following code in product.liquid as generated by the markup generator<p class="field">  <label>Sim Number</label>  <input id="sim-number" type="text"...

View Article

Hammad Khalid commented on Create product with variants fails 400 - bad request

Hi Shane,The issue was actually with the JSON. You closed off the "product" object too soon."product":{ ...   "vendor":"Matrox",   "published":true   }, <===== Problem    "options":[]     ...This...

View Article
Browsing all 25503 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>