View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003520 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2012-01-25 15:24 | 2012-12-07 14:23 |
| Reporter | rimvydas_paskevicius | Assigned To | |||
| Priority | urgent | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.5.6 revision 40808 | ||||
| Fixed in Version | 4.6.0_beta3 | ||||
| Summary | 0003520: Its possible to write ratings and invitations to friends even if in backed this functionality is switched off | ||||
| Description | Its possible to write ratings and invitations to friends even if in backed this functionality is switched off. This valid also for upcoming 4.6 basic theme (azure already fixed) | ||||
| Tags | Ratings, Reviews | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
|
|
For fixing invitation you should add following method to view/invite.php file public function render() { $oConfig = $this->getConfig(); if ( !$oConfig->getConfigParam( "blInvitationsEnabled" ) ) { oxUtils::getInstance()->redirect( $oConfig->getShopHomeURL() ); return; } parent::render(); return $this->_sThisTemplate; } |
|
|
Added additional checking if inivitations and reviews are active. If not - will be redirected to home page. |