Open PLNech opened 5 years ago
When the canteen is opened, but no stock is available for diner, we can observe the following:
<select>
:
<div class="js-panel-content-wrapper" data-event-name="ZRO.CR" data-panel-destination="AJAX_CONTENT">
<div class="bloc zro-bloc js-zro-cr zro-products-list zro-items-choice">
<div class="zro-bloc-header">
<div class="zro-bloc-header-part back-part">
<button class="button-picto js-btn-back-to-main-panel">
<span class="picto picto-back-arrow"></span>
<span class="picto-label-hidden">Revenir à la carte</span>
</button>
</div>
<div class="zro-bloc-header-part title-part">
<h2 class="zro-bloc-header-title">Entrées</h2>
</div>
<div class="zro-bloc-header-part cart-part">
<div class="cart js-cart" data-cart-item-quantity="0" data-currency-symbol="€">
<a class="cart-link js-link-load-panel" href="/?e=zro.cart&id=1968">
<span class="cart-icon"></span>
<span class="cart-label">Panier : </span>
<span class="cart-count-items">
<span class="cart-count-items-text js-cart-quantity">0</span>
</span>
<div class="cart-date">24 septembre</div>
</a>
</div>
</div>
</div>
<div class="zro-bloc-content">
<div class="js-item product-box" data-item-id="OR0000000184926">
<div class="product-box-heading">
<a class="zro-list-choose-item-part popin-iframe product-image-link" href="/?e=popin.recette&d=24-09-2019&zr=1968&id=OR0000000184926">
<img src="https://static.so-happy.fr/portailconvive/themes/so-happy-work/img/menus/recette-default.jpg" alt="" />
</a>
</div>
<div class="product-box-content">
<h3 class="h3 product-box-title title-without-bg">
<a href="/?e=popin.recette&d=24-09-2019&zr=1968&id=OR0000000184926" class="popin-iframe" rel="nofollow">
Chou rouge, vinaigrette balsamique
</a>
</h3>
</div>
<div class="product-box-footer">
<span class="product-box-details">0,40 €</span>
<div class="product-box-actions">
</div>
</div>
</div><div class="js-item product-box" data-item-id="OR0000000177715">
<div class="product-box-heading">
<a class="zro-list-choose-item-part popin-iframe product-image-link" href="/?e=popin.recette&d=24-09-2019&zr=1968&id=OR0000000177715">
<img src="https://newsolreport.sodexonet.com//partage_doc/Upload/Images/PhotoRecette/8/OR0000000010645.jpeg" alt="" />
</a>
</div>
<div class="product-box-content">
<h3 class="h3 product-box-title title-without-bg">
<a href="/?e=popin.recette&d=24-09-2019&zr=1968&id=OR0000000177715" class="popin-iframe" rel="nofollow">
Oeufs dur rillette de sardines
</a>
</h3>
<img class="product-box-allergies-warning" src="https://static.so-happy.fr/portailconvive/themes/so-happy-work/img/menus/picto-allergene.png" alt="Allergènes" title="Peut contenir un ou plusieurs de vos allergènes" />
</div>
<div class="product-box-footer">
<span class="product-box-details">1,54 €</span>
<div class="product-box-actions">
</div>
</div>
</div><div class="js-item product-box" data-item-id="OR0000000090215">
<div class="product-box-heading">
<a class="zro-list-choose-item-part popin-iframe product-image-link" href="/?e=popin.recette&d=24-09-2019&zr=1968&id=OR0000000090215">
<img src="https://static.so-happy.fr/portailconvive/themes/so-happy-work/img/menus/recette-default.jpg" alt="" />
</a>
</div>
<div class="product-box-content">
<h3 class="h3 product-box-title title-without-bg">
<a href="/?e=popin.recette&d=24-09-2019&zr=1968&id=OR0000000090215" class="popin-iframe" rel="nofollow">
Risotto de potiron et potimarron a la mimolette
</a>
</h3>
</div>
<div class="product-box-footer">
<span class="product-box-details">1,01 €</span>
<div class="product-box-actions">
</div>
</div>
</div>
</div>
<div class="zro-bloc-footer">
<p class="ui-actions">
<a class="button btn-outlined js-link-load-panel" href="/?e=zro.rr&id=1968">Revenir à la carte</a>
<a class="button js-link-load-panel" href="/?e=zro.cart&id=1968">
Finaliser la commande
</a>
</p>
</div>
</div>
</div>
Check the website on a day without canteen (ex Sunday/Bank holiday). Can we infer a signal that tells us when the canteen is closed VS has no more meals to order?