I digged a little bit deeper into the source code and found out:
- The default Joomla LayoutHelper is used to render the individual layouts - Which is great, as this makes overwriting possible
- However, a specific path is passed to the "render" function - Which is bad, since this specific path always has higher priority than the template
- When removing the specific path from src/Helpers/EasyStoreHelper.php, Line 77 everything works fine and i can use the overwrite function from my template by putting a file at for example /my_template/html/layouts/com_easystore/cart/quick.php
Since overwriting template and layout files is a core feature of joomla, i would suggest to adapt the following code in the next easyStore release:
components/com_easystore/src/Helpers/EasyStoreHelper.php, Lines 75 - 78 - Current Version
public static function loadLayout($layoutFile, $displayData = [])
{
return LayoutHelper::render($layoutFile, $displayData, JPATH_ROOT . '/components/com_easystore/layouts');
}
New Version for Overwrites:
public static function loadLayout($layoutFile, $displayData = [])
{
return LayoutHelper::render($layoutFile, $displayData);
}
Thanks in Advance!