PHP code example of custobar / custobar_m2_custoconnector

1. Go to this page and download the library: Download custobar/custobar_m2_custoconnector 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/ */

    

custobar / custobar_m2_custoconnector example snippets

js
// remove these
cstbrConfig.productId = 'place_product_id_here';
cstbrConfig.customerId = 'place_customer_id_here';