Skip to content

coreshop/CoreShop

Folders and files

NameName
Last commit message
Last commit date
May 25, 2022
Oct 4, 2023
May 11, 2023
Jan 16, 2023
Jul 3, 2023
Sep 22, 2021
Jan 19, 2024
Jun 1, 2023
Aug 23, 2022
Jan 26, 2024
Dec 15, 2020
Dec 15, 2020
Jun 5, 2020
Oct 20, 2023
May 14, 2023
Aug 18, 2022
Mar 17, 2016
Apr 7, 2017
May 20, 2018
Jan 14, 2020
Jul 24, 2020
Jun 9, 2022
Aug 3, 2023
Dec 14, 2023
Jan 26, 2024
Dec 17, 2018
Oct 11, 2017
Aug 23, 2022
Mar 1, 2018
Aug 23, 2022
Mar 1, 2018
Jun 6, 2023
Jun 1, 2023
May 19, 2020
Jul 22, 2021
Feb 21, 2018
Dec 12, 2023
May 23, 2018
May 3, 2023
Sep 12, 2022
Jan 7, 2016
May 21, 2023
May 21, 2023
Jan 9, 2024

Repository files navigation

CoreShop


CoreShop - Pimcore eCommerce

Static Tests (Lint, Stan) Behat UI Tests Behat Tests Software License Latest Pre-Release

CoreShop is a eCommerce Platform for Pimcore.

CoreShop Interface

Requirements

  • Pimcore ^10.5

Installation

  • Allow dev version to be installed:
    composer config "minimum-stability" "dev"
    composer config "prefer-stable" "true"
    
  • Install with composer
    composer require coreshop/core-shop:^3.0
    
  • Run enable Bundle command
    php bin/console pimcore:bundle:enable CoreShopCoreBundle
    
  • Run Install Command
    php bin/console coreshop:install
    
  • Optional: Install Demo Data
    php bin/console coreshop:install:demo
    

Messenger

CoreShop also uses Symfony Messenger for async tasks like sending E-Mails or Processing DataObjects for the Index. Please run these 2 transports to process the data

bin/console messenger:consume coreshop_notification coreshop_index --time-limit=300

Further Information

Demo

You can see a running demo here CoreShop 3.x Demo

Backend Credentials

Admin: https://demo3.coreshop.org/admin

Username: admin
Password: coreshop

Running Tests Locally

Psalm

vendor/bin/psalm

PHPStan

SYMFONY_ENV=test vendor/bin/phpstan analyse -c phpstan.neon src -l 3 --memory-limit=-1

BEHAT Domain

CORESHOP_SKIP_DB_SETUP=1 PIMCORE_TEST_DB_DSN=mysql://root:ROOT@coreshop-3-mariadb/coreshop2___behat vendor/bin/behat -c behat.yml.dist -p default

BEHAT UI

vendor/bin/bdi detect drivers

# Install Pimcore and CoreShop in Test Env
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:ROOT@coreshop-3-mariadb/coreshop2___behat PIMCORE_INSTALL_ADMIN_USERNAME=admin PIMCORE_INSTALL_ADMIN_PASSWORD=admin PIMCORE_INSTALL_MYSQL_HOST_SOCKET=coreshop-3-mariadb PIMCORE_INSTALL_MYSQL_USERNAME=root PIMCORE_INSTALL_MYSQL_PASSWORD=ROOT PIMCORE_INSTALL_MYSQL_DATABASE=coreshop2___behat PIMCORE_INSTALL_MYSQL_PORT=3306 PIMCORE_KERNEL_CLASS=Kernel vendor/bin/pimcore-install --ignore-existing-config --env=test --skip-database-config
APP_ENV=test PIMCORE_CLASS_DIRECTORY=var/tmp/behat/var/classes PIMCORE_TEST_DB_DSN=mysql://root:ROOT@coreshop-3-mariadb/coreshop2___behat bin/console coreshop:install

# OUTSIDE CONTAINER
# Run Symfony Server
APP_ENV=test PIMCORE_TEST_DB_DSN=mysql://root:[email protected]:3306/coreshop2___behat symfony server:start --port=9080 --dir=public --no-tls

# Run Behat
CORESHOP_SKIP_DB_SETUP=1 PANTHER_EXTERNAL_BASE_URI=http://127.0.0.1:9080/index_test.php PANTHER_NO_HEADLESS=0 PIMCORE_TEST_DB_DSN=mysql://root:[email protected]:3306/coreshop2___behat php -d memory_limit=-1 vendor/bin/behat -c behat.yml.dist -p ui -vvv 

Copyright and license

Copyright: CoreShop GmbH For licensing details please visit LICENSE.md

Screenshots

CoreShop Interface CoreShop Interface