View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000866 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2009-05-06 15:13 | 2012-12-07 14:29 |
Reporter | tjungcl | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.1 revision 18442 | ||||
Fixed in Version | 4.1.2 revision 18998 | ||||
Summary | 0000866: The from-price articles with variants is only recalculated, when saving the parent-article, not when saving variants/-list | ||||
Description | For example: you have a article without price (abstract) and that article has variants A 10 € B 20 € The From-price is 10 € of course. Now you open the articles variant-list-dialog und change the price of A to 5 € and click "Save Variants". This should update the from-price of the master-article, but it doesnt. The same problem exists with the SOAP interface. Transfering an variant-article with a changed price does not affect any parent-from-prices. | ||||
Tags | Products | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
related to | 0000378 | resolved | vilma_liorensaityte | Quicksorting after price in articlelist does not work correctly when parent article is not buyable |
related to | 0000883 | resolved | sarunas_valaskevicius | varmin price does not check variants active or stock statuses |
|
Reminder sent to: tjungcl Hi, Tested on demoshop and cannot reproduce this case. Also checked on the http://demoshop.oxid-esales.com/professional-edition/ exactly the same case as you described - the From-price is updated correctly after it is changed in the Variant tab of Parent-article. Could you please try your case on this demoshop http://demoshop.oxid-esales.com/professional-edition/ if you can reproduce it? maybe it depends on some local changes. |
|
The described error is reproducable in my fresh and untouched 4.1.1 Enterprise Edition installation (with demo data in utf-8). All admin-options are standard, EXCEPT the Performance-option "Varianten in Artikellisten laden" is switched off. I can not reproduce it in the linked professional-demo. I noticed a difference in the artikel-stammdaten-dialog: In the enterpriseedition there is an input-field at the bottom, which isnt there in your prof-demo: Preis |input| ( priceFrom 109,00 ) could be related somehow... ? |
|
Reminder sent to: tjungcl Finaly - got it. The problem is in this field: Preis |input| ( priceFrom 109,00 ) ... where the priceFrom is displayed. When the option "Load Variants in Lists" is not selected and the Parent-article is not buyable: in the frontend still correct From-Price is displayed (according to one of Variants), but in the admin this "priceFrom" shows the price of Parent-article, but not one of the variants (seems - because Variant info not loaded here). Please confirm that this is the case? If yes, then this case will be solved together with bugfix 0000871, because these fields are not needed at all when Parent article is not buyable. Best regards, |
|
No, I'm sorry, but we are getting close together :-) I tried around a bit more and can specifiy it more exactly. To reproduce: - in a fresh EE 4.1.1 installation with demodata in utf8 (dont know, if that matters) - turn off "Load Variants in Lists" - goto ...demodomain.../Living/Lamps - you will see there the "Pendant COSMOS" with an initial and correct fromPrice of 99 Euro (i think, it was 99, i changed it a lot up and down...) - DONT open the Pendant COSMOS, stay of the articlelist - now open admin in a second window, go to article 2231, open variants-tab - you'll see large and medium, one of them costs 99, the other 109 - now change the cheaper lamp up to 200. Click "save variants" (nothing else) - now change back to your still open shop-frontend-window, click refresh. - if i'm not wrong, you'll see still the 99 Euro fromPrice. - now click on the product. You'll see the correct new fromPrice there: 109 Euro. - click "back to overview" and you'll see the old fromprice again. - NOW click "save" in the admin. - change back to frontend and only now you'll see the correct new fromPrice in the articleList The thing about that deprecated input-box was just a difference between the PE end the EE i noticed when trying it out in the PE-Demo. |
|
Reminder sent to: tjungcl Yes, by doing exactly like this I reproduced that also in frontend :) thanx for your help. And yes - update for "fromPrice" is missing when "Save Variants" button is clicked. |
|
i'm reliefed! Please also check that same matter with the SOAP interface: When updating only variants, the variant-parent should recalculate the fromPrice, too. |
|
updated oxarticle::_onChangeUpdateMinVarPrice, which included variant parent in checking min price if save was called from variant itself. since min price was 0, it did not save it |