View Issue Details

IDProjectCategoryView StatusLast Update
0006004OXID eShop (all versions)1.01. Products (product, categories, manufacturer, promotions etc.)public2024-01-17 09:58
Reporterwiedeking Assigned To 
Status resolvedResolutionwon't fix 
Product Version4.8.7 / 5.1.7 
Summary0006004: Alternative Template is not used with variants
DescriptionHi, This is a reopen of 0005403

the alterative Template is only used for the father article but not for the variants!
Steps To ReproduceThis is how you can reproduce it:
1.) create a alternative product template.
2.) create a father article and assign alternative template
3.) create variants

If you now go in the show and view the father article, the alternative template will be used.
But if you select an variant, than the original template is used.
This is very confusing for the customer.

It can be seen here:
TagsNo tags attached.
PHP VersionNot defined
Database VersionNot defined


related to 0005504 resolvedSvenBrunk individual template for one article doesn't work anymore without adapting code 



2014-12-18 10:01

reporter   ~0010540

Please see here:


2014-12-18 14:44

reporter   ~0010557

I think this is not a duplicate of 0005504 because alternative templates work very well in my shop. it is only, that they do not work with variants!
this is a different bug, i think!



2019-06-04 16:02

reporter   ~0012906

Possible solution from forums, in Application/views/flow/tpl/widget/product/details.tpl:

[{assign var="oDetailsProduct" value=$oView->getProduct()}]
[{assign var="template" value=$oDetailsProduct->oxarticles__oxtemplate->value}]

[{if $template==''}]
    [{include file="page/details/details.tpl" blWorkaroundInclude=true}]
    [{include file=$template blWorkaroundInclude=true}]

[{insert name="oxid_tracker" title="PRODUCT_DETAILS"|oxmultilangassign product=$oDetailsProduct cpath=$oView->getCatTreePath() }]
[{oxscript widget=$oView->getClassName()}]


2024-01-17 09:57

administrator   ~0016125

I reject this ticket because this use case conflicts with some other requirements: When changing a variant, the entire page (and therefore a different template) should not be reloaded, but only the data displayed on the template of the parent product should be replaced.