PHP code example of secretwebmaster / wncms-ecommerce

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

    

secretwebmaster / wncms-ecommerce example snippets

bash
composer vendor:publish --tag=wncms-ecommerce-config
php artisan migrate
php artisan db:seed --class="Secretwebmaster\\WncmsEcommerce\\Database\\Seeders\\PaymentGatewaySeeder"
bash
composer update secretwebmaster/wncms-ecommerce
php artisan migrate --force
php artisan optimize:clear
bash
php artisan db:seed --class="Secretwebmaster\\WncmsEcommerce\\Database\\Seeders\\PaymentGatewaySeeder"
bash
php artisan wncms-ecommerce:pay-order {orderSlug} {paymentGatewaySlug}
php artisan wncms-ecommerce:renew-subscriptions
php artisan wncms-ecommerce:advance-subscriptions
php artisan wncms-ecommerce:reconcile-transactions {--gateway=} {--date-from=} {--date-to=} {--json}