Sign inSign up

arevindh/shopify_stock

By arevindh

•Updated almost 4 years ago

Shopify Notify in-stock status via discord webhook

Image
0

608

arevindh/shopify_stock repository overview

⁠Shopify Notify in-stock status via discord webhook

https://github.com/Kuuuube/Shopify_Stock_Checker⁠

⁠Create docker-compose.yaml
version: '3.3'
services:
  shopify_stock:
    container_name: shopify_stock
    volumes:
      - './list.txt:/usr/app/list.txt'
    environment:
      - 'WEBHOOK_URL=url-'
    image: arevindh/shopify_stock
⁠Create list

Create a file named list.txt . The file should contain a newline separated list of urls for items to check stock of.

For example:

https://examplestore.com/products/exampleproduct
https://examplestore.com/products/exampleproduct2?variant=39615971195628
https://examplestore.com/collections/examplecollection/products/exampleproduct3

To check only specific variants of a product, be sure to use a url with the correct ?variant={variantid} suffix.

To check all variants of a product, remove the ?variant={variantid} suffix from the url if it appears.

⁠Start the container

sudo docker-compose up -d

Tag summary

Content type

Image

Digest

sha256:daf9f0a6e…

Size

20.7 MB

Last updated

almost 4 years ago

docker pull arevindh/shopify_stock