<?php
/**
 * @package     productive-commerce
 * @author      productiveminds.com
 * @copyright   productiveminds.com
 */


// Start:: Content
$this->start_controls_section(
    'section_content_settings',
    [
        'label' => esc_html__( 'Data Settings', 'productive-commerce' ),
        'tab' => \Elementor\Controls_Manager::TAB_CONTENT,
    ]
);

$this->add_control(
    'columns_per_row',
    [
        'label' => esc_html__( 'Columns per row', 'productive-commerce' ),
        'description' => esc_html__( 'Max allowed products in compare is: ', 'productive-commerce' ) . productive_commerce_compare_cols_per_row() . esc_html__( '. To change this value, go to compare options page in admin', 'productive-commerce' ),
        'type' => \Elementor\Controls_Manager::NUMBER,
        'default' => productive_commerce_compare_cols_per_row(),
        'min' => 1,
        'max' => 7,
    ]
);

$this->add_control(
    'section_content_settings_unique_id',
    [
        'label' => esc_html__( 'Unique ID to use as CSS ID for the section', 'productive-commerce' ),
        'type' => \Elementor\Controls_Manager::HIDDEN,
        'default' => 'section_unique_id_' . rand() . '_' . rand(),
        'frontend_available' => true,
    ]
);

$this->end_controls_section();
// End:: Content
/**
 * 
 * Start:: Styles
 * N / A
 */
// End:: Styles
        