Shopify Storefront API. adding item to cart
Im using the Shopify storefront API to query for a list of products and add a selected item to the cart. I am able to use API to list all the products, and returns the variantID for the product found…
Im using the Shopify storefront API to query for a list of products and add a selected item to the cart. I am able to use API to list all the products, and returns the variantID for the product found…
I currently have a structure as below: stylesheet.css fonts/webfont-1.woff When using @font-face in the stylesheet.css, src: url('fonts/webfont-1.woff'); does not load the font. When I move the webfont-1.woff over to the same folder as stylesheet.css however, and change the @font-face reference…
{% assign dvtprice = currentvariant.price %} {% assign dvtpriceprat = currentvariant.price | times :20 | dividedby :100 %} Example: if product price is 20.33 , then Vat= (20.33*2)/100=4.066
I'm creating an application integrating with Shopify's API, which uses OAuth2 for authentication and authorization. Using the tutorial for Spring Security OAuth2, and the tutorial for Shopify, I've been able to get integration working with a single shop. The YAML…
I have created an app in shopify and after installing it in the store, I want when I click on the app then it will redirect to other domain like www.abc.com instead of open it in the shopify admin. I…
What I'm trying to accomplish is when a user is on an individual blog article/post, I want to display unique "related articles" based off of matching tags. Here's what I have so far: {% for tag in article.tags %} {%…
I want to Create multiple Meta fields with different key but it displaying me following error: 'metafield' => 'expected Array to be a Hash', This is my code: $prodcut_variant = array( 'metafield'=>array( array('namespace'=>'orbital_response', 'key'=>'Os Purchases', 'value'=>'0', 'value_type'=>integer,), array('namespace'=>'orbital_response', 'key'=>'Stock Status',…
On the side bar of my product pages there are filters within an accordian style menu. Preview: https://www.shoplovestitch.com/collections/new-arrival-dresses I'm trying to make the accordion menu's for filters default to be unhidden/open instead of defaulting to closed. {% comment %} ***…
Hi I am working on shopify app. Using the script_tag I added custom.js for shopify store front end. When look in view source I can see custom to js added successfully Basically I need a function or object if we…
I'm doing some work for a client who has an existing shopify website. They want to make some big changes to the site, so i have set up a new development site in shopify, exported all of the products/pages/blog posts…