GithubHelp home page GithubHelp logo

aimeos / aimeos-typo3-dist Goto Github PK

View Code? Open in Web Editor NEW
7.0 4.0 6.0 1.41 MB

TYPO3 e-commerce distribution for high performance web shops

Home Page: https://aimeos.org/TYPO3

License: GNU General Public License v3.0

PHP 98.54% HTML 1.46%

aimeos-typo3-dist's Introduction

Aimeos logo

Aimeos online shop distribution for TYPO3

The distribution package provides an out of the box web shop based on the the Aimeos online shop extension for TYPO3. The package contains a pre-configured, full featured shop including faceted search, product listings and detail views as well as baskets, coupon handling the checkout process and all e-mail handling for notifying the customers.

Table of contents

Installation

From TER

For non-composer installations, you can install the Aimeos distribution using the Extension manager. You can choose Aimeos from the list of available distributions:

TYPO3 distributions

Alternatively, you can download the Aimeos TYPO3 distribution package from the TER.

Composer

Note: You need composer 2.2+ to install the latest version of Aimeos.

To install TYPO3 via composer, execute this at the command line

wget https://getcomposer.org/download/latest-stable/composer.phar -O composer
php composer create-project "typo3/cms-base-distribution:^12.4" myshop

to install the required TYPO3 packages. Afterwards, you have to create the FIRST_INSTALL file to be able to run the setup process:

cd myshop
touch public/FIRST_INSTALL

For local installations, you can fire up the internal PHP web server

php -d memory_limit=256M -d max_execution_time=240 -d max_input_vars=1500 -S 127.0.0.1:8000 -t public

and open the URL ("http://127.0.0.1:8000") in your web browser. If you use Apache or another web server, head over directly to the URL your installation is reachable directly without starting the PHP wev server. Complete the TYPO3 setup process before you continue to install the Aimeos distribution.

Now install the Aimeos distribution for TYPO3 via command line:

composer req -W aimeos/aimeos_dist

Then, activate the extensions and update the database:

./vendor/bin/typo3 extension:setup
./vendor/bin/typo3 aimeos:setup --option=setup/default/demo:1

If you don't want to import the demo data, leave out --option=setup/default/demo:1. Afterwards, your Aimeos installation is complete and you can check the frontend and log into the TYPO3 backend.

License

The Aimeos TYPO3 distribution is licensed under the terms of the GPL Open Source license and is available for free.

Links

aimeos-typo3-dist's People

Contributors

aimeos avatar gilbertsoft avatar phasenraum2010 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

aimeos-typo3-dist's Issues

constants.txt contents not generated on first install

If I am not mistaken, the command ./vendor/bin/typo3 extension:activate aimeos_dist should take care of installing the dependencies and generating the page tree of a aimeos distribution that was created via composer.

Reading through the Setup class and its process function, it should also generate the appropriate constants.txt contents, but this does not happen in the first step. Instead, the aimeos_dist extension has to uninstalled and then reinstalled again - then the contstants.txt is populated with the appropriate page uids.

Do I have to change my "install behaviour"? Or is the "uninstall-reinstall" step part of the setup nature of a distribution?

I use TYPO3 9.5.9 (composer installation) and aimeos_dist 19.4 on a php 7.2.22 environment.

EDIT:
Deactivating and activating aimeos_dist via the typo3 command line (extension:deactivate and extension:activate) does NOT update constants.txt.

get Cannot assign string to property Aimeos\MShop\Customer\Manager\Typo3::$pid of type int after install

Hi,

when i will checkout i get this error.

in /html/typo3/typo3conf/ext/aimeos/Resources/Libraries/aimeos/ai-typo3/src/MShop/Customer/Manager/Typo3.php line 307
   * @param int TYPO3 page ID
   * @since 2016.10
   * @see mshop/customer/manager/group/typo3/pid-default
   */
  $this->pid = $context->config()->get( 'mshop/customer/manager/typo3/pid-default', 0 );


  $level = \Aimeos\MShop\Locale\Manager\Base::SITE_ALL;
  $level = $context->config()->get( 'mshop/customer/manager/sitemode', $level );

