# shopbuilder/2.0.1/app/Modules/QuickView/QuickView.php

ShopBuilder – WooCommerce Builder For Elementor, version 2.0.1. 39 lines.

- Page: https://pluginprobe.com/plugins/shopbuilder/2.0.1/code/app/Modules/QuickView/QuickView.php
- Raw: https://pluginprobe.com/plugins/shopbuilder/2.0.1/raw/app/Modules/QuickView/QuickView.php
- Modified: 2023-11-13T05:30:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/shopbuilder/2.0.1/code/app/Modules/QuickView/QuickView.php#L10-L20`.

```php
<?php

namespace RadiusTheme\SB\Modules\QuickView;

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'This script cannot be accessed directly.' );
}

use RadiusTheme\SB\Modules\Compare\CompareInstaller;
use RadiusTheme\SB\Traits\SingletonTrait;

final class QuickView {

	/**
	 * @var array
	 */
	public $settings = [];

	//protected $module_id = 'quick_view';

	use SingletonTrait;

	function __construct() {

		QuickViewFrontEnd::instance();

		do_action( 'rtsb/module/quick_view/loaded' );
	}

	/**
	 * Do stuff upon plugin activation
	 *
	 * @return void
	 */
	public function activate() {
		( new CompareInstaller() )->run();
	}
}
```
