Column Configuration
Home page এ প্রতি row তে কতগুলো product column দেখাবে।
Category / shop listing page এ প্রতি row তে column সংখ্যা।
Product detail page এর Related Products section এ column সংখ্যা।
Button Display Settings
Enable করলে Buy Now 70% + Add to Cart icon 30% width। Disable করলে Buy Now full width (100%)।
Image Display Settings
@foreach([
['key' => 'home_image_fit', 'label' => 'Home Page Image Fit', 'preview' => 'home', 'hint' => 'Home page product cards'],
['key' => 'category_image_fit', 'label' => 'Category Page Image Fit', 'preview' => 'category', 'hint' => 'Category / shop listing cards'],
['key' => 'product_image_fit', 'label' => 'Product Page Image Fit', 'preview' => 'product', 'hint' => 'Related products on product detail page'],
] as $row)
{{ $row['hint'] }}
@endforeach
Column Preview
@foreach([
['id' => 'home', 'label' => 'Home Page', 'class' => 'pi-preview-home', 'cols' => (int) ($pi['home_columns'] ?? 6), 'fit' => $pi['home_image_fit'] ?? 'contain'],
['id' => 'category', 'label' => 'Category Page', 'class' => 'pi-preview-category', 'cols' => (int) ($pi['category_columns'] ?? 6), 'fit' => $pi['category_image_fit'] ?? 'contain'],
['id' => 'product', 'label' => 'Product Page', 'class' => 'pi-preview-product', 'cols' => (int) ($pi['product_columns'] ?? 6), 'fit' => $pi['product_image_fit'] ?? 'contain'],
] as $block)
{{ $block['label'] }}
@for($i = 1; $i <= $block['cols']; $i++)
{{ $i }}
@endfor
Image Fit: {{ ucfirst($block['fit']) }}
@endforeach
Image Fit Examples
Contain
Full image visible
Cover
Fills box, may crop