View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001997 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2010-07-21 18:32 | 2012-12-10 14:37 |
Reporter | elisabeth_heckmann | Assigned To | |||
Priority | normal | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Summary | 0001997: Inheritance and overriding of product oxlongdesc causes "Function does not exist" error | ||||
Description | When adding "oxlongdesc" to "aMultishopArticleFields" array the product details page in subshop and the page "Products" in shop admin under "Administer Products" of subshop crashes with the following error: Function '_setLongDesc' does not exist or is not accessible! (oxSimpleVariant) Reason: protected function _setLongDesc is only available in class oxarticle.php | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
Hello, sorry, but i can not reproduce the case. this is what i have done: 1) created subshop, that has parent and inherits all its articles 2) created 4 additional fields in db table oxfield2shop : oxlongdesc, oxlongdesc_1, oxlongdesc_2, oxlongdesc_3 3) added oxlongdesc to array in config file: aMultishopArticleFields = array("OXPRICE", "OXPRICEA", "OXPRICEB", "OXPRICEC", "oxlongdesc"); in both, frontend and admin of subshop everything works for me. maybe there are some specific settings in your eShop, that can affect it? greetings |
|
Hello, did you also add some entries in oxfield2shop for choosen subshop? Function wich calls _setLongDesc is only called if there are entries for subshop in oxfield2shop. greetings |
|
fixed by adding missing function (empty by default, since simple variants are not supposed to have long descriptions) |