<block name="freeshipping"
class="Magento\Framework\View\Element\Template"
template="MyTest_base::free_shipping.phtml"
before="-"
ifconfig="carriers/freeshipping/active"
/>
Create a block for a header banner
Create a container using layout xml instructions with a `div` tag at the top of the header;
Create a block inside that container - set a template and output this text inside the template “Free shipping for all orders.”;
public function getProjectServices(): ActiveQuery
{
return $this->hasMany(ProjectService::class, ['project_id' => 'id']);
}
public function getProjectServices(): ActiveQuery
{
return $this->hasMany(ProjectService::class, ['service_id' => 'id']);
}
/**
* Gets query for [[Project]].
*
* @return ActiveQuery
*/
public function getProject(): ActiveQuery
{
return $this->hasOne(Project::class, ['id' => 'project_id']);
}
/**
* Gets query for [[Service]].
*
* @return ActiveQuery
*/
public function getService(): ActiveQuery
{
return $this->hasOne(Service::class, ['id' => 'service_id']);
}