Aimeos template change to blade template

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
krzysiekp
Posts: 85
Joined: 05 Nov 2021, 16:19

Re: Aimeos template change to blade template

Post by krzysiekp » 21 Feb 2022, 07:26

My full code:

Code: Select all

@section('checkout/standard/address')
<section class="checkout-standard-address">
    <input type="hidden" name="cs_order" value="1">
    <div class="row common-summary-detail2 mt-2 mt-sm-4 mb-3 gx-0 gx-sm-4">
        <div class="common-summary-detail col-12 col-md-7">
            <div class="col-12 card-body box-shadow" style="min-height:262px">
                <div>
                    <h2><?= aitrans('Dane do zamówienia') ?></h2>
                </div>
                <div class="col-12">
                    @yield('checkout/standard/address/billing')
                </div>
                <div class="col-12">
                    @yield('checkout/standard/address/delivery')
                </div>

            </div>
        </div>
   .........
@endsection
@yield('checkout/standard/address')
And @yield not working

This blade template is on the base ext/new-theme/client/html/templates/checkout/standard/address-body-standard.php

Maybe I should use @include ?

krzysiekp
Posts: 85
Joined: 05 Nov 2021, 16:19

Re: Aimeos template change to blade template

Post by krzysiekp » 21 Feb 2022, 12:42

@Aimeos, will you answer if you know?

Post Reply