Add new columns to producer and product language tables
- Added 'data' column to 'pp_shop_producer_lang' table for additional metadata storage. - Added 'security_information' column to 'pp_shop_products_langs' table to enhance product security details.
This commit is contained in:
@@ -145,6 +145,7 @@
|
||||
<li class="tab-link" id="tab-link-1" tab="1"><?= $this -> product -> language['tab_name_1'];?></li>
|
||||
<? endif;?>
|
||||
<li class="tab-link" id="tab-link-2" tab="2"><?= ucfirst( \S::lang( 'opinie' ) );?></li>
|
||||
<li class="tab-link" id="tab-link-3" tab="3">Bezpieczeństwo</li>
|
||||
</ul>
|
||||
<div id="tab-0" class="tab-content">
|
||||
<div class="tab-title"><?= \S::lang( 'opis-produktu' );?></div>
|
||||
@@ -188,6 +189,16 @@
|
||||
})(window);
|
||||
</script>
|
||||
</div>
|
||||
<div id="tab-3" class="tab-content">
|
||||
<? if ( $this -> product['producer']['data'] ):?>
|
||||
<div class="tab-title">Producent</div>
|
||||
<?= $this -> product['producer']['data'];?>
|
||||
<? endif;?>
|
||||
<? if ( $this -> product['language']['security_information'] ):?>
|
||||
<div class="tab-title">Informacje o bezpieczeństwie</div>
|
||||
<?= $this -> product['language']['security_information'];?>
|
||||
<? endif;?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-12 col-lg-4">
|
||||
<? if ( $this -> product -> language['tab_name_2'] ):?>
|
||||
|
||||
Reference in New Issue
Block a user