# sellkit/1.5.0/includes/funnel/steps/sales-page.php

SellKit – Funnel builder and checkout optimizer for WooCommerce to sell more, faster, version 1.5.0. 44 lines.

- Page: https://pluginprobe.com/plugins/sellkit/1.5.0/code/includes/funnel/steps/sales-page.php
- Raw: https://pluginprobe.com/plugins/sellkit/1.5.0/raw/includes/funnel/steps/sales-page.php
- Modified: 2022-11-08T12:13:58+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/sellkit/1.5.0/code/includes/funnel/steps/sales-page.php#L10-L20`.

```php
<?php

namespace Sellkit\Funnel\Steps;

defined( 'ABSPATH' ) || die();

/**
 * Class Sellkit_Sales_Page.
 *
 * @since 1.1.0
 */
class Sales_Page extends Base_Step {

	/**
	 * Sales_Page constructor.
	 *
	 * @since 1.1.0
	 */
	public function __construct() { // phpcs:ignore Generic.CodeAnalysis.UselessOverridingMethod.Found
		parent::__construct();
	}

	/**
	 * Sales page actions.
	 *
	 * @since 1.5.0
	 */
	public function do_actions() {
		if ( empty( $this->sellkit_funnel->funnel_id ) ) {
			return;
		}

		if ( 'sales-page' !== $this->sellkit_funnel->current_step_data['type']['key'] ) {
			return;
		}

		if ( ! is_user_logged_in() ) {
			return;
		}

		$this->contacts->add_new_log();
	}
}

```
