View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0005021 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2013-03-26 12:05 | 2013-03-26 13:53 |
| Reporter | ray | Assigned To | |||
| Priority | high | Severity | block | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.7.3 / 5.0.3 revision 54408 | ||||
| Fixed in Version | 4.8.0_5.1.0_beta1 | ||||
| Summary | 0005021: wrong code in account/order.tpl causes crash | ||||
| Description | account/order.tpl line 79: [{* Commented due to Trusted Shops precertification. Enable if needed *}] [{* [{oxhasrights ident="TOBASKET"}] [{if $oArticle->isBuyable() }] [{if $oArticle->oxarticles__oxid->value }] <a id="accOrderToBasket_[{$order->oxorder__oxordernr->value}]_[{$smarty.foreach.testOrderItem.iteration}]" href="[{ oxgetseourl ident=$oViewConf->getSelfLink()|cat:"cl=account_order" params="fnc=tobasket&aid=`$oArticle->oxarticles__oxid->value`&am=1" }]" rel="nofollow">[{ oxmultilang ident="ADD_TO_CART" }]</a> [{/if }] [{/if }] [{/oxhasrights}] *}] should be: [{oxhasrights ident="TOBASKET"}] [{if $oArticle->oxarticles__oxid->value && $oArticle->isBuyable() }] instead of: [{oxhasrights ident="TOBASKET"}] [{if $oArticle->isBuyable() }] [{if $oArticle->oxarticles__oxid->value }] | ||||
| Steps To Reproduce | uncomment the lines to enable "to basket" functionality in order history | ||||
| Additional Information | related to https://bugs.oxid-esales.com/view.php?id=4547 | ||||
| Tags | No tags attached. | ||||
| Theme | Azure | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||