thx for advice

FE will break on TYPO3 8.6.1 and realurl

This is not an issue which directly can be assigned to aimeos-dist, it's generated by bootstrap_package. But since you are recommending realurl and depend on bootstrap_package, it could be a option to correct that in aimeos-dist. So everybody is able to use it with T3 8.6.1 next month :-)

Situation:
bootstrap_package defines 3 languages in page.10.dataProcessing.40.special.value (and popup....) but does not add this 3 languages to sys_languages. So DmitryDulepov\Realurl\Configuration\AutomaticConfigurator->addLanguages has no effect and will not add the required config by default. The FE breaks with an Exception: RealURL could not process "/index.php?id=1&L=2" because "L" parameter is invalid.

I'm supecting this will be fixed in the next bootstrap_package release for 8.6.1, but until then there are two possible fixes:

  • adding the languages (en, de, da) to sys_languages
  • deleting page.10.dataProcessing.40.special.value

Because Aimeos not realy uses this languages the second one is my prefered solution.

As I see you add "lib.languages >" to ts setup but this has no effect since bootstrap_package 7. Instead add this two lines to ts setup:
page.10.dataProcessing.40.special.value >
popup.10.dataProcessing.40.special.value >

But then still a line with the English language remains in the FE. To remove this too add this line to ts constants:
page.theme.metasection.enable = 0

What do you think?

Logo is not shown

Change ts constants to:
page.logo.height = 40
page.logo.width = 125

Install fails on TYPO3 8.6.1

Message:
Could not install distribution 'bootstrap_package'
Your TYPO3 version is higher than this extension requires. It requires TYPO3 versions 7.6.2 - 8.5.99

bootstrap_package 7.0.5 supports version 8.6.1. I'm currently testing this combination...

Import of 22.10+ page tree fails with "503 Oops, an error occurred!" in TYPO3 v11

I followed the installation guides and everything worked fine until the page-tree import of 22.10+

503 Oops, an error occurred!

TYPO3\CMS\Core\DataHandling\DataHandler::addDefaultPermittedLanguageIfNotSet(): Argument #3 ($pageId) must be of type int, null given, called in /var/www/html/public/typo3/sysext/core/Classes/DataHandling/DataHandler.php on line 944

At the first function-call of DataHandler::process_datamap(), line 930 $theRealPid = $fieldArray['pid']; still has a value, but on the next call, $theRealPid becomes null because the value is missing. Not sure if this is an issue with the import-extension or the provided import-file.

System:
TYPO3: v11.5.26
aimeos: v22.10.7
aimeos_dist: v22.10.1
PHP: v8.1
Webserver: Apache2 (DDEV)

Don't use no_cache param

Remove no cache option from pages count, stock, suggest and update in initial page tree import.

What about existing installations? Perhaps an update script removing the flag from these pages should be written or a hint in the update instructions.

Cannot install with Composer

{
  "minimum-stability": "dev",
  "prefer-stable": true,
  "repositories": [
    {
      "type": "composer",
      "url": "https://composer.typo3.org/"
    }
  ],
  "require": {
    "typo3/cms": "8.*",
    "aimeos/aimeos-typo3-dist": "~2017.10"
  },
  "scripts": {
    "post-install-cmd": [
      "Aimeos\\Aimeos\\Custom\\Composer::install"
    ],
    "post-update-cmd": [
      "Aimeos\\Aimeos\\Custom\\Composer::install"
    ]
  }
}

I always run into constraint issues:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package aimeos/aimeos-typo3-dist ~2017.10 exists as aimeos/aimeos-typo3-dist[17.10.0, 17.10.1, 17.10.2, 17.7.0, dev-master] but these are rejected by your constraint.

But why? "aimeos/aimeos-typo3": "~2017.10" installs fine.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.