View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006306 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2016-01-05 13:59 | 2024-03-06 09:29 |
Reporter | AlexN | Assigned To | |||
Priority | low | Severity | trivial | Reproducibility | N/A |
Status | resolved | Resolution | fixed | ||
Platform | Linux | ||||
Product Version | 4.9.4 / 5.2.4 | ||||
Fixed in Version | 4.10.0 / 5.3.0 | ||||
Summary | 0006306: OXID API, missing method setAmount? | ||||
Description | I am currently digging into the update basket article programme in an EE v5.2.4. I noticed the call "$this->_aBasketContents[$sItemId]->setAmount($dAmount, $blOverride, $sItemId);" in "oxBasket->addToBasket([...])". As of that I wanted to take a look in the setAmount method in your API (http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.9.4/) but when searching for "setAmount" there is no result. I then added following snippet in the core method "addToBasket": echo( print_r( get_class($this->_aBasketContents[$sItemId]), true ) ); echo " "; echo( rint_r( get_class_methods($this->_aBasketContents[$sItemId]), true ) ); echo ""; exit; Among others the method setAmount is listed so it is available but not added to the API. Well, at least there is no result when looking for it. | ||||
Additional Information | See uploaded file. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
Method setAmount still exists, but sourcecode documentaition is still missing http://docu.oxid-esales.com/CE/sourcecodedocumentation/4.9.6/ Will have done with the next release at end of january. |
|
Now properly documented in: https://docs.oxid-esales.com/sourcecodedocumentation/7.0.0/class_oxid_esales_1_1_eshop_community_1_1_application_1_1_model_1_1_basket_item.html#a0a096c1b2503399afe592ff193d75e29 |