Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snipcart + Liebling: match made in heaven #188

Open
hiensarahly opened this issue May 16, 2020 · 6 comments
Open

Snipcart + Liebling: match made in heaven #188

hiensarahly opened this issue May 16, 2020 · 6 comments

Comments

@hiensarahly
Copy link
Contributor

Hi, I鈥檓 not raising any issue, everything is ok 馃構 Just wanted to let you know Liebling works well & looks awesome with Snipcart E-Commerce integration. Out of the 3 themes I tried, this is the one. Much love, be well! 鉂わ笍鉂わ笍馃槆

@eddiesigner
Copy link
Owner

Thanks for using Liebling! Please let me see it in action (if possible) 馃檹 I would really like to see how it looks like, I've never tried that!

@hiensarahly
Copy link
Contributor Author

hiensarahly commented Jun 1, 2020

Here you go: https://domain-change.com/dummy-page/
You can test it however you like. They have a test API that's free forever for testing. :)

@eddiesigner
Copy link
Owner

馃槸 This is so cool! I played a bit with it and looks pretty nice, thanks for sharing! :)

@pascalandy
Copy link

pascalandy commented Jan 12, 2021

@hiensarahly do you have a git repo for this project? Also, I guess https://zenyrgarden.com/dummy-page/ is not active anymore.

Thanks!

@hiensarahly
Copy link
Contributor Author

@pascalandy I don't now -- I'm not using SnipCart at the moment. But it should be a breeze to add. You could try it on your local ghost server, these are the steps I do if it helps:

  1. Add css to code injection header:
    <link rel="stylesheet" href="https://cdn.snipcart.com/themes/v3.0.27/default/snipcart.css" />
  2. Add js to code injection footer:
<script async src="https://cdn.snipcart.com/themes/v3.0.27/default/snipcart.js"></script>
<div id="snipcart" data-config-modal-style="side" data-api-key="YOUR_SNIPCART_TEST_API_KEY" hidden></div>
  1. Make a page/post in Ghost editor with this example HTML:
<a href="#"
    class="snipcart-add-item"
    data-item-id="1"
    data-item-name="[DEMO] DC vs Marvel Bundle: Collector's Edition"
    data-item-price="1200.00"
    data-item-weight="20"
    data-item-url="localhost:2368/seller"
    data-item-description="A cool comics bundle for cool collectors. This isn't a real product, it's for a demo."
    data-item-image="https://upload.wikimedia.org/wikipedia/en/6/63/DC_Versus_Marvel_1.jpg">
   buy the bundle here
</a>

The product will be automatically fetched in your SnipCart dashboard (specifically the Products section on the sidebar).

And voila, enjoy your new sales page:

Sales page:
01 buy-bundle

The checkout page:
02 check-out

I hope this helps!

@pascalandy
Copy link

Alright! I see some docs here as well https://ghost.org/integrations/snipcart/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants