I have created customer registration page and store extra information in customer note. Now, I need to give Edit/Update option of that extra information(which is store in customer note). I am trying with API but don't get proper way to do it.
Edit/Update extra information of customer which is store in customer note. by Mayur
Scopes: read_content & write_content not available via API? by Ryan Marshall
I'm getting this error when setting my app's scope to read_content,write_content:
[API] That action is not currently supported.
Is it really the case that Shopify Apps can't read or write shop content (specifically redirects, in the case of my app)? If so should these scopes really be listed in the documentation?
Thanks
Ryan
Issue: shopify app not working after change in theme. by Sweta Rani
I am trying to make a shopify public app. While testing on my development store, I found that it does not work if I change the theme of my dev store
Therefore, I need to reinstall the app again. Also, in some themes my app does not work.
So, what is solution for this problem. How can I make app which does not get removed on changing theme untill it is manualy removed by the owner
webhook app/uninstalled sends the request itself by Sergey Gaydanka
App is not removed and webhook app/uninstalled sends the request itself.
Response code = 422. Response message = Unprocessable Entity. by narzero
Hi there,
I want to edit a product but I keep getting the following error:
@errors=
#<ActiveResource::Errors:0x007ff72664dde8
@base=#<ShopifyAPI::Product:0x007ff72663e640 ...>,
@messages=
{:"metafields.key"=>["must be unique within this namespace on this resource"],
:"variants.base"=>["The variant 'Default Title' already exists."],
:base=>["The variant 'Default Title' already exists."],
:key=>["must be unique within this namespace on this resource"]}>,
@persisted=true,
@prefix_options={},
@remote_errors=#<ActiveResource::ResourceInvalid: Failed. Response code = 422. Response message = Unprocessable Entity.>,
@validation_context=nil>
Any ideas on how to solve this?
Email alert notification by Think All Day
We would like to create an automatic, preference-based email alert function for new products. We want to allow customers to choose product preference parameters matching variants, tagging, or collections data as best needed to accomplish this function (i.e. material, color, designer), and have the system automatically send an email everytime a new prodcut is added that matches a customer's profile preferences that they have chosen for alerts. It seems like this would be best to happen directly in the shop (like the abandoned cart notice, pulling directly from the product data) instead of interfacing with an external service like Mail Chimp or others. It also should have a way the customer can change their preferences or unsubsribe, perhaps attached to the cutomer's account profile/require creating an account to setup alerts. Can anyone recommend an app, customization, or give a custom bid and parameters?
Randy Walker commented on Company Name in admin/customers and Company account code
Same Here. We are a wholesale company as well and our repeat customers are our business. The individual contact name is meaningless when searching for a specific customer. I would gladly trade all available fields on the customer lookup for a simple Customer Number and Company Name. Just three or four usable user defined fields would be great.
A couple other painful issues we are experiencing include;
1. Cannot export all customers one time with Individual Account Status… Enabled, Invited, Not Invited, Etc.
2. Must completely open a customer file in Shopify to see account status. Woud be nice to just view that in the list view.
We are relatively new and any ideas would be greatly appreciated.
Thomas1234no commented on Feature Request - Update API to contain more of the POS specific values
These are all very wanted features, I've myself been in touch with support on the discount issue. We make invoices through Order Printer and Order Printer e-mailer, and need to be able to do liquid to get the correct amount for each line on the order. This so that the customers can see that they in fact got those prices.
I think we can trust Shopify on changing this in the future, but I also hope it can be soon. :)
David Gill commented on Send data to cart with out VARIANT-ID
This will be your button
<form action="http://myurl.myshopify.com/cart/add" method="post" target="_parent">
<input type="hidden" name="id" value="3569079681" />
<input type="hidden" name="properties[URL]" value="http://" />
<input type="hidden" name="properties[Image]" value="image.png" />
<input type="hidden" name="properties[Fabric]" value="3569079681" />
<input type="image" src="../img/design/cart.png" border="0" name="submit">
</form>
Then in the Shopify backend find "cart.liquid"
And paste this here: Where you place this snippet depends on your theme, but it needs to go inside the loop for cart.items and you'll likely want to place it right under the cart item's title.
{% for p in item.properties %}
{% unless p.last == blank %}
{{ p.first }}:
{% if p.last contains '/uploads/' %}
<a class="lightbox" href="{{ p.last }}">{{ p.last | split: '/' | last }}</a>
{% else %}
{{ p.last }}
{% endif %}
<br />
{% endunless %}
{% endfor %}
For more info: https://docs.shopify.com/support/your-store/products/how-do-I-collect-additional-information-on-the-product-page-Like-for-a-monogram-engraving-or-customization
Update/Adding a new image to a product through the API from a Image URL issue by Sean Swerdlove
Hi,
I am a Developer of a windows application (https://apps.shopify.com/retail-express-translator) that syncs products from Retail Express to Shopify on a regular basis.
When adding a new product or updating a product through the API, sometimes Shopify is not retrieving the images.
This does not happen regularly and when I re-update the product’s that didn’t download the image from Dropbox through the API, Shopify manages to retrieve the image.
The images are stored on a public Dropbox folder, and is accessible through a public URL for example https://dl.dropboxusercontent.com/u/48760222/FOLDER_NAME/IMAGE_NAME.jpg. This is passed in the JSON.
And also, does Shopify re-download the images if the same URL is passed for a product update? For example does it check to see if the image is different to the one it already has and if it is, does it download the new image?
Thanks,
Sean O'Loughlin
Forsberg+two commented on Feature Request - Update API to contain more of the POS specific values
Thanks for jumping in on this as well Thomas, hopefully someone from Shopify is listening. Unfortunately, as you say, it's currently impossible to create a "correct" invoice on Order Printer for POS orders, because of the missing info about Line Item Discounts... there is no way to show the correct sale price of an item :(
Would love to be able to support POS orders in our Order Printer Templates as well, but until this gets fixed there's nothing any of us can do.
Lokranjan commented on Dynamically getting shop name
Hey thanks for your help.Now My problem is solved.
But a problem is still getting me irritating but it is not about session ,it is about Cross origin.Let me explain it-
My app running fine on Mozzila firefox if i used headers for cross origin but it throw errors in console when i run it on other browsers like chrome,safari etc.
The error in console are as follows---
Image from origin 'https://www.csschopper.com'; has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://lok-sparx.myshopify.com'; is therefore not allowed access.
canvg.js:2321 Uncaught InvalidStateError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': The HTMLImageElement provided is in the 'broken' state.
I am using php for developing app, I have used headers which works fine on mozzila are as follows--
header('content-type:text/html;charset=utf-8');
header("Access-Control-Allow-Origin: {$_SERVER['HTTP_ORIGIN']}");
header("Access-Control-Allow-Credentials: true");
header("Access-Control-Allow-Headers: {$_SERVER['HTTP_ACCESS_CONTROL_REQUEST_HEADERS']}");
header("Access-Control-Allow-Methods: GET, POST, OPTIONS");
For Better understanding You can click on the link as--
Invalid Email ID by Sabir Arora
Hello Shopify team,
I've some issues at the time of checkout using the BUY SDK.
I'm setting up an e-mail address to my BUYCheckOut object prior to calling storeCreditCard:checkout:completion method.
However, in response, I always get the below error:
{
errors = {
checkout = {
"cart_token" = (
);
email = (
{
code = invalid;
message = "is invalid";
options = {
};
}
);
"line_items" = (
);
"reservation_time" = (
);
"shipping_rate_id" = (
);
"source_name" = (
);
};
};
}
I'm passing a valid email address, tried using my email address as well. Please help me out solving this issue. Thanks in advance.
Zika LIU commented on Find variant by SKU or Barcode
Does anyone have an answer on this?
Ryan Bennick commented on Dynamically getting shop name
Seesm like the images coming from https://www.csschopper.com should have the header
header("Access-Control-Allow-Origin: *");
or
header("Access-Control-Allow-Origin: lok-sparx.myshopify.com");
What is the format of timestamp? by GLion
timestamp: 1434153266
How does this convert to years,days,hours,minutes etc?
Any way to change the location of an order via the API? by Ken Ray
We took a small handful of orders on the iPad via Shopify POS before we realized it was still set to the previous location; we changed the location and continued to take orders, but we'd like to change the first set of orders to point to the right location. I took a look at the API and it looked like each area in the API that has a "location_id" property shows NULL and not the ID of the location itself. So is there any way I can change those orders to point to the right location?
Shopify Link list > All products by Vitalij Dankiv
Hi,
I am trying to use Link list, and assign All products to link. But I'm little bit confused how I can iterate through each of this product?
When I'm using just simple Product to link , and just add all my products to each link, it work's with this code:
{% for link in linklists.productstock.links %}
{% for variant in link.object.variants %}
{{ variant.sku }}
{{ variant.inventory_quantity }}
{% endfor %}
{% endfor %}
But when I change to All products link, it didn't work. Could someone help me with this? I can't find solution anywhere
API Returning 9999 by StitchLabs
Hello,
A couple years ago we saw something weird on the api which was a 9999 response, you can see it in this post: https://ecommerce.shopify.com/c/shopify-apis-and-technology/t/http-status-code-9999-ahhhhhhhhh-160537
Then, over the past couple days on at least 1 account that has integrated shopify to Stitch has started throwing a 9999 response on the order call. Below is the api call with the subdomain removed for privacy (please let me know a shopify email address I can send the access token and subdomain to for debugging on your end).
SUBDOMAIN.myshopify.com/admin/orders.json {"status":"any","financial_status":"paid","updated_at_min":"2015-04-28T00:02:27-07:00","limit":250,"page":2}
This seemed to happen multiple times, but the most recent was at 2015-06-13T09:10:37.112-07:00. It is no longer happening and everything seems to be returning a 200.
What is a 9999 and was there something going on on the Shopify API over the past couple days on the orders endpoint?
Thank you,
brandon
Josh Brown commented on API Returning 9999
Hi Brandon,
That does sound strange. The response from Shopify should have an X-Request-Id header. Would you mind sending me the X-Request-Id along with any other info? josh.brown@shopify.com