View Issue Details

IDProjectCategoryView StatusLast Update
0006612OXID eShop (all versions)2.3. Extensions (modules, themes)public2022-01-28 11:28
Reporterstroebjo Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.10.4 / 5.3.4 
Fixed in Version6.0.0 
Summary0006612: Missing Smarty block in admin Template
DescriptionIn Admin view article_attribute.tpl and order_package.tpl are now Smarty blocks to overwrite article properties with own extensions.
TagsNo tags attached.
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

QA

2017-03-31 13:44

administrator   ~0012007

@stroebjo : The bug description is a little vague. Kindly elaborate on the bug description and if possible provide code snippets to clarify the bug.

stroebjo

2017-03-31 14:05

reporter   ~0012008

Sorry, this isn't a bug, more an enhancement/request.

I use an extension to extend the article attributes in the backen. I want to add a new field inside the "Selection" (#article_attribute) tab. But inside the extension I cant extend the admin template with my fields because in the file article_attribute.tpl is no Smarty Block defined from wich I can extens inside my extension.

Inside article_main.tpl are blocks like [{block name="admin_article_main_form"}] so an extension can extend the article fields.

I would love to have a [{block name="admin_article_attribtues"}] (i.e.) in admin/tpl/article_attribute.tpl.
Inside order_package.tpl are no blocks as well, in this case you probably would have to add multiple blocks to allow a meaningful extensibility?

Sven Brunk

2022-01-28 11:28

administrator   ~0013535

Hi,

thanks to contributors we already have such blocks in OXID eShop version 6.0 in article_attributes.tpl: https://github.com/OXID-eSales/oxideshop_ce/blob/master/source/Application/views/admin/tpl/article_attribute.tpl
Is this enough?
Regarding order_package.tpl: this template was removed completely in OXID eShop 6.0.