{** * PrestaShop module created by VEKIA, a guy from official PrestaShop community ;-) * * @author VEKIA https://www.prestashop.com/forums/user/132608-vekia/ * @copyright 2010-2020 VEKIA * @license This program is not free software and you can't resell and redistribute it * * CONTACT WITH DEVELOPER * support@mypresta.eu *}
{if isset($smarty.get.addtab)}
{l s='Product Tabs' mod='extratabspro'} - {l s='Add new' mod='extratabspro'}
arrow_back{l s='back to list' mod='extratabspro'}

{* TAB NAME *} {* TAB NAME *} {* TAB NAME *}

{l s='Tab name' mod='extratabspro'}
{l s='Name of the tab appears also in shop front office as a clickable area to activate tab, or as a heading above the contents' mod='extratabspro'}

{if $thismodule->psversion()==7} {foreach Language::getLanguages(false) as $lang}
{/foreach}
{$thismodule->displayFlags(Language::getLanguages(false), $employee_idlang, 'bhbptitle', "bhbptitle", true)|replace:'../':'../../../../'}
{/if}

{* TAB INTERNAL NAME *} {* TAB INTERNAL NAME *} {* TAB INTERNAL NAME *}

{l s='Internal name' mod='extratabspro'}
{l s='Internal name of tab is for back office only. With unique names you can easily distinct the tabs on the list of available tabs. It does not appear on front office.' mod='extratabspro'}

{if $thismodule->psversion()==7} {foreach Language::getLanguages(false) as $lang}
{/foreach}
{$thismodule->displayFlags(Language::getLanguages(false), $employee_idlang, 'bhbptitlein', "bhbptitlein", true)|replace:'../':'../../../../'}
{/if}

{* TAB CONTENTS *} {* TAB CONTENTS *} {* TAB CONTENTS *}

{l s='Tab contents' mod='extratabspro'}
{l s='Contents appears inside tabs. Contents you enter here are visible on your shop front office as a tabs body.' mod='extratabspro'}

{foreach Language::getLanguages(false) as $lang} {/foreach}
{$thismodule->displayFlags(Language::getLanguages(false), $employee_idlang, 'bhbpbody', "bhbpbody", true)|replace:'../':'../../../../'}

{* TAB CMS PAGE *} {* TAB CMS PAGE *} {* TAB CMS PAGE *}

{l s='Apply CMS page' mod='extratabspro'}
{l s='This option applies CMS page contents to this tab. It will appear below contents you can define in rich text editor available above.' mod='extratabspro'}

{l s='Select CMS page:' mod='extratabspro'}

{l s='Tab visibility rules' mod='extratabspro'}


{l s='Set the way of how module will check conditions for this tab' mod='extratabspro'}

{* TAB EVERYWHERE *} {* TAB EVERYWHERE *} {* TAB EVERYWHERE *}

{l s='Display it everwhere' mod='extratabspro'}
{l s='With this option (if enabled) you can display this tab on each product page' mod='extratabspro'}

{* TAB EVERYWHERE *} {* TAB EVERYWHERE *} {* TAB EVERYWHERE *}
{* TAB SUPPLIERS SELECTION *} {* TAB SUPPLIERS SELECTION *} {* TAB SUPPLIERS SELECTION *}

{l s='Global tab based on suppliers' mod='extratabspro'}
{l s='Tab with this option will appear on many product pages associated with selected suppliers' mod='extratabspro'}
{l s='This option will allow to display this block on other products that are associated with selected suppliers (you can select suppliers below)' mod='extratabspro'}

{l s='Search for supplier' mod='extratabspro'}
{l s='ID numbers of suppliers' mod='extratabspro'}

{* TAB CATEGORY SELECTION *} {* TAB CATEGORY SELECTION *} {* TAB CATEGORY SELECTION *}

{l s='Global tab based on categories' mod='extratabspro'}
{l s='Tab with this option will appear on many product pages associated with selected categories' mod='extratabspro'}
{l s='This option will allow to display this block on other products that are associated with selected categories (you can select categories below)' mod='extratabspro'}

