View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001274 | OXID eShop (all versions) | 1. ----- eShop frontend ----- | public | 2009-09-01 14:18 | 2016-08-17 08:49 |
Reporter | Thomas Oppelt | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.5 revision 21618 | ||||
Fixed in Version | 4.1.6 revision 22740 | ||||
Summary | 0001274: No oxOutOfStockException Error message returned within details.tpl when oxstockflag=2 (aka 'If out of Stock, offline') | ||||
Description | If an article runs out of stock and has oxstockflag set to 2 (aka 'If out of Stock, offline'), no stock error message is thrown within details.tpl. | ||||
Additional Information | I assume it has to do with the oxid_dynamic_include.If you insert directly the exception output loop from msg_basket.tpl into details.tpl: [{foreach from=$Errors.basket item=oEr key=key }] [{if $oEr->getErrorClassType() == 'oxOutOfStockException'}] <div class="error">[{ $oEr->getOxMessage() }]</div> [{/if}] [{/foreach}] you get the oxOutOfStockException message as expected. | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||
has duplicate | 0001350 | closed | Missing advice when oxstockflag = 2 and user tries to buy a higher amount than in stock | |
related to | 0006479 | resolved | anton.fedurtsya | No oxOutOfStockException Error message returned within details.tpl when oxstockflag=2 (aka 'If out of Stock, offline') |
|
To reproduce: - Set a product to 'If out of Stock, offline' - in Frontend, order more than there is on stock - the amount in basket is reduced to the remaining stock, but no message about this is shown to user. What should be: Display message to user as in basket: No enough items of this article in stock! Available: XX |
|
Same if product is set to "If out of stock, not orderable" |
|
fixed |