<?php
/**
 * @package	HikaShop
 * @version	6.4.0
 * @author	hikashop.com
 * @copyright	(C) 2010-2026 HIKARI SOFTWARE. All rights reserved.
 * @license	GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
 */
defined('_JEXEC') or defined('ABSPATH') or die('Restricted access');
// phpcs:disable WordPress.Security.EscapeOutput.OutputNotEscaped
?><?php
class hikashopWaitlistType extends hikashopType {
	function load(){
		$this->values = array(
			JHTML::_('select.option', 0,JText::_('HIKASHOP_NO')),
			JHTML::_('select.option', 2,JText::_('FOR_ALL_PRODUCTS') ),
			JHTML::_('select.option', 1,JText::_('ON_A_PER_PRODUCT_BASIS')),
		);
	}
	function display($map,$value){
		$this->load();
		return JHTML::_('select.genericlist', $this->values, $map, 'class="custom-select" size="1"', 'value', 'text', (int)$value );
	}
}
