archive.php
3 years ago
base-content.php
3 years ago
base.php
3 years ago
cart.php
3 years ago
checkout.php
3 years ago
shop.php
3 years ago
single.php
3 years ago
shop.php
20 lines
| 1 | <?php |
| 2 | |
| 3 | namespace ShopEngine\Core\Page_Templates\Hooks; |
| 4 | |
| 5 | use ShopEngine\Compatibility\Conflicts\Theme_Hooks; |
| 6 | use ShopEngine\Core\Builders\Templates; |
| 7 | |
| 8 | defined('ABSPATH') || exit; |
| 9 | |
| 10 | class Shop extends Archive { |
| 11 | |
| 12 | protected $page_type = 'shop'; |
| 13 | protected $template_part = 'content-shop.php'; |
| 14 | |
| 15 | protected function template_include_pre_condition(): bool { |
| 16 | return is_shop(); |
| 17 | } |
| 18 | |
| 19 | } |
| 20 |