View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002095 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2010-09-10 05:59 | 2010-09-14 12:51 |
Reporter | avenger | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 4.4.2 revision 29492 | ||||
Summary | 0002095: A Trusted Shops "EXCELLENCE"-packages can not be initialised in the shop | ||||
Description | When trying to activate the TS-functions in OXID, always a non-existing TS-ID is reported, if the shop owner has booked an "EXECELLENCE"-package with TS. | ||||
Steps To Reproduce | Try to active OXID's TS-functions for a TS "EXECELLENCE"-package. | ||||
Additional Information | Reason is, that in oxviews.php the "Trustes Shop"-ID in the following routine only yields a result other then false, if the TS-package type ("$aTsType[$iLangId]") is "CLASSIC". if ( $sTsActive && $aTrustedShopIds && $aTsType[$iLangId] == 'CLASSIC' ) { If the TS-package type is "EXCELLENCE", the routine fails. public function getTrustedShopId() { if ( $this->_sTrustedShopId == null ) { $this->_sTrustedShopId = false; $oConfig = $this->getConfig(); $aTsType = $oConfig->getConfigParam( 'tsSealType' ); $sTsActive = $oConfig->getConfigParam( 'tsSealActive' ); $aTrustedShopIds = $oConfig->getConfigParam( 'iShopID_TrustedShops' ); $iLangId = (int) oxLang::getInstance()->getBaseLanguage(); if ( $sTsActive && $aTrustedShopIds && $aTsType[$iLangId] == 'CLASSIC' ) { // compatibility to old data if ( !is_array( $aTrustedShopIds ) && $iLangId == 0 ) { $this->_sTrustedShopId = $aTrustedShopIds; } if ( is_array( $aTrustedShopIds ) ) { $this->_sTrustedShopId = $aTrustedShopIds[$iLangId]; } if ( strlen( $this->_sTrustedShopId ) != 33 || substr( $this->_sTrustedShopId, 0, 1 ) != 'X' ) { $this->_sTrustedShopId = false; } } } return $this->_sTrustedShopId; } | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0002098 | resolved | Linas Kukulskis | Trusted Shop Seal should be displayed in start page for Excellence too |
|
Reminder sent to: avenger Hi, This function getTrustedShopId() in oxview.php will be used only for Trusted Shops(TS) Classic package. To activate TS Excellence in frontend, you should use function getTSExcellenceId() in the same oxview.php file. If you have problems with activating TS Id in backend, just check that options "Test mode active" and "Show Trusted Shops seal" are disabled. Best regards, Vilma |
|
Reminder sent to: avenger Hi, Option "Show Trusted Shops seal" must be on! Sorry for wrong info before. Regards, Vilma |
|
<<Option "Show Trusted Shops seal" must be on! Sorry for wrong info before.>> That is exactly what I was doing, but then OXID does not accept the TS-ID in the admin-area because of the a.m. problem... |
|
Reminder sent to: avenger Hi, Locally we cannot reproduce it, and have no more ideas about why it cannot work (if you are using getTSExcellenceId() and have "Show Trusted Shops seal" ON). Would it be possible to debug it somewhere on your (test) system? If yes - we would really appreciate if you would send the access info to our support ([email protected]) with reference to this bug entry. Best regards, |
|
Closed as cannot reproduce |