getContent() );
}
public function testUpdateAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\CheckoutController@updateAction', ['site' => 'unittest'], ['code' => 'paypalexpress'] );
$this->assertResponseOk();
$this->assertEquals( '', $response->getContent() );
}
}
================================================
FILE: tests/Controller/GraphqlControllerTest.php
================================================
'unittest'];
$body = '{"query":"query {\n findProduct(code: \"CNC\") {\n id\n code\n }\n}\n","variables":{},"operationName":null}';
$response = $this->action( 'POST', '\Aimeos\Shop\Controller\GraphqlController@indexAction', $params, [], [], [], [], $body );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
}
}
================================================
FILE: tests/Controller/JqadmControllerTest.php
================================================
action( 'GET', '\Aimeos\Shop\Controller\JqadmController@fileAction', ['site' => 'unittest', 'name' => 'index-css', 'locale' => 'en'] );
$this->assertResponseOk();
$this->assertStringContainsString( '.aimeos', $response->getContent() );
}
public function testFileActionJs()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@fileAction', ['site' => 'unittest', 'name' => 'index-js', 'locale' => 'en'] );
$this->assertResponseOk();
$this->assertStringContainsString( 'Aimeos = {', $response->getContent() );
}
public function testBatchAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'product', 'id' => ['0', '1']];
$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JqadmController@batchAction', $params );
$this->assertEquals( 302, $response->getStatusCode() );
}
public function testCopyAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'product', 'id' => '0'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@copyAction', $params );
$this->assertEquals( 200, $response->getStatusCode() );
$this->assertStringContainsString( 'item-product', $response->getContent() );
}
public function testCreateAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'product'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@createAction', $params );
$this->assertEquals( 200, $response->getStatusCode() );
$this->assertStringContainsString( 'list-items', $response->getContent() );
}
public function testDeleteAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$this->app['session']->setPreviousUrl( 'http://localhost/unittest' );
$params = ['site' => 'unittest', 'resource' => 'product', 'id' => '0'];
$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JqadmController@deleteAction', $params );
$this->assertEquals( 302, $response->getStatusCode() );
}
public function testExportAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'order'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@exportAction', $params );
$this->assertEquals( 200, $response->getStatusCode() );
$this->assertStringContainsString( 'list-items', $response->getContent() );
}
public function testGetAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'product', 'id' => '0'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@getAction', $params );
$this->assertEquals( 200, $response->getStatusCode() );
$this->assertStringContainsString( 'item-product', $response->getContent() );
}
public function testSaveAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$this->app['session']->setPreviousUrl( 'http://localhost/unittest' );
$params = ['site' => 'unittest', 'resource' => 'product', 'item' => ['product.code' => 'jqadmSaveTest']];
$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JqadmController@saveAction', $params );
$this->assertEquals( 302, $response->getStatusCode() );
}
public function testSearchAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'product'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@searchAction', $params );
$this->assertEquals( 200, $response->getStatusCode() );
$this->assertStringContainsString( 'list-items', $response->getContent() );
}
public function testSearchActionSite()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'invalid', 'resource' => 'product'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JqadmController@searchAction', $params );
$this->assertEquals( 500, $response->getStatusCode() );
}
}
================================================
FILE: tests/Controller/JsonadmControllerTest.php
================================================
app['session']->setPreviousUrl( 'http://localhost/unittest' );
$params = ['site' => 'unittest', 'resource' => 'product'];
$response = $this->action( 'OPTIONS', '\Aimeos\Shop\Controller\JsonadmController@optionsAction', $params );
$json = json_decode( $response->getContent(), true );
$this->assertNotNull( $json );
$this->assertEquals( 200, $response->getStatusCode() );
$this->assertArrayHasKey( 'resources', $json['meta'] );
$this->assertGreaterThan( 1, count( $json['meta']['resources'] ) );
$params = ['site' => 'unittest'];
$response = $this->action( 'OPTIONS', '\Aimeos\Shop\Controller\JsonadmController@optionsAction', $params );
$json = json_decode( $response->getContent(), true );
$this->assertNotNull( $json );
$this->assertEquals( 200, $response->getStatusCode() );
$this->assertArrayHasKey( 'resources', $json['meta'] );
$this->assertGreaterThan( 1, count( $json['meta']['resources'] ) );
}
public function testActionsSingle()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$this->app['session']->setPreviousUrl( 'http://localhost/unittest' );
$params = ['site' => 'unittest', 'resource' => 'stock/type'];
$content = '{"data":{"type":"stock/type","attributes":{"stock.type.code":"laravel","stock.type.label":"laravel"}}}';
$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JsonadmController@postAction', $params, [], [], [], [], $content );
$json = json_decode( $response->getContent(), true );
$this->assertEquals( 201, $response->getStatusCode() );
$this->assertNotNull( $json );
$this->assertArrayHasKey( 'stock.type.id', $json['data']['attributes'] );
$this->assertEquals( 'laravel', $json['data']['attributes']['stock.type.code'] );
$this->assertEquals( 'laravel', $json['data']['attributes']['stock.type.label'] );
$this->assertEquals( 1, $json['meta']['total'] );
$id = $json['data']['attributes']['stock.type.id'];
$params = ['site' => 'unittest', 'resource' => 'stock/type', 'id' => $id];
$content = '{"data":{"type":"stock/type","attributes":{"stock.type.code":"laravel2","stock.type.label":"laravel2"}}}';
$response = $this->action( 'PATCH', '\Aimeos\Shop\Controller\JsonadmController@patchAction', $params, [], [], [], [], $content );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertArrayHasKey( 'stock.type.id', $json['data']['attributes'] );
$this->assertEquals( 'laravel2', $json['data']['attributes']['stock.type.code'] );
$this->assertEquals( 'laravel2', $json['data']['attributes']['stock.type.label'] );
$this->assertEquals( $id, $json['data']['attributes']['stock.type.id'] );
$this->assertEquals( 1, $json['meta']['total'] );
$params = ['site' => 'unittest', 'resource' => 'stock/type', 'id' => $id];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonadmController@getAction', $params );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertArrayHasKey( 'stock.type.id', $json['data']['attributes'] );
$this->assertEquals( 'laravel2', $json['data']['attributes']['stock.type.code'] );
$this->assertEquals( 'laravel2', $json['data']['attributes']['stock.type.label'] );
$this->assertEquals( $id, $json['data']['attributes']['stock.type.id'] );
$this->assertEquals( 1, $json['meta']['total'] );
$params = ['site' => 'unittest', 'resource' => 'stock/type', 'id' => $id];
$response = $this->action( 'DELETE', '\Aimeos\Shop\Controller\JsonadmController@deleteAction', $params );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertEquals( 1, $json['meta']['total'] );
}
public function testActionsBulk()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$this->app['session']->setPreviousUrl( 'http://localhost/unittest' );
$params = ['site' => 'unittest', 'resource' => 'stock/type'];
$content = '{"data":[
{"type":"stock/type","attributes":{"stock.type.code":"laravel","stock.type.label":"laravel"}},
{"type":"stock/type","attributes":{"stock.type.code":"laravel2","stock.type.label":"laravel"}}
]}';
$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JsonadmController@postAction', $params, [], [], [], [], $content );
$json = json_decode( $response->getContent(), true );
$this->assertEquals( 201, $response->getStatusCode() );
$this->assertNotNull( $json );
$this->assertEquals( 2, count( $json['data'] ) );
$this->assertArrayHasKey( 'stock.type.id', $json['data'][0]['attributes'] );
$this->assertArrayHasKey( 'stock.type.id', $json['data'][1]['attributes'] );
$this->assertEquals( 'laravel', $json['data'][0]['attributes']['stock.type.label'] );
$this->assertEquals( 'laravel', $json['data'][1]['attributes']['stock.type.label'] );
$this->assertEquals( 2, $json['meta']['total'] );
$ids = array( $json['data'][0]['attributes']['stock.type.id'], $json['data'][1]['attributes']['stock.type.id'] );
$params = ['site' => 'unittest', 'resource' => 'stock/type'];
$content = '{"data":[
{"type":"stock/type","id":' . $ids[0] . ',"attributes":{"stock.type.label":"laravel2"}},
{"type":"stock/type","id":' . $ids[1] . ',"attributes":{"stock.type.label":"laravel2"}}
]}';
$response = $this->action( 'PATCH', '\Aimeos\Shop\Controller\JsonadmController@patchAction', $params, [], [], [], [], $content );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertEquals( 2, count( $json['data'] ) );
$this->assertArrayHasKey( 'stock.type.id', $json['data'][0]['attributes'] );
$this->assertArrayHasKey( 'stock.type.id', $json['data'][1]['attributes'] );
$this->assertEquals( 'laravel2', $json['data'][0]['attributes']['stock.type.label'] );
$this->assertEquals( 'laravel2', $json['data'][1]['attributes']['stock.type.label'] );
$this->assertTrue( in_array( $json['data'][0]['attributes']['stock.type.id'], $ids ) );
$this->assertTrue( in_array( $json['data'][1]['attributes']['stock.type.id'], $ids ) );
$this->assertEquals( 2, $json['meta']['total'] );
$params = ['site' => 'unittest', 'resource' => 'stock/type'];
$getParams = ['filter' => ['&&' => [
['=~' => ['stock.type.code' => 'laravel']],
['==' => ['stock.type.label' => 'laravel2']]
]],
'sort' => 'stock.type.code', 'page' => ['offset' => 0, 'limit' => 3]
];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonadmController@getAction', $params, $getParams );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertEquals( 2, count( $json['data'] ) );
$this->assertEquals( 'laravel', $json['data'][0]['attributes']['stock.type.code'] );
$this->assertEquals( 'laravel2', $json['data'][1]['attributes']['stock.type.code'] );
$this->assertEquals( 'laravel2', $json['data'][0]['attributes']['stock.type.label'] );
$this->assertEquals( 'laravel2', $json['data'][1]['attributes']['stock.type.label'] );
$this->assertTrue( in_array( $json['data'][0]['attributes']['stock.type.id'], $ids ) );
$this->assertTrue( in_array( $json['data'][1]['attributes']['stock.type.id'], $ids ) );
$this->assertEquals( 2, $json['meta']['total'] );
$params = ['site' => 'unittest', 'resource' => 'stock/type'];
$content = '{"data":[
{"type":"stock/type","id":' . $ids[0] . '},
{"type":"stock/type","id":' . $ids[1] . '}
]}';
$response = $this->action( 'DELETE', '\Aimeos\Shop\Controller\JsonadmController@deleteAction', $params, [], [], [], [], $content );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertEquals( 2, $json['meta']['total'] );
}
public function testPutAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$this->app['session']->setPreviousUrl( 'http://localhost/unittest' );
$params = ['site' => 'unittest', 'resource' => 'stock/type'];
$content = '{"data":[
{"type":"stock/type","attributes":{"stock.type.code":"laravel","stock.type.label":"laravel"}},
{"type":"stock/type","attributes":{"stock.type.code":"laravel2","stock.type.label":"laravel"}}
]}';
$response = $this->action( 'PUT', '\Aimeos\Shop\Controller\JsonadmController@postAction', $params, [], [], [], [], $content );
$json = json_decode( $response->getContent(), true );
$this->assertEquals( 501, $response->getStatusCode() );
$this->assertNotNull( $json );
}
}
================================================
FILE: tests/Controller/JsonapiControllerTest.php
================================================
'unittest'];
$response = $this->action( 'OPTIONS', '\Aimeos\Shop\Controller\JsonapiController@optionsAction', $params );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertArrayHasKey( 'resources', $json['meta'] );
$this->assertGreaterThan( 1, count( $json['meta']['resources'] ) );
}
public function testGetAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'product'];
$getParams = ['filter' => ['f_search' => 'Cafe Noire Cap'], 'sort' => 'product.code'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params, $getParams );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertEquals( 3, $json['meta']['total'] );
$this->assertEquals( 3, count( $json['data'] ) );
$this->assertArrayHasKey( 'id', $json['data'][0] );
$this->assertEquals( 'CNC', $json['data'][0]['attributes']['product.code'] );
$id = $json['data'][0]['id'];
$params = ['site' => 'unittest', 'resource' => 'product', 'id' => $id];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params );
$json = json_decode( $response->getContent(), true );
$this->assertResponseOk();
$this->assertNotNull( $json );
$this->assertEquals( 1, $json['meta']['total'] );
$this->assertArrayHasKey( 'id', $json['data'] );
$this->assertEquals( 'CNC', $json['data']['attributes']['product.code'] );
}
public function testPostPatchDeleteAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
// get CNC product
$params = ['site' => 'unittest', 'resource' => 'product'];
$getParams = ['filter' => ['f_search' => 'Cafe Noire Cap', 'f_listtype' => 'unittype19'], 'sort' => 'product.code'];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\JsonapiController@getAction', $params, $getParams );
$this->assertResponseOk();
$json = json_decode( $response->getContent(), true );
$this->assertEquals( 'CNC', $json['data'][0]['attributes']['product.code'] );
// add CNC product to basket
$params = ['site' => 'unittest', 'resource' => 'basket', 'id' => 'default', 'related' => 'product'];
$content = json_encode( ['data' => ['attributes' => ['product.id' => $json['data'][0]['id']]]] );
$response = $this->action( 'POST', '\Aimeos\Shop\Controller\JsonapiController@postAction', $params, [], [], [], [], $content );
$this->assertEquals( 201, $response->getStatusCode() );
$json = json_decode( $response->getContent(), true );
$this->assertEquals( 'CNC', $json['included'][0]['attributes']['order.product.prodcode'] );
// change product quantity in basket
$params = ['site' => 'unittest', 'resource' => 'basket', 'id' => 'default', 'related' => 'product', 'relatedid' => 0];
$content = json_encode( ['data' => ['attributes' => ['quantity' => 2]]] );
$response = $this->action( 'PATCH', '\Aimeos\Shop\Controller\JsonapiController@patchAction', $params, [], [], [], [], $content );
$this->assertResponseOk();
$json = json_decode( $response->getContent(), true );
$this->assertEquals( 2, $json['included'][0]['attributes']['order.product.quantity'] );
// delete product from basket
$params = ['site' => 'unittest', 'resource' => 'basket', 'id' => 'default', 'related' => 'product', 'relatedid' => 0];
$response = $this->action( 'DELETE', '\Aimeos\Shop\Controller\JsonapiController@deleteAction', $params );
$this->assertResponseOk();
$json = json_decode( $response->getContent(), true );
$this->assertEquals( 0, count( $json['included'] ) );
}
public function testPutAction()
{
View::addLocation( dirname( __DIR__ ) . '/fixtures/views' );
$params = ['site' => 'unittest', 'resource' => 'basket'];
$response = $this->action( 'PUT', '\Aimeos\Shop\Controller\JsonapiController@putAction', $params );
$this->assertEquals( 403, $response->getStatusCode() );
$json = json_decode( $response->getContent(), true );
$this->assertArrayHasKey( 'errors', $json );
}
}
================================================
FILE: tests/Controller/PageControllerTest.php
================================================
action( 'GET', '\Aimeos\Shop\Controller\PageController@indexAction', ['site' => 'unittest', 'path' => 'contact'] );
$this->assertEquals( 200, $response->getStatusCode() );
}
}
================================================
FILE: tests/Controller/ResolveControllerTest.php
================================================
action( 'GET', '\Aimeos\Shop\Controller\ResolveController@indexAction', ['site' => 'unittest', 'path' => 'tee'] );
$this->assertResponseOk();
$this->assertStringContainsString( '
getContent() );
}
public function testNotFound()
{
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\ResolveController@indexAction', ['site' => 'unittest', 'path' => 'invalid'] );
$response->assertStatus( 404 );
}
protected function getEnvironmentSetUp( $app )
{
parent::getEnvironmentSetUp( $app );
$app['config']->set( 'shop.client.html.catalog.detail.url.target', 'aimeos_resolve' );
}
}
================================================
FILE: tests/Controller/SupplierControllerTest.php
================================================
get( true );
$item = \Aimeos\Controller\Frontend::create( $context, 'supplier' )->slice( 0, 1 )->search()->first();
$params = ['site' => 'unittest', 's_name' => 'Test supplier', 'f_supid' => $item->getId()];
$response = $this->action( 'GET', '\Aimeos\Shop\Controller\SupplierController@detailAction', $params );
$this->assertResponseOk();
$this->assertStringContainsString( '
getContent() );
}
}
================================================
FILE: tests/FacadesTest.php
================================================
assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Attribute::uses( [] ) );
}
public function testBasket()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Basket::clear() );
}
public function testCatalog()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Catalog::uses( [] ) );
}
public function testCms()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Cms::uses( [] ) );
}
public function testCustomer()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Customer::uses( [] ) );
}
public function testLocale()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Locale::compare( '==', 'locale.id', -1 ) );
}
public function testOrder()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Order::uses( [] ) );
}
public function testProduct()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Product::uses( [] ) );
}
public function testService()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Service::uses( [] ) );
}
public function testStock()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Stock::compare( '==', 'stock.id', -1 ) );
}
public function testSubscription()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Subscription::uses( [] ) );
}
public function testSupplier()
{
$this->assertInstanceOf( \Aimeos\Controller\Frontend\Iface::class, \Aimeos\Shop\Facades\Supplier::uses( [] ) );
}
}
================================================
FILE: tests/HelpersTest.php
================================================
assertEquals( 'notexisting', aiconfig( 'not/exists', 'notexisting' ) );
}
}
================================================
FILE: tests/fixtures/views/app.blade.php
================================================
@yield('aimeos_header')
Laravel
@yield('aimeos_styles')
@yield('aimeos_nav')
@yield('aimeos_stage')
@yield('aimeos_body')
@yield('aimeos_aside')
@yield('content')
@yield('aimeos_scripts')
================================================
FILE: views/account/index.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
{{ __( 'Profile') }}
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['account/profile'] ?? '' ?>
= $aiheader['account/review'] ?? '' ?>
= $aiheader['account/subscription'] ?? '' ?>
= $aiheader['account/basket'] ?? '' ?>
= $aiheader['account/history'] ?? '' ?>
= $aiheader['account/favorite'] ?? '' ?>
= $aiheader['account/watch'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/session'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_basket')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['account/profile'] ?? '' ?>
= $aibody['account/review'] ?? '' ?>
= $aibody['account/subscription'] ?? '' ?>
= $aibody['account/basket'] ?? '' ?>
= $aibody['account/history'] ?? '' ?>
= $aibody['account/favorite'] ?? '' ?>
= $aibody['account/watch'] ?? '' ?>
@stop
@section('aimeos_aside')
= $aibody['catalog/session'] ?? '' ?>
@stop
================================================
FILE: views/admin/index.blade.php
================================================
Aimeos administration interface
================================================
FILE: views/base.blade.php
================================================
@if( config('app.debug') !== true )
@endif
@if( in_array(app()->getLocale(), ['ar', 'az', 'dv', 'fa', 'he', 'ku', 'ur']) )
@else
@endif
@yield('aimeos_header')
@yield('aimeos_stage')
@yield('aimeos_body')
@yield('content')
@yield('aimeos_scripts')
================================================
FILE: views/basket/index.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
{{ __( 'Basket') }}
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['basket/bulk'] ?? '' ?>
= $aiheader['basket/standard'] ?? '' ?>
= $aiheader['basket/related'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['basket/standard'] ?? '' ?>
= $aibody['basket/related'] ?? '' ?>
= $aibody['basket/bulk'] ?? '' ?>
@stop
================================================
FILE: views/catalog/count.blade.php
================================================
================================================
FILE: views/catalog/detail.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/stage'] ?? '' ?>
= $aiheader['catalog/detail'] ?? '' ?>
= $aiheader['catalog/session'] ?? '' ?>
@stop
@section('aimeos_head_basket')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_stage')
= $aibody['catalog/stage'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['catalog/detail'] ?? '' ?>
= $aibody['cms/page'] ?? '' ?>
@stop
@section('aimeos_aside')
= $aibody['catalog/session'] ?? '' ?>
@stop
================================================
FILE: views/catalog/home.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['catalog/home'] ?? '' ?>
= $aiheader['cms/page'] ?? '' ?>
@stop
@section('aimeos_head_basket')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['catalog/home'] ?? '' ?>
= $aibody['cms/page'] ?? '' ?>
@stop
================================================
FILE: views/catalog/list.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/filter'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['catalog/stage'] ?? '' ?>
= $aiheader['catalog/session'] ?? '' ?>
= $aiheader['catalog/lists'] ?? '' ?>
@stop
@section('aimeos_head_basket')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['catalog/stage'] ?? '' ?>
= $aibody['catalog/lists'] ?>
@stop
================================================
FILE: views/catalog/session.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/session'] ?? '' ?>
@stop
@section('aimeos_head_basket')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['catalog/session'] ?? '' ?>
@stop
================================================
FILE: views/catalog/stock.blade.php
================================================
= $aibody['catalog/stock'] ?>
================================================
FILE: views/catalog/suggest.blade.php
================================================
= $aibody['catalog/suggest'] ?>
================================================
FILE: views/catalog/tree.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/filter'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['catalog/session'] ?? '' ?>
= $aiheader['catalog/stage'] ?? '' ?>
= $aiheader['catalog/lists'] ?? '' ?>
@stop
@section('aimeos_head_basket')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_stage')
= $aibody['catalog/stage'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['catalog/lists'] ?? '' ?>
= $aibody['cms/page'] ?? '' ?>
@stop
================================================
FILE: views/checkout/confirm.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
{{ __( 'Thank you') }}
= $aiheader['checkout/confirm'] ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['checkout/confirm'] ?>
@stop
================================================
FILE: views/checkout/index.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
{{ __( 'Checkout') }}
= $aiheader['checkout/standard'] ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_nav')
= $aibody['catalog/tree'] ?? '' ?>
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['checkout/standard'] ?>
@stop
================================================
FILE: views/checkout/update.blade.php
================================================
================================================
FILE: views/jqadm/index.blade.php
================================================
@if( config('app.debug') !== true )
@endif
Aimeos administration interface
@if( $localeDir == 'rtl' )
@else
@endif
= $content ?>
================================================
FILE: views/page/index.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['cms/page'] ?? '' ?>
@stop
@section('aimeos_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['cms/page'] ?? '' ?>
@stop
================================================
FILE: views/supplier/detail.blade.php
================================================
@extends('shop::base')
@section('aimeos_header')
= $aiheader['supplier/detail'] ?>
= $aiheader['locale/select'] ?? '' ?>
= $aiheader['basket/mini'] ?? '' ?>
= $aiheader['catalog/tree'] ?? '' ?>
= $aiheader['catalog/search'] ?? '' ?>
= $aiheader['catalog/lists'] ?? '' ?>
@stop
@section('aimeos_head_basket')
= $aibody['basket/mini'] ?? '' ?>
@stop
@section('aimeos_head_nav')
= $aibody['catalog/tree'] ?? '' ?>
@stop
@section('aimeos_head_locale')
= $aibody['locale/select'] ?? '' ?>
@stop
@section('aimeos_head_search')
= $aibody['catalog/search'] ?? '' ?>
@stop
@section('aimeos_body')
= $aibody['supplier/detail'] ?>
= $aibody['catalog/lists'] ?? '' ?>
@stop