You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Private method \Smile\RetailerOffer\Block\Catalog\Product\Retailer\Availability::getStoreOffers is called twice when displaying the availability block :
once to initialize the JS component
a second time to provide identities for the block
Unfortunately, the second time, the list of offers stored in $this->storeOffers is reset to an empty array.
This means that the block/page cache might not be cleared when a listed offer changes (availability, price or stock change).
The text was updated successfully, but these errors were encountered:
rbayet
changed the title
Offer ids not correctly added to product page availability block identities
[Cache] Offer ids not correctly added to product page availability block identities
Aug 12, 2021
Private method
\Smile\RetailerOffer\Block\Catalog\Product\Retailer\Availability::getStoreOffers
is called twice when displaying the availability block :Unfortunately, the second time, the list of offers stored in
$this->storeOffers
is reset to an empty array.This means that the block/page cache might not be cleared when a listed offer changes (availability, price or stock change).
The text was updated successfully, but these errors were encountered: