PHP code example of siripravi / luya-module-ecommerce
1. Go to this page and download the library: Download siripravi/luya-module-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/ */
siripravi / luya-module-ecommerce example snippets
return [
'modules' => [
// ...
'catalogfrontend' => [
'class' => 'siripravi\ecommerce\frontend\Module',
'useAppViewPath' => true, // When enabled the views will be looked up in the @app/views folder, otherwise the views shipped with the module will be used.
],
'catalogadmin' => 'siripravi\ecommerce\admin\Module',
// ...
],
];