{l s='Search for category' mod='extratabspro'}
{l s='ID numbers of categories' mod='extratabspro'}

{* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *}

{l s='Global tab based on manufacturers' mod='extratabspro'}
{l s='Tab with this option will appear on many product pages associated with many manufacturers' mod='extratabspro'}
{l s='This option will allow to display this block on other products pages that are associated with selected manufacturers (you can select manufacturers below)' mod='extratabspro'}

{l s='Search for manufacturer' mod='extratabspro'}
{l s='ID numbers of manufacturers' mod='extratabspro'}

{* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *}

{l s='Display this tab also on selected product pages' mod='extratabspro'}
{l s='If you will select this option - this tab will appear also on selected product pages' mod='extratabspro'}
{l s='This option will allow to display this tab on many product pages. Define the products where it will appear below.' mod='extratabspro'}

{l s='Search for product' mod='extratabspro'}
{l s='ID numbers of products' mod='extratabspro'}

{l s='Global tab based on association with features' mod='extratabspro'}
{l s='Option when enabled will display tab on product page only if viewed product is associated with at least one selected feature.' mod='extratabspro'}

{l s='Feature search' mod='extratabspro'}

{l s='Geolocation' mod='extratabspro'}
{l s='Enable this option if you want to display tab only for guests from selected countries' mod='extratabspro'}

{l s='Select countries for which you want to enable the tab' mod='extratabspro'}
{l s='In order to use Geolocation, please download ' mod='extratabspro'} {l s='this file' mod='extratabspro'} {l s='and extract it (using Winrar or Gzip) into the /app/Resources/geoip/ directory.' mod='extratabspro'}
{l s='(You dont have to enable it, only extract the file)' mod='extratabspro'}

{$thismodule->countriesSelection()}

{l s='Groups of customers' mod='extratabspro'}
{l s='This option when enabled will display tab and its contents for customers associated with at least one group selected below' mod='extratabspro'}

{l s='Check groups of customers. These groups will have privileges to see the tab' mod='extratabspro'}

{$thismodule->groupsSelection()}

{l s='Display date & time' mod='extratabspro'}
{l s='If you want you can display this tab only during specific date / time. Just set the conditions below' mod='extratabspro'}
{l s='Select what kind of date & time conditions you want to use and then just set the values with date/time picker tool' mod='extratabspro'}

date_range
{l s='Date from' mod='extratabspro'}
access_time
{l s='Time from' mod='extratabspro'}
date_range
{l s='Date to' mod='extratabspro'}
access_time
{l s='Time to' mod='extratabspro'}
add_circle {l s='Save' mod='extratabspro'}
{elseif isset($smarty.get.editblock)}
{l s='Product Tabs' mod='extratabspro'} - {l s='Edit block' mod='extratabspro'}
arrow_back{l s='back to list' mod='extratabspro'}

{* TAB NAME *} {* TAB NAME *} {* TAB NAME *}

{l s='Tab name' mod='extratabspro'}
{l s='Name of the tab appears also in shop front office as a clickable area to activate tab, or as a heading above the contents' mod='extratabspro'}

{if $thismodule->psversion()==7} {foreach Language::getLanguages(false) as $lang}
{/foreach}
{$thismodule->displayFlags(Language::getLanguages(false), $employee_idlang, 'bhbptitle', "bhbptitle", true)|replace:'../':'../../../../'}
{/if}

{* TAB INTERNAL NAME *} {* TAB INTERNAL NAME *} {* TAB INTERNAL NAME *}

{l s='Internal name' mod='extratabspro'}
{l s='Internal name of tab is for back office only. With unique names you can easily distinct the tabs on the list of available tabs. It does not appear on front office.' mod='extratabspro'}

{if $thismodule->psversion()==7} {foreach Language::getLanguages(false) as $lang}
{/foreach}
{$thismodule->displayFlags(Language::getLanguages(false), $employee_idlang, 'bhbptitlein', "bhbptitlein", true)|replace:'../':'../../../../'}
{/if}

