First upload

This commit is contained in:
Nikolai Fesenko
2025-02-02 13:37:56 +01:00
commit 8d227c9191
3281 changed files with 362319 additions and 0 deletions

BIN
shop/source/modules/otest/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,10 @@
<?php
namespace o3test\Model;
class Article extends Article_parent
{
public function getTestField()
{
return $this->getFieldData('oxtestfield');
}
}

View File

@@ -0,0 +1,25 @@
<?php
/**
* Metadata for module
*/
$sMetadataVersion = '2.0';
$aModule = [
'id' => 'otest',
'title' => 'O3 Testmodul',
'description' => 'neu Feld',
'version' => '1.0.0',
'author' => 'Mykola Fesenko',
'extend' => [
"OxidEsales\Eshop\Application\Model\Article" => "otest\Model\Article",
],
'templates' => [],
'blocks' => [
[
'template' => 'page/details/inc/productmain.tpl',
'block' => 'details_productmain_longdesc',
'file' => 'views/blocks/o3test_productmain.tpl'
],
],
'settings' => [],
];