diff --git a/admin/themes/default/sass/partials/_chosen.sass b/admin/themes/default/sass/partials/_chosen.sass
index 25ff66ef3..00b3d01f0 100644
--- a/admin/themes/default/sass/partials/_chosen.sass
+++ b/admin/themes/default/sass/partials/_chosen.sass
@@ -229,6 +229,7 @@ $chosen-sprite-path: '../img/chosen-sprite.png'
border: 0 !important
color: $gray
height: $chosen-multi-height - 8px
+ width: 100% !important
margin: 0
padding: 4px
outline: 0
@@ -297,6 +298,15 @@ $chosen-sprite-path: '../img/chosen-sprite.png'
.search-field input
color: #111 !important
+.chosen-container-multi.chosen-options-horizontal .chosen-choices
+ max-height: 55px !important
+ white-space: nowrap
+ overflow-x: auto
+
+.chosen-container-multi.chosen-options-horizontal .chosen-choices li
+ float: none
+ display: inline-block
+
.chosen-disabled
cursor: default
opacity: 0.5 !important
@@ -343,4 +353,7 @@ $chosen-sprite-path: '../img/chosen-sprite.png'
.chosen-search input
background: url($chosen-sprite-path) no-repeat -28px -20px, $chosen-background
direction: rtl
- padding: 4px 5px 4px 20px
\ No newline at end of file
+ padding: 4px 5px 4px 20px
+
+#list_filters_panel .chosen-container
+ width: 100% !important
\ No newline at end of file
diff --git a/admin/themes/default/template/controllers/products/helpers/list/list_content.tpl b/admin/themes/default/template/controllers/products/helpers/list/list_content.tpl
new file mode 100644
index 000000000..c08f0e2aa
--- /dev/null
+++ b/admin/themes/default/template/controllers/products/helpers/list/list_content.tpl
@@ -0,0 +1,53 @@
+{**
+ * 2010-2024 Webkul.
+ *
+ * NOTICE OF LICENSE
+ *
+ * All right is reserved,
+ * Please go through LICENSE.txt file inside our module
+ *
+ * DISCLAIMER
+ *
+ * Do not edit or add to this file if you wish to upgrade this module to newer
+ * versions in the future. If you wish to customize this module for your
+ * needs please refer to CustomizationPolicy.txt file inside our module for more information.
+ *
+ * @author Webkul IN
+ * @copyright 2010-2024 Webkul IN
+ * @license LICENSE.txt
+ *}
+
+{extends file='helpers/list/list_content.tpl'}
+
+{block name='td_content'}
+ {if isset($tr.$key) && isset($params.position)}
+ {if $order_by == 'position' && $order_way != 'DESC'}
+ {assign var=filters_has_value_no_location_hotel value=false}
+
+ {foreach $fields_display AS $key => $params}
+ {if $key != 'id_category_default' && (isset($params['value']) && $params['value'] !== false && $params['value'] !== '')}
+ {if is_array($params['value']) && trim(implode('', $params['value'])) == ''}
+ {continue}
+ {/if}
+
+ {assign var=filters_has_value_no_location_hotel value=true}
+ {break}
+ {/if}
+ {/foreach}
+
+ {if !$filters_has_value_no_location_hotel}
+
-
- {$category_tree}
+{block name="tableFilter"}{/block}
+{block name="override_form_extra"}
+ {if !$simple_header && $show_filters}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {if $filters_has_value}
+
+ {l s='Filters: '}
+
+ {foreach $fields_display AS $key => $params}
+ {if (!isset($params.search) || $params.search) && $params.value != ''}
+ {if ($params.type == 'date' || $params.type == 'datetime') && $params.value|is_array}
+ {assign var="filter_value" value=''}
+ {foreach $params.value as $value}
+ {if ($value|is_string && !empty($value))}
+ {if empty($filter_value)}
+ {assign var="filter_value" value=$value}
+ {else}
+ {assign var="filter_value" value="`$filter_value` - `$value`"}
+ {/if}
+ {/if}
+ {/foreach}
+ {if !empty($filter_value)}
+
+ {$params['title']|escape:'html':'UTF-8'}: {$filter_value|escape:'html':'UTF-8'}
+
+
+ {/if}
+ {elseif $params.type == 'range' && $params.value|is_array}
+ {assign var="filter_value" value=''}
+ {foreach $params.value as $value}
+ {if (isset($value) && ($value !== '' || $value === 0))}
+ {if !(isset($filter_value) && ($filter_value !== '' || $filter_value === 0))}
+ {assign var="filter_value" value=$value}
+ {else}
+ {assign var="filter_value" value="`$filter_value` - `$value`"}
+ {/if}
+ {/if}
+ {/foreach}
+ {if (isset($filter_value) && ($filter_value !== '' || $filter_value === 0))}
+
+ {$params['title']|escape:'html':'UTF-8'}: {$filter_value|escape:'html':'UTF-8'}
+
+
+ {/if}
+ {elseif $params.type == 'select'}
+ {if isset($params.multiple) && $params.multiple}
+
+ {$params['title']|escape:'html':'UTF-8'}:
+
+ {foreach from=$params.value item=option name=foreachInfo}
+ {$params.list[$option]}{if !$smarty.foreach.foreachInfo.last}{if $params.operator == 'or'} | {else}, {/if}{/if}
+ {/foreach}
+
+
+
+ {else}
+
+ {$params['title']|escape:'html':'UTF-8'}: {$params['list'][$params['value']]|replace: ' ' : ''}
+
+
+ {/if}
+ {elseif $params.type == 'bool' && $key == 'advance_payment'}
+
+ {$params['title']|escape:'html':'UTF-8'}: {if $params['value'] == 1}{l s='Yes'}{elseif $params['value'] == 0}{l s='No'}{/if}
+
+
+ {else}
+
+ {$params['title']|escape:'html':'UTF-8'}: {$params['value']|escape:'html':'UTF-8'}
+
+
+ {/if}
+ {/if}
+ {/foreach}
+
+
+ {/if}
+
+
+
+
+ {foreach $fields_display AS $key => $params}
+ {if !isset($params.search) || $params.search}
+
+
+
+
+ {/if}
+ {/foreach}
+ {if $has_actions || $show_filters}
+
+
+ {if $show_filters}
+
+
+ {if $filters_has_value}
+
+ {/if}
+
+ {/if}
+
+ {/if}
+
+
+
+
+
+
+
{/if}
-{/block}
+{/block}
\ No newline at end of file
diff --git a/admin/themes/default/template/controllers/products/informations.tpl b/admin/themes/default/template/controllers/products/informations.tpl
index d66b7e120..9657b851e 100644
--- a/admin/themes/default/template/controllers/products/informations.tpl
+++ b/admin/themes/default/template/controllers/products/informations.tpl
@@ -422,6 +422,27 @@
{/if}
+ {if isset($product->id) && $product->id}
+
+ {/if}
+
+ {if isset($product->id) && $product->id}
+
+ {l s='You can change positions of room types of this hotel from '}
+
{l s='here.'}
+
+ {/if}
+
{*