Aby zainstalowac Hedwige umiesc nastepujacy tag na koncu body swojego index.html:
<script src="https://hedwiga.ohi.com.pl/s.min.js"></script>
Dodatkowo w celu w pelni odwzorowania kafelek uzywanych w sklepach OHI nalezy pobrac na strone nastepujace fonty:
<link href="https://fonts.googleapis.com/css?family=PT+Sans&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Encode+Sans:400,800&display=swap" rel="stylesheet">
Aby uzyc Hedwigi skorzystaj z nastepujacego tagu:
<div class="ohi-product-card" data-product-id="405138657" data-store="dg"></div>
Gdzie data-product-id to ID produktu, a data-store to dwuliterowy skrot sklepu, np. ap, dg, lm, ol
<div class="ohi-product-card" data-product-id="221" data-store="ap"><div>
<div class="ohi-product-card" data-product-id="138" data-store="ap"><div>
<div class="ohi-product-card" data-product-id="258" data-store="ap"><div>
<div class="ohi-product-card" data-product-id="157" data-store="ap"><div>