Bundle
= esc($bundle['desc']) ?>
= (int) $bundle['game_count'] ?> games
Regular value = money((float) $bundle['regular']) ?>
You save -= (int) round((1 - (float) $bundle['price'] / (float) $bundle['regular']) * 100) ?>%
Bundle price
= money((float) $bundle['regular']) ?>
= view('partials/store_badge', ['store' => $bStore]) ?>
= esc($bStore['name'] ?? '') ?>
ends in = max(1, (int) floor(($bundle['expires']->toDateTime()->getTimestamp() - time()) / 86400)) ?> days