View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006979 | Wave theme | Theme | public | 2019-05-06 04:14 | 2019-07-31 14:04 |
Reporter | BeckerEnterprises | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 1.1.0 | ||||
Fixed in Version | 1.3.0 | ||||
Summary | 0006979: remove from compare list link will never be displayed - missing variable prefix | ||||
Description | First line of file /tpl/page/details/inc/compare_links.tpl is: [{if $in_list}] and have to be: [{if $_compare_in_list}] | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
|
First line of file /tpl/page/details/inc/compare_links.tpl is [{if $in_list}] and remove from compare list link will be displayed (see Screenshot). |
|
The compare_links.tpl contains the add and remove links on product details page not the compare list itself. The smarty function oxid_include_dynamic adds a prefix to the given parameter which is missing for $in_list, correct is: $_compare_in_list. In the current state you are not able to remove product from product details page, the link also would change from "Vergleichen" to "Aus Vergl. entfernen". |
|
ok you are right. First line of file /tpl/page/details/inc/compare_links.tpl is: [{if $in_list}] but has to be: [{if $_compare_in_list}] to show the remove link instead of add link if article is in compare_list. - es - |
|
I created a pull request to fix this bug: https://github.com/OXID-eSales/wave-theme/pull/59 |