getProducts(); if (!$products) { return; } $pages = [array_slice($products, 0, 7)]; $remainingProducts = array_slice($products, 7); foreach (array_chunk($remainingProducts, 8) as $pageProducts) { $pages[] = $pageProducts; } $hasPagination = count($pages) > 1; $exploreAllUrl = $block->getExploreAllUrl(); ?> 0) : ?>

escapeHtml(__('Hot Sale Filaments')) ?>

getSubtitle()): ?>

escapeHtml($block->getSubtitle()) ?>

> escapeHtml(__('Explore All')) ?>
$pageProducts): ?>
    $product): ?> getColorSwatches($product); $visibleSwatches = array_slice($colorSwatches, 0, 11); $remainingSwatches = max(0, count($colorSwatches) - count($visibleSwatches)); $shortDescription = $isFeatured ? $block->getShortDescription($product) : ''; ?>