Hello Nicolas,
Thanks for usual perfect support!
I could do that and now Manufacturer's name is shown on my product page.
However, may I ask two more questions?
1. EXISTING CODE
I see the below code in the show view. What is this for? Due to some reason it seems to be always empty for my products. Is it not same as brands?
<span id="hikashop_product_url_main" class="hikashop_product_url_main">
<?php
if (!empty ($this->element->product_url)) {
echo JText :: sprintf('MANUFACTURER_URL', '<a href="' . $this->element->product_url . '" target="_blank">' . $this->element->product_url . '</a>');
}
?>
</span>
2. URL TO BRAND
I have inserted this code in the view "show_block_custom_main" right after tag "table":
<?php
if(!empty($this->element->product_manufacturer_id)){
?>
<tr class="hikashop_product_custom_<?php echo $oneExtraField->field_namekey;?>_line">
<td class="key">
<span id="hikashop_product_custom_name_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_name">
Brand:
</span>
</td>
<td>
<span id="hikashop_product_custom_value_<?php echo $oneExtraField->field_id;?>" class="hikashop_product_custom_value">
<?php $class = hikashop_get('class.category');
$manufacturer = $class->get($this->element->product_manufacturer_id);
echo '<a href="#">'.$manufacturer->category_name.'</a>';
?>
<br />
</span>
</td>
</tr>
<?php
}
?>
It works correctly, but what is the name of variable to be inserted instead of "#" in order to make link to Brand description?
Is it possible?
P.S. With Hikashop I will soon learn how to code sites.