Title Replies Last Post
Introducing Shopify Scripts: Customize the business logic of your Shopif...

Shopify's Script Editor allows you to create Ruby scripts that can change the prices and properties of line items in your store's cart. Using scripts, you can create discounts that will be applied automatically based on the items and properties of a cart. The Script Editor app adds a place to write and store scripts in your Shopify admin. This forum is for questions and discussion surroundin...

9
Apr 13 2017 by Abel Valdivia
Shopify Scripts: Read before posting

This category in the forums is dedicated to the Shopify Script Editor. Please ensure your question relates to the Scripts API or the Script Editor app. Documentation: Shopify Scripts API Shopify Script Editor app App store: Script Editor If you have general API questions unlrelated to Shopify Scripts post in the Shopify APIs & SDKs category. If your question is about storefront ...

0
Feb 7 2017 by Jason
Go to domains first page.... Then Site Glitches...... then forwards to I...

When you go to my website:  www.calyxapparel.com it will start to load the front page, then it will glitch through a few more pages then lands on my social media accounts. It was working then it just started happening. I can edit the theme or any text. Just please help with some adivce on what is happeneing!  Thanks !

0
Today by Austin
Embed buy button loads slow

I am creating my Shopify shop in Adobe Muse. I am using the Buy Button for all my products. I am using just the buy button, not with the product picture. I have over 70 products on one page, and the page loads very slowly. What can I do to fix this? For styling purposes, I cannot use the collection view. My accessories page is here: http://wasp-1.businesscatalyst.com/accessories.html Than...

0
Yesterday by Stephanie
Menu that remains on top during scroll

Hi all. I'm currently using the Envy theme and would like to keep my menu on top during scrolling on mobile. Any idea how I can do this?  Ps. My website is kironascent.com Pps I tried the other solutions on this forum but none worked - probably due to the theme difference  Thanks!

0
Yesterday by d.fyc
Making Drop Down Field On Cart Page Required

Hello, I am trying to create a required drop down menu of delivery time slots on the cart page. So far, with the code below I have been able to add the drop down menu to the page, but cannot make it a required field. If possible, I would like an error message appear on the page near the drop down menu. The code I have so far is: <label for="Shipping Slot">Please choose a delivery ...

0
Yesterday by Josh
OPtion selector not working

Heres my code for the product variant selection.  Right now it only shows a message "available for backorder" for the overall stock for the product.  I need to be able to select a different size and see a different stock quantity show up. If I select S and it has 0 stock it should say "Available for Backorder" If I select L and it has 7 in stock, I need it to say "7 in stock" I've been...

0
May 22 2017 by Analyn Braza-Stull
Attempting to hide search button on mobile version of website

Hello all, I apologize if I am posting to the incorrect forum. I've been trying to figure this out for some time now, and I feel that it is starting to hurt my sales numbers.  Any advice is greatly appreciated. I am currently trying to completely hide the search button that appears on the mobile version of my website.  I've posted about this issue about a month ago and one of the admin...

1
May 22 2017 by Elliott
Turn off subscription pop up

HI, I'm wanting to turn off our pop up for customers to subscribe. I have found the html in theme.liquid, but no idea if I'm meant to just delete it or add or remove some text. Any advice is appreciated. Below is the html I found.   </script>      {% if settings.popup %}   <script type="text/javascript">     if($(window).width() > 500){       // Fancybox Join our mailing...

2
May 19 2017 by Annette DE FLORENCA
Help!! Error in shipping script

Hi guys!  Here is my shipping script: cart=Input.cart if cart.discount_code && cart.discount_code.code == "TESTING321"      Input.shipping_rates.delete_if do |shipping_rate|         next if shipping_rate.code == "Ground Shipping (5-7 days)"         shipping_rate.name.upcase.start_with?("")     end end Output.shipping_rates = Input.shipping_rates   The idea is set up a free...

0
May 19 2017 by Crane & Canopy
Shipping scripts and Order properties

I have made a shipping script that changes the price of one of my shipping options (Based on cart size). Checkout works fine.  However, the order liquid variable shipping_price does not get updated.  As a result, the confirmation email sent to the customer has the original price for the shipping option selected (not the updated price set by the shipping script). Has nobody else run into t...

0
May 19 2017 by Crane & Canopy
Get Product detail

Hi, I am developing an app. I am stuck & need urgent help. I want product detail(product title/handle/id) . I am adding my script in theme on app installation which will find collection template and do some functionality. I want to call ajax function when each product load on DOM . Please help me. Thansk.

0
May 19 2017 by Khushboo Lad
Ability to apply a Discount Code to the cart via a script

Is it possible to do something like this? if Input.cart.discount_code.nil?   Input.cart.apply_discount_code("code") end Output.cart = Input.cart   If not, it would make life a lot easier.

1
May 18 2017 by Jason
text jumps

hey there, for some reason my product description in my product page "jumps" (like when rendering the page the font-size is changing) can someone please take a look and tell me what's the problem?  https://www.uprightpose.com/products/upright-trainer

0
May 16 2017 by chen
Text color of my blog page is hard to read?

I can't find where to change the color of the title text and short description on my dog articles page? I looked for the code but couldn't find it in the "edit code" section either. Can anyone help with this? https://www.fuzzycreekpetsupplies.com/blogs/dog-articles

1
May 11 2017 by Liz L
How to Add 2 More Custom Events Pixel in A Specific Page/Article?

How to Add 2 More Custom Events Pixel in A Specific Page/Article? Thanks.

0
May 10 2017 by yoga
Not getting cart token from javascript Buy SDK Extrenal Website

Currently I am using shopify buy sdk on one of my external website, where  I have added line item and created a cart, and finally after that I have generated a checkout url, But I have one issue with that, that Url is then sending me to my cart page, where I dont want to move, inspite of that I want to move to one of the external payment gateway method "http://support.rechargepayments.com/artic...

0
May 10 2017 by Satyendra Darak
Where should I put my fb pixel event code?

Hi, I'm trying to input the code for the purchase event on my shopify store.    I've already input the Pixel ID into shopify but i'm not 100% sure where I should put my event code. <head> <!-- Facebook Pixel Code --> <script> !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._...

1
May 8 2017 by hassan_wmw
Default browse collection view

Hi, I'm using Brooklyn theme, I have a collection page that include few product types. When I click on this collection page I see all of the product types and I have "Browse by" box that give me the option to filter by product. What I want to ask is if it possible that when I click on that collection page, I will see just specific product by default and not all the types. So where I can chan...

0
May 5 2017 by Or Ben Yossef
Price Change on Variant Select

Hello, I am trying to get the Add to Cart button with the price to change when they select one of the variants from the dropdown. The price does not ever change no matter what you select. It seems like the jquery is not getting fired but I'm not sure where to change it at. https://wheeldock-test.myshopify.com/products/spacers Password is cleung Please help!!!   Thank you, A...

0
May 3 2017 by Adam