PHP code example of basket / add-to-basket

1. Go to this page and download the library: Download basket/add-to-basket library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

basket / add-to-basket example snippets


ADD_TO_BASKET_API_KEY=xxx

ADD_TO_BASKET_ENVIRONMENT=staging