MobileCartCoreBundle
This is the core of Mobile Cart., (*1)
Mobile Cart is an E-Commerce Shopping Cart package built with PHP ; on the Symfony Framework ., (*2)
The Admin Theme is here:, (*3)
https://github.com/mobilecart/mobilecartadminbundle, (*4)
The Default Frontend Theme is here:, (*5)
https://github.com/mobilecart/mobilecartfrontendbundle, (*6)
Directions:, (*7)
After a fresh install of Symfony 2.8:, (*8)
Now, we can install Mobile Cart, (*9)
$ composer require mobilecart/corebundle:dev-master, (*10)
Install this bundle into Symfony 2.8 (add the bundle to app/AppKernel.php), (*11)
$bundles = array(, (*12)
..., (*13)
new MobileCart\CoreBundle\MobileCartCoreBundle(),, (*14)
);, (*15)
Run some console commands:, (*16)
$ ./app/console doctrine:schema:create, (*17)
$ ./app/console cart:init:itemvarsets, (*18)
$ ./app/console cart:ref:regions, (*19)
$ cp vendor/mobilecart/corebundle/Resources/config/security.yml ./app/config/, (*20)
$ cp vendor/mobilecart/corebundle/Resources/config/routing.yml ./app/config/, (*21)
$ ./app/console cart:create:adminuser admin@fake.com passw0rd, (*22)
$ ./app/console cart:create:customer customer@fake.com passw0rd, (*23)
Next, we can install the Admin and Frontend themes, (*24)
$ composer require mobilecart/adminbundle:dev-master, (*25)
$ composer require mobilecart/frontendbundle:dev-master, (*26)
Install these bundles into Symfony 2.8 (add the bundle to app/AppKernel.php), (*27)
$bundles = array(, (*28)
..., (*29)
new MobileCart\CoreBundle\MobileCartAdminBundle(),, (*30)
new MobileCart\CoreBundle\MobileCartFrontendBundle(),, (*31)
);, (*32)
$ ./app/console assets:install --symlink, (*33)
..., (*34)
Note: if you receive a MySQL error which looks like: "ORDER BY clause is not in SELECT list,
references column X which is not in SELECT list; this is incompatible with DISTINCT" .. ,
it is because the Paginator in Doctrine 2.5.x does not yet handle this "bug" which is specific to MySQL 5.7, (*35)