View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006004 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2014-12-18 09:58 | 2024-01-17 09:58 |
Reporter | wiedeking | Assigned To | |||
Priority | low | Severity | major | Reproducibility | always |
Status | resolved | Resolution | won't fix | ||
Product Version | 4.8.7 / 5.1.7 | ||||
Summary | 0006004: Alternative Template is not used with variants | ||||
Description | Hi, This is a reopen of 0005403 the alterative Template is only used for the father article but not for the variants! | ||||
Steps To Reproduce | This 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: http://www.abendtuete.de/Unsere-Tueten/FAMILIENTUETEN/vegetarische-Familientuete.html | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
Please see here: http://www.abendtuete.de/Unsere-Tueten/GESCHENKETUeTEN/Gutschein-Verschenke-das-pure-Kochvergnuegen.html |
|
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! thanx peter |
|
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}] [{else}] [{include file=$template blWorkaroundInclude=true}] [{/if}] [{insert name="oxid_tracker" title="PRODUCT_DETAILS"|oxmultilangassign product=$oDetailsProduct cpath=$oView->getCatTreePath() }] [{oxscript widget=$oView->getClassName()}] |
|
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. |