shopify

Creating an exception when pointing a domain using A record (Shopify)

假装没事ソ 提交于 2019-12-25 12:11:16
问题 I am setting up a Shopify site using a custom domain. However, I have old links on that domain that I don't want to break once I point it to Shopify. I also have old parked domains on top of this domain that I don't want to break. Shopify instructs you to set up an A record for the domain (so when I go to www.mydomain.com I see my Shopify store). But I want to set up exceptions such that www.mydomain.com/my-seo-link won't show Shopify, or will allow me to forward to its replacement at Shopify

Using asset_url within a .js.liquid file

蹲街弑〆低调 提交于 2019-12-25 11:34:38
问题 I'm coding a Shopify theme and I need to use Google Maps with custom pointers in one of my templates. I am having trouble with the asset_url working within a Javascript file so I can link correctly to my new pointer/marker graphics. Any pointers on what I'm doing wrong? I tried both of the following and neither worked: var image = { url: "url({{ 'gr_gm-pointer.png' | asset_url }})" ...etc }; and var image = { url: url({{ 'gr_gm-pointer.png' | asset_url }}) ...etc }; I'm a novice at both

How to edit content on pages for Collection Tags in Shopify

爷,独闯天下 提交于 2019-12-25 08:17:25
问题 When creating Collections in Shopify I can easily add Tags to them, which are then displayed on the Collections pages (in most of the themes I've used so far). The Collections page will typically show all the Tags for any Product within that Collection. If you click the Tag it will go to a new page. I'm trying to find a way to edit those pages - it does not appear that this ability is built into Shopify, so I'm looking for the best solution. There are easily over a hundred tags on this site

How to setup a Raspberry Pi to receive webhooks

房东的猫 提交于 2019-12-25 05:09:08
问题 I am currently working on a little project that will have my raspberry pi light up a unicornhat whenever a new order is created on Shopify. I have never worked with webhooks nor web servers, much less Flask or Zappa before, and I was curious as to how I would set this up without exposing the pi to the open internet on my home network. I had read that this would be simple to do using Amazon's Lambda in conjunction with Flask and something called Zappa, however I am rather lost. This is what I

Tax lines won't automatically generate in Shopify API order

試著忘記壹切 提交于 2019-12-25 04:00:48
问题 I am posting the following to the Shopify API order endpoint: { "order": { "email": "some@email.com", "financial_status": "paid", "fulfillment_status": null, "send_receipt": true, "send_fulfillment_receipt": true, "note": "Created by somename", "line_items": [ { "variant_id": 21718275463, "quantity": 1, "price": 99, "requires_shipping": true, "product_id": 6820646151 }, { "variant_id": 21717700871, "quantity": 1, "price": 1000, "requires_shipping": true, "product_id": 6820646151 }, { "variant

Is it possible to provide a `redirect url` to shopify.com/login?

我的梦境 提交于 2019-12-25 03:22:18
问题 Does Shopify have a mechanism to supply a redirect URL on store owner login at https://shopify.com/login. Note, this is not customer login, but store owner. Mailchimp provides this functionality with a redirect_uri query string parameter. In the example below, after logging in, Mailchimp will redirect the user to https://somesite.com: https://login.mailchimp.com/oauth2/authorize?response_type=code&client_id=1234567890&redirect_uri=https%3A%2F%2Fsomesite.com 回答1: It sounds a little confusing.

Get one variant in Shopify

折月煮酒 提交于 2019-12-25 02:55:43
问题 My products have 2 variants, size and color. I want to display the size options as a series of buttons. Here's my current code: {% for variant in product.variants %} <input type="button" name="{{ variant.id }}" id="{{ variant.id }}" value="{{ variant.title }}"> {% endfor %} This returns buttons with values like S/White, M/White, L/White, etc. I want just S, M and L. Pulling from of the example code in the docs, I've tried {% for variant in product.variants.size %} and {% for variant in

Owl Carousel: Javascript won't load. Shopify Issue or Code Issue?

我们两清 提交于 2019-12-25 02:46:09
问题 Trying to get my owl carousel to work for me in shopify. Could you take a look at my code and see if anything looks off to you? I think I've implemented it the to T but it won't seem to fire. Any suggestions would be great! CSS Styles {{ 'owl.theme.css' | asset_url | stylesheet_tag }} {{ 'owl.carousel.css' | asset_url | stylesheet_tag }} JS Files {{ 'owl.carousel.js' | asset_url | script_tag }} {{ 'jquery-1.9.1.min.js' | asset_url | script_tag }} Slider HTML {% if collection.handle contains

Error for the site owner Google site owner

浪子不回头ぞ 提交于 2019-12-25 00:04:54
问题 I am stuck to the following problem and getting error on recaptcha. The error which is i am getting is "ERROR for site owner: Invalid site key". Can any one respolve the problem. Here is the screenshot and attached code in shopify which I am using. <script src='https://www.google.com/recaptcha/api.js'></script> <div class="row"> {% include 'custom_breadcrumb' %} <div class="col-md-3"> <div class="sidebar-pages"> {% include 'sidebar-pages' %} </div> <!-- side bar condition for Happiness

Shopify, Adding another column for Shipping details in product page

跟風遠走 提交于 2019-12-24 19:28:42
问题 I want to add another shipping column in between two existing column in my product page in Shopify and also link it to my pages called "shipping" but I can't seem to find out how. Here is the existing code <div id="tabs" class="htabs"> <a href="#tab-description" class="selected">{{'products.product.description' | t}}</a> <a href="#tab-review" class="">{{'products.product.customer_reviews' | t}}</a> {%- if product.featured_image.alt contains 'iframe' -%} <a href="#tab-video">{{'products