Skip to content

jmwind/app_yardsale

Repository files navigation

Shopify Yard Sale App

The yard sale app augments a Shopify store to make it easier to sell personal items online without having to deal with the frustrating logistical hassles of Craigslist style marketplaces. Whether you’re selling in Australia on Gumtree or in France on LeBonCoin, use those services as marketing channels but not as a commerce platform.

Gone are the days of listing an item and getting dozen of text messages from potential buyers. Having to track who contacted you first and who wanted to pay more. Let Shopify handle the logistics, while you collect the money.

Below is what it typically feels like when selling items on-line on a Craigslist site. You'll spend your week in SMS exchanges with potential buyers. Now multiply that by N items that you're selling and it's a nightmare, to the point that it's not even worth your while.

👇

old school

In a more modern setup with Shopify and Yardsale the pesky SMS exchanges are replaced with a workflow around reserved items. The simplest improvement over a marketplace is that reserving something is automated, transparent, and doesn't stop the process with other buyers.

Buyers can add themselves to a waitlist or propose a new price for each item that's reserved. Which means that the communication is a lot more transparent.

old school

As a merchant, you can manage the waitlists by product. See who's raised, and automatically send mails or accept the bid. An existing order will be cancelled and a new one created and appropriate notifications sent out.

old school

old school

Main Features

  • Allows buyers to reserve a product, and pay via COD.

  • When an item is reserved, other interested buyers can add themselves to a waiting list in-case the first buyer backs out (which is very common in yard sales).

  • Allows waitlisted buyers to submit a bid on a reserved item. The app manages the notifications to the current buyer for a right to match the bid and then transferring the order to the new buyer.

  • If a buyer backs out of purchasing an item, the admin interface allows you to release an item and notify everyone on the waiting list that it’s now available. The app supports two release options.

  • The first clears the waiting list and sends an e-mail to the waitlist that the item is now back on the market. In this case it’s first come first serve regardless of which position in line they where.

  • The second release option is sequential. It notifies the next person in line that they can purchase the item and you can keep the waiting list intact and notify by mail that they have rights to the item now.

Development

Dev Store and App Setup

Install localtunnel so that during development you can receive proxy redirects and webhooks.

$ npm install -g localtunnel

Select a unique subdomain and start the tunnel.

$ lt --port 3000 --subdomain <yoursubdomain>
your url is: https://<yoursubdomain>.localtunnel.me

Register as a Shopify partner and create a dev shop. You'll have to create your own app listing under your partner account to develop an app locally. Go create one https://app.shopify.com/services/partners/api_clients from your partners dashboard.

create app

After the app's been created, find the api key and secret and use to configure your local and heroku environment variables SHOPIFY_APP_API_KEY and SHOPIFY_APP_SECRET.

create app

Next, edit the app settings and turn on support for the embedded sdk which allows your app to customize the administration sections of a shop.

create app

Lastly, setup a proxy for the app so that it can connect to your local instance via the tunnel.

create app

Running Locally

Now, you're ready to run the app locally and install it into a shop.

After cloning the app repository, install gems and environment variable with tunnel hostname and start the server.

$ bundle install
$ export AYS_APP_URL=https://<yoursubdomain>.localtunnel.me
$ bundle exec rails server

Once your test store is created, log into the admin and goto your apps page https://<yourdevstore>.myshopify.com/admin/apps.

In development mode, you can't install the app running locally from the app store. Instead, register it manually by hitting the URL below in your browser.

https://<yoursubdomain>.localtunnel.me/login?shop=<yourdevstore>.myshopify.com

You'll be redirected to a confirmation page, click "Install Yard Sale"

install page

During the installation process you should see handshake log messages from your local app in the console. Then, after successful install an entry will show up in the apps page of your store admin. Your image and icon will differ a it's configured in the app configuration and not included in the source of the app itself.

install page

Store customizations

Add the waitlist placeholder to your product.liquid file.

<div class="yardsale-product" data-id="{{product.id}}"></div>

Edit the language settings of your template:

  • Where it mentions Sold Out, replace with Reserved
  • Configure check out wording such that it doesn't sound as store like
    • Shipping Details with Contact Details
    • Remove the Shipping and Tax fields following these instructions.
  • Update order e-mails
    • Remove Shipping address and rename Billing to Contact details
    • Include wording about how to cordinate the pick up of the item

Wish List

There are more than purchases logistics to deal with when selling many personal things on different marketplaces. In the pro version of yard sale, we support Channels and allow you to automate the menial tasks of pricing and marketing in various sites.

Pricing

  • See the price range in a specific channel for an equivalently named product. This allows you to set the price based going market rates.
  • Set prices based on relative range of market (eg, 10% more or 10% less)

Ad Purchasing

  • Manage ad purchasing and analytics to multiple channels.
  • Post and purchase ads directly from within Shopify.
  • Renew the ads as long as the product is still available.
  • Link directly to a pre-filled cart (aka Buy Button release on March 31st).

About

Shopify app that makes having online yard sales easy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published