mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
242 lines
9.9 KiB
HTML
242 lines
9.9 KiB
HTML
<!DOCTYPE html>
|
|
<html lang=" en-US ">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<link rel="stylesheet" href="/assets/splide/css/splide.min.css">
|
|
<link rel="stylesheet" href="/assets/index.css">
|
|
<link rel="shortcut icon" type="image/png" href="/assets/icon/favicon.ico">
|
|
|
|
<script src="/assets/splide/js/splide.min.js"></script>
|
|
|
|
<title>InvenTree - Shopify</title>
|
|
<meta itemprop="description" name="description"
|
|
content="InvenTree is an open-source inventory management system which provides intuitive parts management and stock control. It is at the center of an ecosystem of a..." />
|
|
|
|
<!-- Begin Jekyll SEO tag v2.8.0 -->
|
|
<title>Shopify | InvenTree</title>
|
|
<meta name="generator" content="Jekyll v4.2.2" />
|
|
<meta property="og:title" content="Shopify" />
|
|
<meta property="og:locale" content="en_US" />
|
|
<meta name="description" content="A simple Integration into Shopify." />
|
|
<meta property="og:description" content="A simple Integration into Shopify." />
|
|
<link rel="canonical" href="/repo/shopify.html" />
|
|
<meta property="og:url" content="/repo/shopify.html" />
|
|
<meta property="og:site_name" content="InvenTree" />
|
|
<meta property="og:type" content="article" />
|
|
<meta property="article:published_time" content="2022-11-08T22:45:51+00:00" />
|
|
<meta name="twitter:card" content="summary" />
|
|
<meta property="twitter:title" content="Shopify" />
|
|
<script type="application/ld+json">
|
|
{"@context":"https://schema.org","@type":"BlogPosting","dateModified":"2022-11-08T22:45:51+00:00","datePublished":"2022-11-08T22:45:51+00:00","description":"A simple Integration into Shopify.","headline":"Shopify","mainEntityOfPage":{"@type":"WebPage","@id":"/repo/shopify.html"},"url":"/repo/shopify.html"}</script>
|
|
<!-- End Jekyll SEO tag -->
|
|
|
|
<script async src="https://offen.inventree.org/script.js" data-account-id="2c8697da-bb92-441b-82ee-ece2622295b2"></script>
|
|
</head>
|
|
|
|
<body class="flex flex-col antialiased cm-gray-1 min-h-screen">
|
|
<div class="flex-none">
|
|
<header class="cm-gray-2 body-font sticky top-0 z-50 bg-gradient-to-r from-white to-secondary">
|
|
<div class="container mx-auto flex flex-wrap p-5 flex-row items-center">
|
|
<a class="flex title-font font-medium items-center cm-gray-1 mb-0 mr-2" href="/">
|
|
<img src="/assets/logo.png" alt="logo" height="32" width="32" class="h-8">
|
|
<span class="ml-3 text-xl">InvenTree</span>
|
|
</a>
|
|
|
|
<div class="flex-grow xs:flex-none"></div>
|
|
|
|
<nav class="md:mr-auto md:py-1 xs:ml-4 xs:pl-4 xs:border-l xs:border-gray-400 flex flex-wrap items-center text-base justify-center">
|
|
<a class="mr-5 hover:cm-gray-1" href="/deploy.html">Deploy</a>
|
|
<a class="mr-5 hover:cm-gray-1" href="https://inventree.readthedocs.io/en/latest/">Docs</a>
|
|
<a class="mr-5 hover:cm-gray-1" href="/blog">Blog</a>
|
|
</nav>
|
|
|
|
|
|
</div>
|
|
</header> <article class="max-w-p90">
|
|
|
|
<h2>ShopifyIntegrationPlugin org
|
|
<span class="sm:ml-2 text-sm">
|
|
<a href="/matmair">
|
|
<span class="inline-flex">by <img src="https://github.com/matmair.png?size=40" alt="mdo" class="self-center w-5 h-5 rounded-full" style="margin:0px"> matmair</span>
|
|
</a></span>
|
|
</h2>
|
|
|
|
<div class="md:flex md:flex-row flex-wrap">
|
|
<div class="w-full md:w-3/4">
|
|
<p>A simple Integration into Shopify.</p>
|
|
|
|
<p>Let your orders from Shopify be created in autopilot, update your Inventory-Levels from InvenTree and vice-versa.</p>
|
|
|
|
<h2 id="installation">Installation</h2>
|
|
|
|
<ol>
|
|
<li>Navigate to your InvenTree directory and cd into <code class="language-plaintext highlighter-rouge">src/InvenTree/plugins</code> and execute <code class="language-plaintext highlighter-rouge">git submodule add https://github.com/matmair/ShopifyIntegrationPlugin</code> there. Enable plugins in the general plugin settings and reload InvenTree.</li>
|
|
<li>Add a private app to your Shopify store (please register as a dev and use a development store. This is a PoC)</li>
|
|
<li>Go to the InvenTree settings and fill in the settings for the ShopifyIntegrationPlugin from your new private app.</li>
|
|
<li>Check out the new navigation tab.</li>
|
|
</ol>
|
|
|
|
<h2 id="caveat">Caveat</h2>
|
|
|
|
<p>Your instance must be reachable for webhooks from Shopify so use ngrok or something like that to expose your instance with HTTPS.</p>
|
|
|
|
<h2 id="state-of-the-code">State of the code</h2>
|
|
|
|
<p>This code is bad. It is neither optimized nor is it CI/Cd ready or covered in any way.
|
|
I use this Plugin as a PoC to show what will be possible with the new system.</p>
|
|
|
|
<h2 id="contribute">Contribute</h2>
|
|
|
|
<p>The whole plugin system is currently not even in the dev branch.
|
|
Feel free to submit issues or just send me a mail to dev AT mjmair.com</p>
|
|
|
|
<h2 id="no-open-source">No open source?</h2>
|
|
|
|
<p>Currently I have defined no license so forking is a bad idea copyright-wise. This code should not be used as basis for anything - I will define a license once the plugin system gets released.</p>
|
|
|
|
</div>
|
|
|
|
<div class="w-full md:w-1/4">
|
|
<h2 class="block sm:hidden">Link section</h2>
|
|
<div>
|
|
|
|
<div>
|
|
<h4 class="fst-italic">Github</h4>
|
|
<p>matmair/ShopifyIntegrationPlugin</p>
|
|
<a href="https://github.com/matmair/ShopifyIntegrationPlugin" class="stretched-link" aria-label="open github repo"></a>
|
|
</div>
|
|
|
|
<div>
|
|
<h4 class="fst-italic">Categories</h4>
|
|
<ol class="list-unstyled">
|
|
|
|
<li><a href="/categories/#integration"><span class="badge bg-yellow-500">Integration</span></a></li>
|
|
|
|
<li><a href="/categories/#webhook"><span class="badge bg-yellow-500">Webhook</span></a></li>
|
|
|
|
</ol>
|
|
</div>
|
|
|
|
<div>
|
|
<h4 class="fst-italic">Tags</h4>
|
|
<ol class="list-unstyled">
|
|
|
|
<li><a href="/tags/#shopify"><span class="badge bg-blue-400">Shopify</span></a></li>
|
|
|
|
<li><a href="/tags/#orders"><span class="badge bg-blue-400">Orders</span></a></li>
|
|
|
|
</ol>
|
|
</div>
|
|
|
|
<div>
|
|
<h4 class="fst-italic">Website</h4>
|
|
<p>https://mjmair.com</p>
|
|
<a href="https://mjmair.com" class="stretched-link" aria-label="open website"></a>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
</article>
|
|
|
|
</div>
|
|
|
|
<div class="flex-grow"></div>
|
|
<div class="flex-none">
|
|
<footer class="cm-gray-2 body-font">
|
|
<div class="container px-5 pt-8 mx-auto flex md:flex-row md:flex-nowrap flex-wrap flex-col">
|
|
<div class="w-64 flex-shrink-0 md:mx-0 mx-auto text-center md:text-left">
|
|
<a class="flex title-font font-medium items-center md:justify-start justify-center cm-gray-1">
|
|
<img src="/assets/logo.png" alt="logo" height="32" width="32" class="h-8">
|
|
<span class="ml-3 text-xl">InvenTree</span>
|
|
</a>
|
|
<p class="mt-2 text-sm cm-gray-3">Intuitive Inventory Management</p>
|
|
</div>
|
|
|
|
<div class="flex-grow flex flex-wrap md:pl-10 mb-1 md:mt-0 mt-10 md:text-left text-center md:justify-left justify-center">
|
|
|
|
|
|
<div class="md:w-1/4 px-4">
|
|
<h2 class="footer-categorie title-font">
|
|
Quick
|
|
</h2>
|
|
<nav class="list-none mb-10"><ul>
|
|
|
|
<li><a href="/demo.html" class="footer-link">Demo</a></li>
|
|
|
|
<li><a href="/deploy.html" class="footer-link">Deploy</a></li>
|
|
|
|
<li><a href="https://inventree.readthedocs.io/en/latest/" class="footer-link">Docs</a></li>
|
|
|
|
<li><a href="/news" class="footer-link">News</a></li>
|
|
|
|
</ul></nav>
|
|
</div>
|
|
|
|
<div class="md:w-1/4 px-4">
|
|
<h2 class="footer-categorie title-font">
|
|
<a href="/extend/">Ecosystem</a>
|
|
</h2>
|
|
<nav class="list-none mb-10"><ul>
|
|
|
|
<li><a href="/extend/api.html" class="footer-link">API</a></li>
|
|
|
|
<li><a href="/extend/app.html" class="footer-link">App</a></li>
|
|
|
|
<li><a href="/extend/integrate/" class="footer-link">Integrate</a></li>
|
|
|
|
<li><a href="/extend/plugin/" class="footer-link">Plugins</a></li>
|
|
|
|
<li><a href="https://github.com/sparkmicro/Ki-nTree" class="footer-link">KiCad</a></li>
|
|
|
|
</ul></nav>
|
|
</div>
|
|
|
|
<div class="md:w-1/4 px-4">
|
|
<h2 class="footer-categorie title-font">
|
|
Sitemap
|
|
</h2>
|
|
<nav class="list-none mb-10"><ul>
|
|
|
|
<li><a href="/about/" class="footer-link">About</a></li>
|
|
|
|
<li><a href="/alternatives/" class="footer-link">Alternatives</a></li>
|
|
|
|
<li><a href="/blog" class="footer-link">Blog</a></li>
|
|
|
|
<li><a href="/contribute.html" class="footer-link">Contribute</a></li>
|
|
|
|
<li><a href="/support.html" class="footer-link">Support</a></li>
|
|
|
|
</ul></nav>
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
|
|
<div class="bg-gray-100">
|
|
<div class="container mx-auto py-4 px-5 flex flex-wrap flex-col sm:flex-row">
|
|
<p class="cm-gray-3 text-sm text-center sm:text-left">© 2021 InvenTree by<a href="https://github.com/inventree" rel="noopener" class="cm-gray-2 ml-1" target="_blank">@inventree</a>— website made with ♥ by<a href="https://github.com/matmair" rel="noopener" class="cm-gray-2 ml-1" target="_blank">@matmair</a></p>
|
|
<span class="inline-flex sm:ml-auto sm:mt-0 mt-2 justify-center sm:justify-start">
|
|
<a href="https://github.com/inventree/inventree" alr="github repo" class="ml-3 cm-gray-3">
|
|
<img class="h-5 w-5" src="/assets/github.svg">
|
|
</a>
|
|
<a href="https://reddit.com/r/inventree" alr="Reddit" class="ml-3 cm-gray-3">
|
|
<img class="h-5 w-5" src="/assets/reddit.svg">
|
|
</a>
|
|
<a href="https://twitter.com/inventreedb" alr="Twitter" class="ml-3 cm-gray-3">
|
|
<img class="h-5 w-5" src="/assets/twitter.svg">
|
|
</a>
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</div>
|
|
</body>
|
|
|
|
</html> |