A Pen by Abteilung für Gestaltung GmbH

Thumbnail
This awesome code was written by abteilung, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright abteilung ©

Technologies

  • HTML
  • CSS
  • JavaScript
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.2.2/jquery.min.js"></script>

<script src="https://cdn.snipcart.com/scripts/2.0/snipcart.js" data-api-key="Mjg2M2NhMDMtZTk1Ny00MDU2LThkMjQtMjJiZjEyZTg3ODIyNjM2MzA4MjMxMzcyNzEzOTYy" id="snipcart" data-autopop="true"></script>

<div class="container">
  
  <br>
  <br>
  <h1>Shop-Demo</h1>
  <br>

  <button
    class="snipcart-add-item btn btn-info"
    data-item-id="2"
    data-item-name="Bacon"
    data-item-price="3.00"
    data-item-weight="20"
    data-item-url="http://myapp.com/products/bacon"
    data-item-description="Some fresh bacon">
        Artikel
  </button>

  <button
    class="snipcart-add-item btn btn-info"
    data-item-id="5"
    data-item-name="Bacon and Ham"
    data-item-price="7.00"
    data-item-weight="10"
    data-item-url="http://myapp.com/products/bacon"
    data-item-description="Some fresh Hamilton">
        Ein anderer Artikel
  </button>
  <br>
  <br>
  <div class="snipcart-summary">
      Number of items: <span class="snipcart-total-items"></span>
      Total price: <span class="snipcart-total-price"></span>
  </div>


  <br>

  <a href="#" class="snipcart-checkout">Click here to checkout</a>
</div>

/*Downloaded from https://www.codeseek.co/abteilung/a-pen-by-abteilung-fandxfcr-gestaltung-gmbh-PRZNKz */
    


/*Downloaded from https://www.codeseek.co/abteilung/a-pen-by-abteilung-fandxfcr-gestaltung-gmbh-PRZNKz */
    

Comments