@@ -137,8 +137,7 @@ |
||
| 137 | 137 | $msg = $this->context()->translate( 'mshop', 'Unable to open file "%1$s"' ); |
| 138 | 138 | throw new \RuntimeException( sprintf( $msg, $file ) ); |
| 139 | 139 | } |
| 140 | - } |
|
| 141 | - else |
|
| 140 | + } else |
|
| 142 | 141 | { |
| 143 | 142 | $fh = $this->context()->fs( $fsname )->reads( $file ); |
| 144 | 143 | } |
@@ -128,7 +128,7 @@ |
||
| 128 | 128 | $this->removeRefItems( map( $item ), $domains ); |
| 129 | 129 | $manager->save( $item ); |
| 130 | 130 | } |
| 131 | - catch( \Exception $e ) { ; } // If no root node was already inserted into the database |
|
| 131 | + catch( \Exception $e ) {; } // If no root node was already inserted into the database |
|
| 132 | 132 | |
| 133 | 133 | $filter = $manager->filter() |
| 134 | 134 | ->add( 'catalog.code', '=~', 'demo-' ) |
@@ -77,9 +77,12 @@ discard block |
||
| 77 | 77 | $context = $this->context(); |
| 78 | 78 | $manager = \Aimeos\MShop::create( $context, 'catalog' ); |
| 79 | 79 | |
| 80 | - try { |
|
| 80 | + try |
|
| 81 | + { |
|
| 81 | 82 | $item = $manager->getTree( null, ['media', 'text'], \Aimeos\MW\Tree\Manager\Base::LEVEL_ONE ); |
| 82 | - } catch( \Exception $e ) { |
|
| 83 | + } |
|
| 84 | + catch( \Exception $e ) |
|
| 85 | + { |
|
| 83 | 86 | $item = $manager->insert( $manager->create()->fromArray( $data ) ); |
| 84 | 87 | } |
| 85 | 88 | |
@@ -128,7 +131,9 @@ discard block |
||
| 128 | 131 | $this->removeRefItems( map( $item ), $domains ); |
| 129 | 132 | $manager->save( $item ); |
| 130 | 133 | } |
| 131 | - catch( \Exception $e ) { ; } // If no root node was already inserted into the database |
|
| 134 | + catch( \Exception $e ) |
|
| 135 | + { |
|
| 136 | +; } // If no root node was already inserted into the database |
|
| 132 | 137 | |
| 133 | 138 | $filter = $manager->filter() |
| 134 | 139 | ->add( 'catalog.code', '=~', 'demo-' ) |
@@ -87,7 +87,7 @@ |
||
| 87 | 87 | |
| 88 | 88 | try { |
| 89 | 89 | $refItem = $refManager->find( $refItem->getCode(), [], $item->getResourceType(), $refItem->getType() ); |
| 90 | - } catch( \Exception $e ) { ; } // if not found, use the new item |
|
| 90 | + } catch( \Exception $e ) {; } // if not found, use the new item |
|
| 91 | 91 | |
| 92 | 92 | $refItem = $this->addRefItems( $refItem, $data ); |
| 93 | 93 | $item->addListItem( 'attribute', $listItem, $refItem ); |
@@ -85,9 +85,13 @@ |
||
| 85 | 85 | $listItem = $manager->createListItem()->setPosition( $idx )->fromArray( $data ); |
| 86 | 86 | $refItem = $refManager->create()->fromArray( $data ); |
| 87 | 87 | |
| 88 | - try { |
|
| 88 | + try |
|
| 89 | + { |
|
| 89 | 90 | $refItem = $refManager->find( $refItem->getCode(), [], $item->getResourceType(), $refItem->getType() ); |
| 90 | - } catch( \Exception $e ) { ; } // if not found, use the new item |
|
| 91 | + } |
|
| 92 | + catch( \Exception $e ) |
|
| 93 | + { |
|
| 94 | +; } // if not found, use the new item |
|
| 91 | 95 | |
| 92 | 96 | $refItem = $this->addRefItems( $refItem, $data ); |
| 93 | 97 | $item->addListItem( 'attribute', $listItem, $refItem ); |
@@ -843,9 +843,12 @@ discard block |
||
| 843 | 843 | |
| 844 | 844 | foreach( $sitePath as $siteId ) |
| 845 | 845 | { |
| 846 | - try { |
|
| 846 | + try |
|
| 847 | + { |
|
| 847 | 848 | $path = $this->createTreeManager( $siteId )->getPath( $id ); |
| 848 | - } catch( \Exception $e ) { |
|
| 849 | + } |
|
| 850 | + catch( \Exception $e ) |
|
| 851 | + { |
|
| 849 | 852 | continue; |
| 850 | 853 | } |
| 851 | 854 | |
@@ -889,9 +892,12 @@ discard block |
||
| 889 | 892 | |
| 890 | 893 | foreach( $sitePath as $siteId ) |
| 891 | 894 | { |
| 892 | - try { |
|
| 895 | + try |
|
| 896 | + { |
|
| 893 | 897 | $node = $this->createTreeManager( $siteId )->getNode( $id, $level, $criteria ); |
| 894 | - } catch( \Aimeos\MW\Tree\Exception $e ) { |
|
| 898 | + } |
|
| 899 | + catch( \Aimeos\MW\Tree\Exception $e ) |
|
| 900 | + { |
|
| 895 | 901 | continue; |
| 896 | 902 | } |
| 897 | 903 | |
@@ -973,8 +979,7 @@ discard block |
||
| 973 | 979 | if( $child->getParentId() !== $item->getId() ) { |
| 974 | 980 | $this->move( $child->getId(), $item->getParentId(), $child->getParentId() ); |
| 975 | 981 | } |
| 976 | - } |
|
| 977 | - else |
|
| 982 | + } else |
|
| 978 | 983 | { |
| 979 | 984 | $this->insert( $child, $item->getId() ); |
| 980 | 985 | } |
@@ -1118,8 +1123,7 @@ discard block |
||
| 1118 | 1123 | * @see mshop/catalog/manager/insert-usage/ansi |
| 1119 | 1124 | */ |
| 1120 | 1125 | $path = 'mshop/catalog/manager/update-usage'; |
| 1121 | - } |
|
| 1122 | - else |
|
| 1126 | + } else |
|
| 1123 | 1127 | { |
| 1124 | 1128 | /** mshop/catalog/manager/insert-usage/mysql |
| 1125 | 1129 | * Updates the config, editor, ctime and mtime value of an inserted record |
@@ -1183,8 +1187,7 @@ discard block |
||
| 1183 | 1187 | { |
| 1184 | 1188 | $stmt->bind( $idx++, $siteid ); |
| 1185 | 1189 | $stmt->bind( $idx++, $id, \Aimeos\Base\DB\Statement\Base::PARAM_INT ); |
| 1186 | - } |
|
| 1187 | - else |
|
| 1190 | + } else |
|
| 1188 | 1191 | { |
| 1189 | 1192 | $stmt->bind( $idx++, $context->datetime() ); // ctime |
| 1190 | 1193 | $stmt->bind( $idx++, $siteid ); |
@@ -95,8 +95,7 @@ |
||
| 95 | 95 | if( !in_array( $package->name, $filter ) ) { |
| 96 | 96 | $packageContainer[$package->file][] = $package; |
| 97 | 97 | } |
| 98 | - } |
|
| 99 | - else |
|
| 98 | + } else |
|
| 100 | 99 | { |
| 101 | 100 | $packageContainer[$package->file] = [$package]; |
| 102 | 101 | } |
@@ -7,153 +7,153 @@ |
||
| 7 | 7 | |
| 8 | 8 | return [ |
| 9 | 9 | 'attribute/type' => [ |
| 10 | - [ 'domain' => 'product', 'code' => 'download', 'label' => 'Download', 'status' => 1, 'i18n' => ['de' => 'Download'] ], |
|
| 11 | - [ 'domain' => 'product', 'code' => 'price', 'label' => 'Price', 'status' => 1, 'i18n' => ['de' => 'Preis'] ], |
|
| 12 | - [ 'domain' => 'product', 'code' => 'text', 'label' => 'Text', 'status' => 1, 'i18n' => ['de' => 'Text'] ], |
|
| 13 | - [ 'domain' => 'product', 'code' => 'date', 'label' => 'Date', 'status' => 1, 'i18n' => ['de' => 'Datum'] ], |
|
| 14 | - [ 'domain' => 'product', 'code' => 'interval', 'label' => 'Interval', 'status' => 1, 'i18n' => ['de' => 'Interval'] ], |
|
| 15 | - [ 'domain' => 'product', 'code' => 'customer/group', 'label' => 'Customer group ID', 'status' => 1 ], |
|
| 10 | + ['domain' => 'product', 'code' => 'download', 'label' => 'Download', 'status' => 1, 'i18n' => ['de' => 'Download']], |
|
| 11 | + ['domain' => 'product', 'code' => 'price', 'label' => 'Price', 'status' => 1, 'i18n' => ['de' => 'Preis']], |
|
| 12 | + ['domain' => 'product', 'code' => 'text', 'label' => 'Text', 'status' => 1, 'i18n' => ['de' => 'Text']], |
|
| 13 | + ['domain' => 'product', 'code' => 'date', 'label' => 'Date', 'status' => 1, 'i18n' => ['de' => 'Datum']], |
|
| 14 | + ['domain' => 'product', 'code' => 'interval', 'label' => 'Interval', 'status' => 1, 'i18n' => ['de' => 'Interval']], |
|
| 15 | + ['domain' => 'product', 'code' => 'customer/group', 'label' => 'Customer group ID', 'status' => 1], |
|
| 16 | 16 | ], |
| 17 | 17 | |
| 18 | 18 | 'attribute/lists/type' => [ |
| 19 | - [ 'domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 20 | - [ 'domain' => 'price', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 21 | - [ 'domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 22 | - [ 'domain' => 'upload', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 19 | + ['domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 20 | + ['domain' => 'price', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 21 | + ['domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 22 | + ['domain' => 'upload', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 23 | 23 | ], |
| 24 | 24 | |
| 25 | 25 | 'catalog/lists/type' => [ |
| 26 | - [ 'domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 27 | - [ 'domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 26 | + ['domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 27 | + ['domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 28 | 28 | ], |
| 29 | 29 | |
| 30 | 30 | 'customer/lists/type' => [ |
| 31 | - [ 'domain' => 'customer/group', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 32 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 33 | - [ 'domain' => 'product', 'code' => 'favorite', 'label' => 'Favorite', 'status' => 1 ], |
|
| 34 | - [ 'domain' => 'product', 'code' => 'watch', 'label' => 'Watch list', 'status' => 1 ], |
|
| 35 | - [ 'domain' => 'service', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 31 | + ['domain' => 'customer/group', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 32 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 33 | + ['domain' => 'product', 'code' => 'favorite', 'label' => 'Favorite', 'status' => 1], |
|
| 34 | + ['domain' => 'product', 'code' => 'watch', 'label' => 'Watch list', 'status' => 1], |
|
| 35 | + ['domain' => 'service', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 36 | 36 | ], |
| 37 | 37 | |
| 38 | 38 | 'media/type' => [ |
| 39 | - [ 'domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 40 | - [ 'domain' => 'attribute', 'code' => 'icon', 'label' => 'Icon', 'status' => 1, 'i18n' => ['de' => 'Symbol'] ], |
|
| 41 | - [ 'domain' => 'catalog', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 42 | - [ 'domain' => 'catalog', 'code' => 'stage', 'label' => 'Stage', 'status' => 1, 'i18n' => ['de' => 'Bühne'] ], |
|
| 43 | - [ 'domain' => 'catalog', 'code' => 'menu', 'label' => 'Menu', 'status' => 1, 'i18n' => ['de' => 'Menü'] ], |
|
| 44 | - [ 'domain' => 'catalog', 'code' => 'icon', 'label' => 'Icon', 'status' => 1, 'i18n' => ['de' => 'Symbol'] ], |
|
| 45 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 46 | - [ 'domain' => 'product', 'code' => 'download', 'label' => 'Download', 'status' => 1, 'i18n' => ['de' => 'Download'] ], |
|
| 47 | - [ 'domain' => 'service', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 48 | - [ 'domain' => 'service', 'code' => 'icon', 'label' => 'Icon', 'status' => 1, 'i18n' => ['de' => 'Symbol'] ], |
|
| 49 | - [ 'domain' => 'supplier', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 39 | + ['domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 40 | + ['domain' => 'attribute', 'code' => 'icon', 'label' => 'Icon', 'status' => 1, 'i18n' => ['de' => 'Symbol']], |
|
| 41 | + ['domain' => 'catalog', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 42 | + ['domain' => 'catalog', 'code' => 'stage', 'label' => 'Stage', 'status' => 1, 'i18n' => ['de' => 'Bühne']], |
|
| 43 | + ['domain' => 'catalog', 'code' => 'menu', 'label' => 'Menu', 'status' => 1, 'i18n' => ['de' => 'Menü']], |
|
| 44 | + ['domain' => 'catalog', 'code' => 'icon', 'label' => 'Icon', 'status' => 1, 'i18n' => ['de' => 'Symbol']], |
|
| 45 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 46 | + ['domain' => 'product', 'code' => 'download', 'label' => 'Download', 'status' => 1, 'i18n' => ['de' => 'Download']], |
|
| 47 | + ['domain' => 'service', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 48 | + ['domain' => 'service', 'code' => 'icon', 'label' => 'Icon', 'status' => 1, 'i18n' => ['de' => 'Symbol']], |
|
| 49 | + ['domain' => 'supplier', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 50 | 50 | ], |
| 51 | 51 | |
| 52 | 52 | 'media/property/type' => [ |
| 53 | - [ 'domain' => 'media', 'code' => 'name', 'label' => 'Media title', 'status' => 1, 'i18n' => ['de' => 'Titel'] ], |
|
| 53 | + ['domain' => 'media', 'code' => 'name', 'label' => 'Media title', 'status' => 1, 'i18n' => ['de' => 'Titel']], |
|
| 54 | 54 | ], |
| 55 | 55 | |
| 56 | 56 | 'plugin/type' => [ |
| 57 | - [ 'domain' => 'plugin', 'code' => 'order', 'label' => 'Order', 'status' => 1 ], |
|
| 57 | + ['domain' => 'plugin', 'code' => 'order', 'label' => 'Order', 'status' => 1], |
|
| 58 | 58 | ], |
| 59 | 59 | |
| 60 | 60 | 'price/type' => [ |
| 61 | - [ 'domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 62 | - [ 'domain' => 'service', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 63 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 61 | + ['domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 62 | + ['domain' => 'service', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 63 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 64 | 64 | ], |
| 65 | 65 | |
| 66 | 66 | 'product/type' => [ |
| 67 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Article', 'status' => 1, 'i18n' => ['de' => 'Artikel'] ], |
|
| 68 | - [ 'domain' => 'product', 'code' => 'bundle', 'label' => 'Bundle', 'status' => 1, 'i18n' => ['de' => 'Bündel'] ], |
|
| 69 | - [ 'domain' => 'product', 'code' => 'event', 'label' => 'Event', 'status' => 1, 'i18n' => ['de' => 'Veranstaltung'] ], |
|
| 70 | - [ 'domain' => 'product', 'code' => 'group', 'label' => 'Group', 'status' => 1, 'i18n' => ['de' => 'Gruppe'] ], |
|
| 71 | - [ 'domain' => 'product', 'code' => 'select', 'label' => 'Selection', 'status' => 1, 'i18n' => ['de' => 'Auswahl'] ], |
|
| 72 | - [ 'domain' => 'product', 'code' => 'voucher', 'label' => 'Voucher', 'status' => 1, 'i18n' => ['de' => 'Gutschein'] ], |
|
| 67 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Article', 'status' => 1, 'i18n' => ['de' => 'Artikel']], |
|
| 68 | + ['domain' => 'product', 'code' => 'bundle', 'label' => 'Bundle', 'status' => 1, 'i18n' => ['de' => 'Bündel']], |
|
| 69 | + ['domain' => 'product', 'code' => 'event', 'label' => 'Event', 'status' => 1, 'i18n' => ['de' => 'Veranstaltung']], |
|
| 70 | + ['domain' => 'product', 'code' => 'group', 'label' => 'Group', 'status' => 1, 'i18n' => ['de' => 'Gruppe']], |
|
| 71 | + ['domain' => 'product', 'code' => 'select', 'label' => 'Selection', 'status' => 1, 'i18n' => ['de' => 'Auswahl']], |
|
| 72 | + ['domain' => 'product', 'code' => 'voucher', 'label' => 'Voucher', 'status' => 1, 'i18n' => ['de' => 'Gutschein']], |
|
| 73 | 73 | ], |
| 74 | 74 | |
| 75 | 75 | 'product/lists/type' => [ |
| 76 | - [ 'domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 77 | - [ 'domain' => 'attribute', 'code' => 'config', 'label' => 'Configurable', 'status' => 1 ], |
|
| 78 | - [ 'domain' => 'attribute', 'code' => 'variant', 'label' => 'Variant', 'status' => 1 ], |
|
| 79 | - [ 'domain' => 'attribute', 'code' => 'hidden', 'label' => 'Hidden', 'status' => 1 ], |
|
| 80 | - [ 'domain' => 'attribute', 'code' => 'custom', 'label' => 'Custom value', 'status' => 1 ], |
|
| 81 | - [ 'domain' => 'catalog', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 82 | - [ 'domain' => 'catalog', 'code' => 'promotion', 'label' => 'Promotion', 'status' => 1 ], |
|
| 83 | - [ 'domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 84 | - [ 'domain' => 'price', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 85 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 86 | - [ 'domain' => 'product', 'code' => 'suggestion', 'label' => 'Suggestion', 'status' => 1 ], |
|
| 87 | - [ 'domain' => 'product', 'code' => 'bought-together', 'label' => 'Bought together', 'status' => 1 ], |
|
| 88 | - [ 'domain' => 'supplier', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 89 | - [ 'domain' => 'supplier', 'code' => 'promotion', 'label' => 'Promotion', 'status' => 1 ], |
|
| 90 | - [ 'domain' => 'tag', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 91 | - [ 'domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 76 | + ['domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 77 | + ['domain' => 'attribute', 'code' => 'config', 'label' => 'Configurable', 'status' => 1], |
|
| 78 | + ['domain' => 'attribute', 'code' => 'variant', 'label' => 'Variant', 'status' => 1], |
|
| 79 | + ['domain' => 'attribute', 'code' => 'hidden', 'label' => 'Hidden', 'status' => 1], |
|
| 80 | + ['domain' => 'attribute', 'code' => 'custom', 'label' => 'Custom value', 'status' => 1], |
|
| 81 | + ['domain' => 'catalog', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 82 | + ['domain' => 'catalog', 'code' => 'promotion', 'label' => 'Promotion', 'status' => 1], |
|
| 83 | + ['domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 84 | + ['domain' => 'price', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 85 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 86 | + ['domain' => 'product', 'code' => 'suggestion', 'label' => 'Suggestion', 'status' => 1], |
|
| 87 | + ['domain' => 'product', 'code' => 'bought-together', 'label' => 'Bought together', 'status' => 1], |
|
| 88 | + ['domain' => 'supplier', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 89 | + ['domain' => 'supplier', 'code' => 'promotion', 'label' => 'Promotion', 'status' => 1], |
|
| 90 | + ['domain' => 'tag', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 91 | + ['domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 92 | 92 | ], |
| 93 | 93 | |
| 94 | 94 | 'product/property/type' => [ |
| 95 | - [ 'domain' => 'product', 'code' => 'package-height', 'label' => 'Package height', 'status' => 1, 'i18n' => ['de' => 'Pakethöhe', 'en' => 'Package height'] ], |
|
| 96 | - [ 'domain' => 'product', 'code' => 'package-length', 'label' => 'Package length', 'status' => 1, 'i18n' => ['de' => 'Paketlänge', 'en' => 'Package length'] ], |
|
| 97 | - [ 'domain' => 'product', 'code' => 'package-width', 'label' => 'Package width', 'status' => 1, 'i18n' => ['de' => 'Paketbreite', 'en' => 'Package width'] ], |
|
| 98 | - [ 'domain' => 'product', 'code' => 'package-weight', 'label' => 'Package weight', 'status' => 1, 'i18n' => ['de' => 'Paketgewicht', 'en' => 'Package weight'] ], |
|
| 95 | + ['domain' => 'product', 'code' => 'package-height', 'label' => 'Package height', 'status' => 1, 'i18n' => ['de' => 'Pakethöhe', 'en' => 'Package height']], |
|
| 96 | + ['domain' => 'product', 'code' => 'package-length', 'label' => 'Package length', 'status' => 1, 'i18n' => ['de' => 'Paketlänge', 'en' => 'Package length']], |
|
| 97 | + ['domain' => 'product', 'code' => 'package-width', 'label' => 'Package width', 'status' => 1, 'i18n' => ['de' => 'Paketbreite', 'en' => 'Package width']], |
|
| 98 | + ['domain' => 'product', 'code' => 'package-weight', 'label' => 'Package weight', 'status' => 1, 'i18n' => ['de' => 'Paketgewicht', 'en' => 'Package weight']], |
|
| 99 | 99 | ], |
| 100 | 100 | |
| 101 | 101 | 'rule/type' => [ |
| 102 | - [ 'domain' => 'rule', 'code' => 'catalog', 'label' => 'Catalog', 'status' => 1 ], |
|
| 102 | + ['domain' => 'rule', 'code' => 'catalog', 'label' => 'Catalog', 'status' => 1], |
|
| 103 | 103 | ], |
| 104 | 104 | |
| 105 | 105 | 'stock/type' => [ |
| 106 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 106 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 107 | 107 | ], |
| 108 | 108 | |
| 109 | 109 | 'service/type' => [ |
| 110 | - [ 'domain' => 'service', 'code' => 'payment', 'label' => 'Payment', 'status' => 1, 'i18n' => ['de' => 'Zahlung'] ], |
|
| 111 | - [ 'domain' => 'service', 'code' => 'delivery', 'label' => 'Delivery', 'status' => 1, 'i18n' => ['de' => 'Versand'] ], |
|
| 110 | + ['domain' => 'service', 'code' => 'payment', 'label' => 'Payment', 'status' => 1, 'i18n' => ['de' => 'Zahlung']], |
|
| 111 | + ['domain' => 'service', 'code' => 'delivery', 'label' => 'Delivery', 'status' => 1, 'i18n' => ['de' => 'Versand']], |
|
| 112 | 112 | ], |
| 113 | 113 | |
| 114 | 114 | 'service/lists/type' => [ |
| 115 | - [ 'domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 116 | - [ 'domain' => 'price', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 117 | - [ 'domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 115 | + ['domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 116 | + ['domain' => 'price', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 117 | + ['domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 118 | 118 | ], |
| 119 | 119 | |
| 120 | 120 | 'supplier/lists/type' => [ |
| 121 | - [ 'domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 122 | - [ 'domain' => 'product', 'code' => 'promotion', 'label' => 'Promotion', 'status' => 1 ], |
|
| 123 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 124 | - [ 'domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 125 | - [ 'domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 121 | + ['domain' => 'attribute', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 122 | + ['domain' => 'product', 'code' => 'promotion', 'label' => 'Promotion', 'status' => 1], |
|
| 123 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 124 | + ['domain' => 'media', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 125 | + ['domain' => 'text', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 126 | 126 | ], |
| 127 | 127 | |
| 128 | 128 | 'tag/type' => [ |
| 129 | - [ 'domain' => 'catalog', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 130 | - [ 'domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1 ], |
|
| 129 | + ['domain' => 'catalog', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 130 | + ['domain' => 'product', 'code' => 'default', 'label' => 'Standard', 'status' => 1], |
|
| 131 | 131 | ], |
| 132 | 132 | |
| 133 | 133 | 'text/type' => [ |
| 134 | - [ 'domain' => 'attribute', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name'] ], |
|
| 135 | - [ 'domain' => 'attribute', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung'] ], |
|
| 136 | - [ 'domain' => 'attribute', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung'] ], |
|
| 137 | - [ 'domain' => 'catalog', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name'] ], |
|
| 138 | - [ 'domain' => 'catalog', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung'] ], |
|
| 139 | - [ 'domain' => 'catalog', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung'] ], |
|
| 140 | - [ 'domain' => 'catalog', 'code' => 'url', 'label' => 'URL segment', 'status' => 1, 'i18n' => ['de' => 'URL-Segment'] ], |
|
| 141 | - [ 'domain' => 'catalog', 'code' => 'meta-title', 'label' => 'Meta title', 'status' => 1, 'i18n' => ['de' => 'Meta-Titel'] ], |
|
| 142 | - [ 'domain' => 'catalog', 'code' => 'meta-keyword', 'label' => 'Meta keywords', 'status' => 1, 'i18n' => ['de' => 'Meta-Schlüsselwörter'] ], |
|
| 143 | - [ 'domain' => 'catalog', 'code' => 'meta-description', 'label' => 'Meta description', 'status' => 1, 'i18n' => ['de' => 'Meta-Beschreibung'] ], |
|
| 144 | - [ 'domain' => 'product', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name'] ], |
|
| 145 | - [ 'domain' => 'product', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung'] ], |
|
| 146 | - [ 'domain' => 'product', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung'] ], |
|
| 147 | - [ 'domain' => 'product', 'code' => 'url', 'label' => 'URL segment', 'status' => 1, 'i18n' => ['de' => 'URL-Segment'] ], |
|
| 148 | - [ 'domain' => 'product', 'code' => 'meta-title', 'label' => 'Meta title', 'status' => 1, 'i18n' => ['de' => 'Meta-Titel'] ], |
|
| 149 | - [ 'domain' => 'product', 'code' => 'meta-keyword', 'label' => 'Meta keywords', 'status' => 1, 'i18n' => ['de' => 'Meta-Schlüsselwörter'] ], |
|
| 150 | - [ 'domain' => 'product', 'code' => 'meta-description', 'label' => 'Meta description', 'status' => 1, 'i18n' => ['de' => 'Meta-Beschreibung'] ], |
|
| 151 | - [ 'domain' => 'product', 'code' => 'basket', 'label' => 'Basket description', 'status' => 1, 'i18n' => ['de' => 'Warenkorb-Beschreibung'] ], |
|
| 152 | - [ 'domain' => 'service', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name'] ], |
|
| 153 | - [ 'domain' => 'service', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung'] ], |
|
| 154 | - [ 'domain' => 'service', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung'] ], |
|
| 155 | - [ 'domain' => 'supplier', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name'] ], |
|
| 156 | - [ 'domain' => 'supplier', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung'] ], |
|
| 157 | - [ 'domain' => 'supplier', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung'] ], |
|
| 134 | + ['domain' => 'attribute', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name']], |
|
| 135 | + ['domain' => 'attribute', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung']], |
|
| 136 | + ['domain' => 'attribute', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung']], |
|
| 137 | + ['domain' => 'catalog', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name']], |
|
| 138 | + ['domain' => 'catalog', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung']], |
|
| 139 | + ['domain' => 'catalog', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung']], |
|
| 140 | + ['domain' => 'catalog', 'code' => 'url', 'label' => 'URL segment', 'status' => 1, 'i18n' => ['de' => 'URL-Segment']], |
|
| 141 | + ['domain' => 'catalog', 'code' => 'meta-title', 'label' => 'Meta title', 'status' => 1, 'i18n' => ['de' => 'Meta-Titel']], |
|
| 142 | + ['domain' => 'catalog', 'code' => 'meta-keyword', 'label' => 'Meta keywords', 'status' => 1, 'i18n' => ['de' => 'Meta-Schlüsselwörter']], |
|
| 143 | + ['domain' => 'catalog', 'code' => 'meta-description', 'label' => 'Meta description', 'status' => 1, 'i18n' => ['de' => 'Meta-Beschreibung']], |
|
| 144 | + ['domain' => 'product', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name']], |
|
| 145 | + ['domain' => 'product', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung']], |
|
| 146 | + ['domain' => 'product', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung']], |
|
| 147 | + ['domain' => 'product', 'code' => 'url', 'label' => 'URL segment', 'status' => 1, 'i18n' => ['de' => 'URL-Segment']], |
|
| 148 | + ['domain' => 'product', 'code' => 'meta-title', 'label' => 'Meta title', 'status' => 1, 'i18n' => ['de' => 'Meta-Titel']], |
|
| 149 | + ['domain' => 'product', 'code' => 'meta-keyword', 'label' => 'Meta keywords', 'status' => 1, 'i18n' => ['de' => 'Meta-Schlüsselwörter']], |
|
| 150 | + ['domain' => 'product', 'code' => 'meta-description', 'label' => 'Meta description', 'status' => 1, 'i18n' => ['de' => 'Meta-Beschreibung']], |
|
| 151 | + ['domain' => 'product', 'code' => 'basket', 'label' => 'Basket description', 'status' => 1, 'i18n' => ['de' => 'Warenkorb-Beschreibung']], |
|
| 152 | + ['domain' => 'service', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name']], |
|
| 153 | + ['domain' => 'service', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung']], |
|
| 154 | + ['domain' => 'service', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung']], |
|
| 155 | + ['domain' => 'supplier', 'code' => 'name', 'label' => 'Name', 'status' => 1, 'i18n' => ['de' => 'Name']], |
|
| 156 | + ['domain' => 'supplier', 'code' => 'short', 'label' => 'Short description', 'status' => 1, 'i18n' => ['de' => 'Kurzbeschreibung']], |
|
| 157 | + ['domain' => 'supplier', 'code' => 'long', 'label' => 'Long description', 'status' => 1, 'i18n' => ['de' => 'Langbeschreibung']], |
|
| 158 | 158 | ], |
| 159 | 159 | ]; |