{* TAB CONTENTS *} {* TAB CONTENTS *} {* TAB CONTENTS *}

{l s='Tab contents' mod='extratabspro'}
{l s='Contents appears inside tabs. Contents you enter here are visible on your shop front office as a tabs body.' mod='extratabspro'}

{foreach Language::getLanguages(false) as $lang}
{/foreach}
{$thismodule->displayFlags(Language::getLanguages(false), $employee_idlang, 'bhbpbody', "bhbpbody", true)|replace:'../':'../../../../'}

{* TAB SAVE IN THIS CONTEXT *} {* TAB SAVE IN THIS CONTEXT *} {* TAB SAVE IN THIS CONTEXT *}

id_tab)==true}checked{else}{/if}/> {l s='Save in this context only' mod='extratabspro'}
{l s='Select this option if you want to change contents of the tab only for this product. ' mod='extratabspro'}

{if Extratabproextracontents::getBoolByProductAndTabId(Tools::getValue('id_product'),$extratabpro->id_tab)==true} {l s='If you will disable this option - contents of this tab will be saved globally and changes will be visible on each product page that has association with this tab and there where this option is also unselected' mod='extratabspro'} {else} {l s='If this tab will be associated with other products, it will show there global contents (or other unique contents if it will be saved in those products context only).' mod='extratabspro'} {/if}


{* TAB CMS PAGE *} {* TAB CMS PAGE *} {* TAB CMS PAGE *}

{l s='Apply CMS page' mod='extratabspro'}
{l s='This option applies CMS page contents to this tab. It will appear below contents you can define in rich text editor available above.' mod='extratabspro'}

{l s='Select CMS page:' mod='extratabspro'}

{l s='Tab visibility rules' mod='extratabspro'}


{l s='Set the way of how module will check conditions for this tab' mod='extratabspro'}

{* TAB EVERYWHERE *} {* TAB EVERYWHERE *} {* TAB EVERYWHERE *}

{l s='Display it everwhere' mod='extratabspro'}
{l s='With this option (if enabled) you can display this tab on each product page' mod='extratabspro'}

{* TAB EVERYWHERE *} {* TAB EVERYWHERE *} {* TAB EVERYWHERE *}
{* TAB SUPPLIERS SELECTION *} {* TAB SUPPLIERS SELECTION *} {* TAB SUPPLIERS SELECTION *}

block_type4 == 1}checked="yes"{/if}/> {l s='Global tab based on suppliers' mod='extratabspro'}
{l s='Tab with this option will appear on many product pages associated with selected suppliers' mod='extratabspro'}
{l s='This option will allow to display this block on other products that are associated with selected suppliers (you can select suppliers below)' mod='extratabspro'}

{l s='Search for supplier' mod='extratabspro'}
{l s='ID numbers of suppliers' mod='extratabspro'}

{* TAB CATEGORY SELECTION *} {* TAB CATEGORY SELECTION *} {* TAB CATEGORY SELECTION *}

block_type==2}checked="yes"{/if}/> {l s='Global tab based on categories' mod='extratabspro'}
{l s='Tab with this option will appear on many product pages associated with selected categories' mod='extratabspro'}
{l s='This option will allow to display this block on other products that are associated with selected categories (you can select categories below)' mod='extratabspro'}

{l s='Search for category' mod='extratabspro'}
{l s='ID numbers of categories' mod='extratabspro'}

{* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *}

block_type2==1}checked="yes"{/if}/> {l s='Global tab based on manufacturers' mod='extratabspro'}
{l s='Tab with this option will appear on many product pages associated with many manufacturers' mod='extratabspro'}
{l s='This option will allow to display this block on other products pages that are associated with selected manufacturers (you can select manufacturers below)' mod='extratabspro'}

{l s='Search for manufacturer' mod='extratabspro'}
{l s='ID numbers of manufacturers' mod='extratabspro'}

{* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *} {* TAB MANUFACTURERS SELECTION *}

