Maintenance Mode

The Ecommerce University Forums are under maintenance, and has been placed into read-only mode. Thank you for your understanding.

  Title Replies Last Post
Price rules without code?

Hi, Is it possible to create a site-wide discount or a colletion-wide discount without a code ?  I know I can do it per product, but for site-wide discount that would mean to edit every single variant on my store (over 200K) and with the API it will take about 15 hours everytime I want to create a sale on the site...  Thanks.

Dec 20 2018 by Dylan Hunt
Create discount holiday for all products without codes?

Hi everyone,  Do you know how to create the discount campaigns for all products without codes on your online store? You can create the discount campaign for all products, special products or collections in a few minutes. After the discount time is end, the converted prices will become the original prices on your store. Everything works automatically! You only need to set up for once!  Besid...

Oct 9 2018 by Anthony Johnson
Tiered Discount by Product Tag

Hello, looking for code for a tiered discount script based on product tag. Example: If product tag = "A" discount the line item by 25% If product tag = "E" discount the line item by 20% Also, is there a way to prevent additional discount codes entered at checkout, to avoid an extra discount on the above? Thanks!

Nov 5 2018 by SpurIT
Help with layout of Add to Cart button after user clicks (jumps up)

I recently added an ajaxify-cart.liquid script  so that products could be added by user without showing the cart (modal or full page). Everything works well on the product pages but on the collection page here: the Add to cart button jumps up with messaging below (placement of messaging works best for the other pages so has to remain below),...

Dec 17 2018 by Kerry Varma
Buy 2 items and get 20% , but exclude some products

Hi. I have this script, that gives 20% discount if a customer buys 2 items and more. I works fine, but I have some products (product_type == "Charity" or product_type == "POS") I would like to exclude from the eligible products, to get the discount. # Message: message = "Buy 2 items and get 20%" # Discount: discount = 20 # Quantity: discount_quantity = 2 # items needed in ...

Dec 14 2018 by Hjalde
Bundle discount quantity limit

products_needed = [1574877593703] products_seen = [] discounted_products_count = 0 discounted_bundle_count = 0 @percent = / 100.0 Input.cart.line_items.each do |line_item| product = line_item.variant.product products_seen << if products_needed.include?( end Input.cart.line_items.each do |line_item| product = line_item.variant....

Dec 14 2018 by Elliot
Add Order Tag before email notification to merchant

Hi ! Is there a way to add Order Tags when the order is placed ? So when the notification email is received by the merchant, the tag is already here ? I know I can add them through the API once the order is made, but the tag won't be in the email. Thanks.

Aug 9 2018 by Prabhat
Offer Free Shipping when specific discount code used

Hi, I'm trying to find a workaround with not being able to do stacked promotions. We want to offer our customers $85 off on their order + Free Shipping. Is there any way to do this logic with script? Logic would be when code "HOLIDAY" is used, offer Free Standard Ground Shipping. Much appreciated! Thanks!

Dec 10 2018 by Sunny
How to Add Facebook Messenger Plugin to your Shopify Store

Hi Team  I am created Facebook messenger bot I want to add that bot in my Shopify website. I did this following steps but it's not showing messenger logo on the website. Steps are as follow: 1. On Facebook  Select page -> Setting -> Messenger Platform In this added my storeurl in the whitelist domain  Then click on Customer chat plugin - set up   click next get the co...

Dec 10 2018 by Bhagyashree More
Detect if ordered from certain page/order form

I have an order form set up on a page that people can order a mixture of products from, what I am wondering is if there is a way to detect this via a shopify script I am using to edit line items. Some type of hidden form field or something that passes along a value that I can detect that says the user came from that page/order form. What would be the most simple way to accomplish this? Any p...

Dec 7 2018 by Rahul
How to remove unwanted lines of code from landing page

I've recently used the tutorial on how to add an age verification to your page. While following this turtorial I was required to add a snippet in the body section. When you go to my website's ;anding page, there is now a single line of code at the very top. I'm not sure what I've done to cause this, and I can not seem to locate the error. Any help with this would be appreciatted.

Dec 7 2018 by Carter
Build integration to install Javascript to Shopify store

Hi there,  I work with a marketing platform, trying to build a direct integration for our clients that are on Shopify. MVP would be for the user to authenticate their store and credentials (preferably from our platform), so that we can automatically add JavaScript to defined location(s) on Shopify site. Any direction or experience in this type of application or integration is greatly appr...

Dec 5 2018 by Elliot
Need help adjusting a Script!

I have the basic script for Buy X, Get Y free, but I want to do a sale that involves the customer buying three specific items, and getting another specific item free. How do I do this?!

Dec 5 2018 by Elliot
Fixed/Sticky navigation bar in mobile version

Hello Guys , I really need your help,  I want the Header Navigation Bar on mobile version of my store to be fixed/sticky , *The header is already sticky in Pc version , but not in the Mobile version .  Which code can do it ?  And where should I put it in the theme code? Thank you very much ! 

Dec 4 2018 by Tom707
How to capture when a recurring payment is executed in shopify?

Hi friends, I need to know how to detect recurring payments in shopify, so that when a recurring payment happens, perform an action. In what part of shopify can I detect it, in the code, database? Thank you for you help.

Dec 3 2018 by dexterade
How to Create a Product Thumbnail Slider in Minimal Theme

I am using Minimal Theme. I have products with many multiple variants. I would like to only feature one main photo and have all other photos visible in a thumbnail slider below. Can someone tell me step by step how to edit the code. Thank you

Dec 1 2018 by Ralph Hayes
Display Inventory - Multiple Locations

I'm trying to display inventory by location on our product pages. I have the location IDs but I am not sure how to link it to a product. When I view the product in "/admin/products.json?ids="  it displays: "inventory_quantity":2,"old_inventory_quantity":2 But I have it set up to be 1 item at one location (Toronto) and 1 item at another location (Vancouver). How do I identify invent...

Nov 30 2018 by Sarah Caracciolo
Limit discount

I've got a discount script which applies a discount if a product has a certain tag and another specific product is in the cart. This is my code: products_needed = [1574879461479,1574879461468] products_seen = [] Input.cart.line_items.each do |line_item| product = line_item.variant.product products_seen << if products_needed.include?( end @percent =...

Nov 30 2018 by ME
Pulling Data from Dealer Portals to our website

Hi Guys Does anyone know if there is a way we can pull products and stock quantities from our existing Wholesalers into our Shopify store? For example we have logins to wholesalers who we order goods from for our retail stores. We are upgrading our website to shopify and would like to have the products either being "Available in Store - (data pulled from POS system) or "Available to Order...

Nov 30 2018 by Tira
How to modify the canonical tags on the duplicate 'Product Type' facets

We are trying to modify the canonical tags to ensure Google shows the right version of the product type pages in the search results, we need to point Google towards the correct indexable version. For example, the page needs to have its canonical tag modified to read: <link rel="canonical" href="https://www.arenamenswea...

Nov 7 2018 by Arena Menswear