[Skip to main content](#vessel-content)

#   Brand position in product

##

- **[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")**
- [![verzevoul's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/8351-verzevoul "View verzevoul's Profile") Topic Author
- [ Offline](/forum/user/8351-verzevoul)

Less More

- Posts: 1195
- Thank you received: 13
-
-

9 months 1 day ago [\#370423](#370423) by [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")  *[Brand position in product](/forum/26-product-category-display/910111-brand-position-in-product#370423 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4.2 -- PHP version -- : 8.3  Hi,  I updated to Hiashop latest version and the Brand position does not display where i have it.  This is me show&#95;default.php code:  I would like to display it under the description.  Thank you")* was created by *[verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")*

-- HikaShop version -- : 6.3.0
-- Joomla version -- : 5.4.2
-- PHP version -- : 8.3

Hi,

I updated to Hiashop latest version and the Brand position does not display where i have it.

This is me show_default.php code:
Code:

&lt;div id="hikashop_product_right_part" class="hikashop_product_right_part hkc-md-6"&gt; &lt;!-- RIGHT BEGIN EXTRA DATA --&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightBegin)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightBegin); } ?&gt; &lt;!-- EO RIGHT BEGIN EXTRA DATA --&gt; &lt;!-- NAME --&gt; &lt;span id="hikashop_product_name_main" class="hikashop_product_name_main" itemprop="name"&gt;&lt;?php if(hikashop_getCID('product_id') != $this-&gt;element-&gt;product_id &amp;&amp; isset($this-&gt;element-&gt;main-&gt;product_name)) echo $this-&gt;element-&gt;main-&gt;product_name; else echo $this-&gt;element-&gt;product_name; ?&gt;&lt;/span&gt; &lt;!-- EO NAME --&gt; &lt;!-- CODE --&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt; &lt;span id="hikashop_product_code_main" class="hikashop_product_code_main"&gt;&lt;?php echo $this-&gt;element-&gt;product_code; ?&gt;&lt;/span&gt; &lt;?php } ?&gt; &lt;!-- EO CODE --&gt; &lt;!-- VOTE --&gt; &lt;div id="hikashop_product_vote_mini" class="hikashop_product_vote_mini"&gt;&lt;?php if($this-&gt;params-&gt;get('show_vote_product')) { $js = ''; $this-&gt;params-&gt;set('vote_type', 'product'); $this-&gt;params-&gt;set('vote_ref_id', isset($this-&gt;element-&gt;main) ? (int)$this-&gt;element-&gt;main-&gt;product_id : (int)$this-&gt;element-&gt;product_id ); echo hikashop_getLayout('vote', 'mini', $this-&gt;params, $js); } ?&gt;&lt;/div&gt; &lt;!-- EO VOTE --&gt; &lt;!-- RIGHT MIDDLE EXTRA DATA --&gt; &lt;?php if(!empty($this-&gt;element-&gt;extraData-&gt;rightMiddle)) { echo implode("\r\n",$this-&gt;element-&gt;extraData-&gt;rightMiddle); } ?&gt; &lt;!-- EO RIGHT MIDDLE EXTRA DATA --&gt; &lt;!-- PRICE --&gt; &lt;?php $itemprop_offer = 'itemprop="offers" itemscope itemtype="https://schema.org/Offer"'; ?&gt; &lt;span id="hikashop_product_price_main" class="hikashop_product_price_main" &lt;?php echo $itemprop_offer; ?&gt;&gt; &lt;?php $main =&amp; $this-&gt;element; if(!empty($this-&gt;element-&gt;main)) $main =&amp; $this-&gt;element-&gt;main; if(!empty($main-&gt;product_condition) &amp;&amp; !empty($this-&gt;element-&gt;prices)) { ?&gt; &lt;meta itemprop="itemCondition" itemtype="https://schema.org/OfferItemCondition" content="https://schema.org/&lt;?php echo $main-&gt;product_condition; ?&gt;" /&gt; &lt;?php } if($this-&gt;params-&gt;get('show_price') &amp;&amp; (empty($this-&gt;displayVariants['prices']) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display') != 'list')) { $this-&gt;row =&amp; $this-&gt;element; $this-&gt;setLayout('listing_price'); echo $this-&gt;loadTemplate(); $price = 0; if (!empty($this-&gt;element-&gt;prices)) { $price = $this-&gt;itemprop_price; } } ?&gt; &lt;meta itemprop="price" content="&lt;?php echo $price; ?&gt;" /&gt; &lt;meta itemprop="availability" content="https://schema.org/&lt;?php echo ($this-&gt;row-&gt;product_quantity != 0) ? 'InStock' : 'OutOfstock' ;?&gt;" /&gt; &lt;meta itemprop="priceCurrency" content="&lt;?php echo $this-&gt;currency-&gt;currency_code; ?&gt;" /&gt; &lt;/span&gt; &lt;!-- EO PRICE --&gt; &lt;!-- DIMENSIONS --&gt; &lt;?php $this-&gt;setLayout('show_block_dimensions'); echo $this-&gt;loadTemplate(); ?&gt; &lt;!-- EO DIMENSIONS --&gt; &lt;br /&gt; &lt;!-- DESCRIPTION --&gt; &lt;div id="hikashop_product_description_main" class="hikashop_product_description_main" itemprop="description"&gt;&lt;?php echo JHTML::_('content.prepare',preg_replace('#&lt;hr *id="system-readmore" */&gt;#i','',$this-&gt;element-&gt;product_description)); ?&gt;&lt;/div&gt; &lt;!-- EO DESCRIPTION --&gt; &lt;!-- MANUFACTURER URL --&gt; &lt;span id="hikashop_product_url_main" class="hikashop_product_url_main"&gt;&lt;?php if(!empty($this-&gt;element-&gt;product_url)) { echo JText::sprintf('MANUFACTURER_URL', '&lt;a href="' . $this-&gt;element-&gt;product_url . '" target="_blank"&gt;' . $this-&gt;element-&gt;product_url . '&lt;/a&gt;'); } ?&gt;&lt;/span&gt; &lt;!-- EO MANUFACTURER URL --&gt; &lt;!-- BUNDLED PRODUCTS --&gt; &lt;?php $this-&gt;setLayout('show_block_bundled'); echo $this-&gt;loadTemplate(); ?&gt; &lt;!-- EO BUNDLED PRODUCTS --&gt; &lt;!-- CHARACTERISTICS --&gt; &lt;?php if($this-&gt;params-&gt;get('characteristic_display') != 'list') { $this-&gt;setLayout('show_block_characteristic'); echo $this-&gt;loadTemplate(); ?&gt; &lt;br /&gt; &lt;?php } ?&gt; &lt;!-- EO CHARACTERISTICS --&gt; &lt;!-- OPTIONS --&gt; &lt;?php if(hikashop_level(1) &amp;&amp; !empty ($this-&gt;element-&gt;options)) { ?&gt; &lt;div id="hikashop_product_options" class="hikashop_product_options"&gt;&lt;?php $this-&gt;setLayout('option'); echo $this-&gt;loadTemplate(); ?&gt;&lt;/div&gt; &lt;br /&gt; &lt;?php $form = ',\'hikashop_product_form\''; if($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } } ?&gt; &lt;!-- EO OPTIONS --&gt; &lt;!-- CUSTOM ITEM FIELDS --&gt; &lt;?php if(!empty($this-&gt;itemFields)) { $form = ',\'hikashop_product_form\''; if ($this-&gt;config-&gt;get('redirect_url_after_add_cart', 'stay_if_cart') == 'ask_user') { ?&gt; &lt;input type="hidden" name="popup" value="1"/&gt; &lt;?php } $this-&gt;setLayout('show_block_custom_item'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;!-- EO CUSTOM ITEM FIELDS --&gt; &lt;!-- PRICE WITH OPTIONS --&gt; &lt;?php if($this-&gt;params-&gt;get('show_price')) { ?&gt; &lt;span id="hikashop_product_price_with_options_main" class="hikashop_product_price_with_options_main"&gt; &lt;/span&gt; &lt;?php } ?&gt; &lt;!-- EO PRICE WITH OPTIONS --&gt; &lt;!-- ADD TO CART BUTTON --&gt; &lt;?php if(empty($this-&gt;element-&gt;characteristics) &#124;&#124; $this-&gt;params-&gt;get('characteristic_display') != 'list') { ?&gt; &lt;div id="hikashop_product_quantity_main" class="hikashop_product_quantity_main"&gt;&lt;?php $this-&gt;row =&amp; $this-&gt;element; $this-&gt;formName = $form; $this-&gt;ajax = 'if(hikashopCheckChangeForm(\'item\',\'hikashop_product_form\')){ return hikashopModifyQuantity(\'' . (int)$this-&gt;element-&gt;product_id . '\',field,1' . $form . ',\'cart\'); } else { return false; }'; $this-&gt;setLayout('quantity'); echo $this-&gt;loadTemplate(); ?&gt;&lt;/div&gt; &lt;div id="hikashop_product_quantity_alt" class="hikashop_product_quantity_main_alt hikashop_alt_hide"&gt; &lt;?php echo JText::_('ADD_TO_CART_AVAILABLE_AFTER_CHARACTERISTIC_SELECTION'); ?&gt; &lt;/div&gt; &lt;?php } ?&gt; &lt;!-- EO ADD TO CART BUTTON --&gt; &lt;!-- CONTACT US BUTTON --&gt; &lt;div id="hikashop_product_contact_main" class="hikashop_product_contact_main"&gt;&lt;?php $contact = (int)$this-&gt;config-&gt;get('product_contact', 0); if(hikashop_level(1) &amp;&amp; ($contact == 2 &#124;&#124; ($contact == 1 &amp;&amp; !empty($this-&gt;element-&gt;product_contact)))) { $css_button = $this-&gt;config-&gt;get('css_button', 'hikabtn'); $attributes = 'class="'.$css_button.'"'; $fallback_url = hikashop_completeLink('product&amp;task=contact&amp;cid=' . (int)$this-&gt;element-&gt;product_id . $this-&gt;url_itemid); $content = JText::_('CONTACT_US_FOR_INFO'); echo $this-&gt;loadHkLayout('button', array( 'attributes' =&gt; $attributes, 'content' =&gt; $content, 'fallback_url' =&gt; $fallback_url)); } ?&gt; &lt;/div&gt; &lt;!-- EO CONTACT US BUTTON --&gt; &lt;!-- CUSTOM PRODUCT FIELDS --&gt; &lt;?php if(!empty($this-&gt;fields)) { $this-&gt;setLayout('show_block_custom_main'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;!-- EO CUSTOM PRODUCT FIELDS --&gt; &lt;!-- TAGS --&gt; &lt;?php if(HIKASHOP_J30) { $this-&gt;setLayout('show_block_tags'); echo $this-&gt;loadTemplate(); } ?&gt; &lt;!-- EO TAGS --&gt; &lt;!-- RIGHT END EXTRA DATA --&gt;

I would like to display it under the description.

Thank you

- [ ![show-default.png](/forum/attachment/61218) ](/forum/attachment/61218 "show-default.png") [ ](/forum/attachment/61218?download=1 "show-default.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAxMTEtYnJhbmQtcG9zaXRpb24taW4tcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

9 months 20 hours ago [\#370427](#370427) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Brand position in product](/forum/26-product-category-display/910111-brand-position-in-product#370427 "-- HikaShop version -- : 6.3.0 -- Joomla version -- : 5.4.2 -- PHP version -- : 8.3  Hi,  I updated to Hiashop latest version and the Brand position does not display where i have it.  This is me show&#95;default.php code:  I would like to display it under the description.  Thank you")*

Hi,

If you activate the "Display view files" setting of the HikaShop configuration page, you can see that the brand is displayed inside the product / show_block_dimensions view file.
In the code you copy pasted, this view file is displayed by the code: Code:

&lt;!-- DIMENSIONS --&gt; &lt;?php $this-&gt;setLayout('show_block_dimensions'); echo $this-&gt;loadTemplate(); ?&gt; &lt;!-- EO DIMENSIONS --&gt;

which is positioned just after the price area. And if I check the page of your URL, the brand is indeed displayed next to the price on the product page.
And if you check the HTML of your page with your browser inspector tool, you can see that the DIMENSIONS and EO DIMENSIONS HTML comments are around the WEIGHT, WIDTH, LENGTH, HEIGHT and BRAND areas:
[ i.imgur.com/HgOAkn7.png](https://i.imgur.com/HgOAkn7.png)

So, first, I don't think it has anything to do with the update, and it seems that you're confusing something somewhere because the way I see it, everything matches.
Thus, if you want to move the brand display below the description, you want to drag &amp; drop the "DIMENSIONS" block below the "DESCRIPTION" block in the view builder of product / show_default.

The following user(s) said Thank You: [verzevoul](/forum/user/8351-verzevoul "View verzevoul's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI2LXByb2R1Y3QtY2F0ZWdvcnktZGlzcGxheS85MTAxMTEtYnJhbmQtcG9zaXRpb24taW4tcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.054 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