block_type3==1}checked="yes"{/if}/> {l s='Display this tab also on selected product pages' mod='extratabspro'}
{l s='If you will select this option - this tab will appear also on selected product pages' mod='extratabspro'}
{l s='This option will allow to display this tab on many product pages. Define the products where it will appear below.' mod='extratabspro'}

{l s='Search for product' mod='extratabspro'}
{l s='ID numbers of products' mod='extratabspro'}

{l s='Global tab based on association with features' mod='extratabspro'}
{l s='Option when enabled will display tab on product page only if viewed product is associated with at least one selected feature.' mod='extratabspro'}

{l s='Feature search' mod='extratabspro'}
{$thismodule->getSelectedFeaturesDiv($extratabpro->feature_v)}

geoip==1}checked="yes"{/if}/> {l s='Geolocation' mod='extratabspro'}
{l s='Enable this option if you want to display tab only for guests from selected countries' mod='extratabspro'}

{l s='Select countries for which you want to enable the tab' mod='extratabspro'}
{l s='In order to use Geolocation, please download ' mod='extratabspro'} {l s='this file' mod='extratabspro'} {l s='and extract it (using Winrar or Gzip) into the /app/Resources/geoip/ directory.' mod='extratabspro'}
{l s='(You dont have to enable it, only extract the file)' mod='extratabspro'}

{$thismodule->countriesSelection($extratabpro->selected_geoip)}

for_groups==1}checked="yes"{/if}/> {l s='Groups of customers' mod='extratabspro'}
{l s='This option when enabled will display tab and its contents for customers associated with at least one group selected below' mod='extratabspro'}

{l s='Check groups of customers. These groups will have privileges to see the tab' mod='extratabspro'}

{$thismodule->groupsSelection($extratabpro->groups)}

{l s='Display date & time' mod='extratabspro'}
{l s='If you want you can display this tab only during specific date / time. Just set the conditions below' mod='extratabspro'}
{l s='Select what kind of date & time conditions you want to use and then just set the values with date/time picker tool' mod='extratabspro'}

date_range
df==1}checked="yes"{/if} type="checkbox" name="extratabspro_df" value="1"> {l s='Date from' mod='extratabspro'}
access_time
tf==1}checked="yes"{/if} type="checkbox" name="extratabspro_tf" value="1"> {l s='Time from' mod='extratabspro'}
date_range
dt==1}checked="yes"{/if} type="checkbox" name="extratabspro_dt" value="1"> {l s='Date to' mod='extratabspro'}
access_time
tt==1}checked="yes"{/if} type="checkbox" name="extratabspro_tt" value="1"> {l s='Time to' mod='extratabspro'}
add_circle {l s='Update' mod='extratabspro'}
{else}
{l s='Product Tabs' mod='extratabspro'} - {l s='List of tabs' mod='extratabspro'}
{l s='colors legend' mod='extratabspro'}
  • {l s='Tab appears on product pages associated with selected categories' mod='extratabspro'}
  • {l s='Tab appears on product pages associated with selected manufacturers' mod='extratabspro'}
  • {l s='Tab appears on selected product pages' mod='extratabspro'}
  • {l s='Tab appears on product pages associated with selected suppliers' mod='extratabspro'}
{l s='Tabs for this product' mod='extratabspro'}
{if isset($product_extratabs)}
    {foreach $product_extratabs AS $product_extratab}
  • {$product_extratab->internal_name[{$employee_idlang}]} ({$product_extratab->name[{$employee_idlang}]}) | ID: #extratabpro{$product_extratab->id_tab} {if $product_extratab->block_type3==1} {else} {/if}
  • {/foreach}
{else}
{l s='No tabs available for this product' mod='extratabspro'}
{/if}
{l s='Create new tab' mod='extratabspro'}
{/if} {if Configuration::get('mypresta_support')!=1} {literal} {/literal}
{/if}
{if Tools::getValue('editblock','false')=='false' && Tools::getValue('addtab','false')=='false'}

{l s='All available tabs' mod='extratabspro'}

{l s='Drag and drop selected tabs to the list above - you will add dropped tab to this product' mod='extratabspro'}

{l s='Add new' mod='extratabspro'}
{/if}