Hocam denedim benim temanın product.tpl dosyalarında birçoğu yok nasıl yapabilirim.
config->get('config_template').'/template/new_elements/wrapper_top.tpl'); ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'status' ) == 1) { ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'heading' ) != '') { ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'heading' ); ?>
theme_options->get( 'custom_block', 'product_page', $this->config->get( 'config_language_id' ), 'text' )); ?>
$language_id = $this->config->get( 'config_language_id' );
$tabs = array();
$tabs[] = array(
'heading' => $tab_description,
'content' => 'description',
'sort' => 1
);
if ($attribute_groups) {
$tabs[] = array(
'heading' => $tab_attribute,
'content' => 'attribute',
'sort' => 3
);
}
if ($review_status) {
$tabs[] = array(
'heading' => $tab_review,
'content' => 'review',
'sort' => 5
);
}
if(is_array($this->config->get('product_tabs'))) {
foreach($this->config->get('product_tabs') as $tab) {
if($tab['status'] == 1 || $tab['product_id'] == $product_id) {
foreach($tab['tabs'] as $zakladka) {
if($zakladka['status'] == 1) {
$heading = false; $content = false;
if(isset($zakladka[$language_id])) {
$heading = $zakladka[$language_id]['name'];
$content = html_entity_decode($zakladka[$language_id]['html']);
}
$tabs[] = array(
'heading' => $heading,
'content' => $content,
'sort' => $zakladka['sort_order']
);
}
}
}
}
}
usort($tabs, "cmp_by_optionNumber");
?>
$id = 'tab_'.$i;
if($tab['content'] == 'description') { $id = 'tab-description'; }
if($tab['content'] == 'attribute') { $id = 'tab-attribute'; }
if($tab['content'] == 'review') { $id = 'tab-review'; }
echo ''.$tab['heading'].'';
} ?>
$id = 'tab_'.$i;
if($tab['content'] != 'description' && $tab['content'] != 'attribute' && $tab['content'] != 'review') {
echo ''.$tab['content'].'';
}
} ?>
$class = 3;
$id = rand(0, 5000)*rand(0, 5000);
$all = 4;
$row = 4;
if($this->theme_options->get( 'product_per_pow' ) == 6) { $class = 2; }
if($this->theme_options->get( 'product_per_pow' ) == 5) { $class = 25; }
if($this->theme_options->get( 'product_per_pow' ) == 3) { $class = 4; }
if($this->theme_options->get( 'product_per_pow' ) > 1) { $row = $this->theme_options->get( 'product_per_pow' ); $all = $this->theme_options->get( 'product_per_pow' ); }
?>