fbpx

<div id='collection-component-b2a0b0a82e7'></div>
<script type="text/javascript">
/*<![CDATA[*/

(function () {
  var scriptURL = 'https://sdks.shopifycdn.com/buy-button/latest/buy-button-storefront.min.js';
  if (window.ShopifyBuy) {
    if (window.ShopifyBuy.UI) {
      ShopifyBuyInit();
    } else {
      loadScript();
    }
  } else {
    loadScript();
  }

  function loadScript() {
    var script = document.createElement('script');
    script.async = true;
    script.src = scriptURL;
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(script);
    script.onload = ShopifyBuyInit;
  }

  function ShopifyBuyInit() {
    var client = ShopifyBuy.buildClient({
      domain: 'moblots.myshopify.com',
      apiKey: 'ef3c5c6beea5368bf0b1c014073ee5ce',
      appId: '6',
    });

    ShopifyBuy.UI.onReady(client).then(function (ui) {
      ui.createComponent('collection', {
        id: 39202684964,
        node: document.getElementById('collection-component-b2a0b0a82e7'),
        moneyFormat: '%24%7B%7Bamount%7D%7D',
        options: {
  "product": {
    "buttonDestination": "modal",
    "variantId": "all",
    "contents": {
      "imgWithCarousel": false,
      "variantTitle": false,
      "options": false,
      "description": false,
      "buttonWithQuantity": false,
      "quantity": false
    },
    "text": {
      "button": "VIEW PRODUCT"
    },
    "styles": {
      "product": {
        "text-align": "left",
        "@media (min-width: 601px)": {
          "max-width": "calc(25% - 20px)",
          "margin-left": "20px",
          "margin-bottom": "50px"
        }
      },
      "button": {
        "background-color": "#f00a0e",
        "font-family": "Lato, sans-serif",
        ":hover": {
          "background-color": "#d8090d"
        },
        ":focus": {
          "background-color": "#d8090d"
        },
        "font-weight": "bold"
      },
      "variantTitle": {
        "font-family": "Lato, sans-serif",
        "font-weight": "normal"
      },
      "title": {
        "font-family": "Lato, sans-serif",
        "font-size": "20px"
      },
      "description": {
        "font-family": "Lato, sans-serif",
        "font-weight": "normal"
      },
      "price": {
        "font-family": "Lato, sans-serif",
        "font-size": "18px",
        "font-weight": "normal"
      },
      "compareAt": {
        "font-family": "Lato, sans-serif",
        "font-weight": "normal",
        "font-size": "15.299999999999999px"
      }
    },
    "googleFonts": [
      "Lato",
      "Lato",
      "Lato",
      "Lato",
      "Lato",
      "Lato"
    ]
  },
  "cart": {
    "contents": {
      "button": true
    },
    "styles": {
      "button": {
        "background-color": "#f00a0e",
        "font-family": "Lato, sans-serif",
        ":hover": {
          "background-color": "#d8090d"
        },
        ":focus": {
          "background-color": "#d8090d"
        },
        "font-weight": "bold"
      },
      "footer": {
        "background-color": "#ffffff"
      }
    },
    "googleFonts": [
      "Lato"
    ]
  },
  "modalProduct": {
    "contents": {
      "img": false,
      "imgWithCarousel": true,
      "variantTitle": false,
      "buttonWithQuantity": true,
      "button": false,
      "quantity": false
    },
    "styles": {
      "product": {
        "@media (min-width: 601px)": {
          "max-width": "100%",
          "margin-left": "0px",
          "margin-bottom": "0px"
        }
      },
      "button": {
        "background-color": "#f00a0e",
        "font-family": "Lato, sans-serif",
        ":hover": {
          "background-color": "#d8090d"
        },
        ":focus": {
          "background-color": "#d8090d"
        },
        "font-weight": "bold"
      },
      "variantTitle": {
        "font-family": "Lato, sans-serif",
        "font-weight": "normal"
      },
      "title": {
        "font-family": "Lato, sans-serif"
      },
      "description": {
        "font-family": "Lato, sans-serif",
        "font-weight": "normal"
      },
      "price": {
        "font-family": "Lato, sans-serif",
        "font-weight": "normal"
      },
      "compareAt": {
        "font-family": "Lato, sans-serif",
        "font-weight": "normal"
      }
    },
    "googleFonts": [
      "Lato",
      "Lato",
      "Lato",
      "Lato",
      "Lato",
      "Lato"
    ]
  },
  "toggle": {
    "styles": {
      "toggle": {
        "font-family": "Lato, sans-serif",
        "background-color": "#f00a0e",
        ":hover": {
          "background-color": "#d8090d"
        },
        ":focus": {
          "background-color": "#d8090d"
        },
        "font-weight": "bold"
      }
    },
    "googleFonts": [
      "Lato"
    ]
  },
  "option": {
    "styles": {
      "label": {
        "font-family": "Lato, sans-serif"
      },
      "select": {
        "font-family": "Lato, sans-serif"
      }
    },
    "googleFonts": [
      "Lato",
      "Lato"
    ]
  },
  "productSet": {
    "styles": {
      "products": {
        "@media (min-width: 601px)": {
          "margin-left": "-20px"
        }
      }
    }
  }
}
      });
    });
  }
})();
/*]]>*/
</script>

0 Comments

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Send this to a friend