View Issue Details

IDProjectCategoryView StatusLast Update
0001274OXID eShop (all versions)1. ----- eShop frontend -----public2016-08-17 08:49
ReporterThomas Oppelt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.5 revision 21618 
Target VersionFixed in Version4.1.6 revision 22740 
Summary0001274: No oxOutOfStockException Error message returned within details.tpl when oxstockflag=2 (aka 'If out of Stock, offline')
DescriptionIf 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 InformationI 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.
TagsNo tags attached.
ThemeNot defined
BrowserAll
PHP Version5.2.6
MySQL Version5.0.33

Relationships

has duplicate 0001350 closed Missing advice when oxstockflag = 2 and user tries to buy a higher amount than in stock 
related to 0006479 resolvedanton.fedurtsya No oxOutOfStockException Error message returned within details.tpl when oxstockflag=2 (aka 'If out of Stock, offline') 

Activities

philipp_grashoff

2009-09-01 15:21

reporter   ~0001600

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

philipp_grashoff

2009-09-01 15:21

reporter   ~0001601

Same if product is set to "If out of stock, not orderable"

arvydas_vapsva

2009-09-02 12:19

reporter   ~0001607

fixed