Ezpizee Shopping Cart documentations and guides
Learn the how to dynamically display product's price on your existing website or the website that you built using one of our CMS extensions.
Learn the how to dynamically display product's price on your existing website or the website that you built using one of our CMS extensions.
Price & Cart is done via the integration with Ezpizee StoreFront REST API. In order to integrate with Ezpizee StoreFront API, you will need the following information:
Data | Value | Notes |
---|---|---|
Environment | stage, or prod | The environment of Ezpizee StoreFront REST API. Default is: prod. |
Schema | http:// or https:// | The HTTP protocol for the Ezpizee StoreFront REST API. Default is: https:// |
Public key | UUID format | i.e. 785E6116-7666-4A21-BE5A-50A46047E9F2. Public key can be obtained via your Ezpizee's Portal. |
For Price, Cart, and any other Ezpizee StoreFront REST API to work, you need to include the following code on your page (in the <head> or <body> section).
<script src="https://cdn.ezpz.solutions/storefrontclient.min.js" type="text/javascript"></script> <script type="text/javascript"> // replace the ${env} with stage or prod EzpzStoreFront.apiEndpointHost.setHostByEnvironment("${env}"); // replace the ${schema} with http:// or https:// EzpzStoreFront.apiEndpointHost.setSchema("${schema}"); // replace the ${publicKey} with your public key EzpzStoreFront.apiEndpointMerchantPublicKey.setKey("${publicKey}"); </script>