- Posts: 161
- Thank you received: 8
Not showing Brands
- Crashbandi
-
Topic Author
- Offline
-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.10
-- PHP version -- : 7.2.19
Hi,
I have configured Hikashop to display the brand, but it is not showing. 'Display the btrand' is set to 'Yes' and the menu setting is 'Inherit'.
Regards,
Colin.
Please Log in or Create an account to join the conversation.
It seems that your product details page layout is customized.
So I suspect that the customization doesn't display the brand area.
Check the folder templates/YOUR_TEMPLATE/html/com_hikashop/product/ via FTP.
There, you'll find several view file overrides. Try renaming them one by one to deactivate them and see if it helps until you find the file which customize that part and prevent the brand from being displayed.
Then, you can contact either your template provider or the person who customized the layout for you to ask them to look into it.
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
I renamed each of the 6 files and it made no difference.
I contacted the template provider and they say it must be somehow disabled.
My Hikkashop configuration is: Display/Product Options/Display the brand = Yes
Hope you can help.
Regards,
Colin
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
Please Log in or Create an account to join the conversation.
Well, from what I can understand it should come from the file templates/YOUR_TEMPLATE/html/com_hikashop/product/show_tabular.php which modifies the tabs system incorrectly.
What you can do is to add such CSS on your website to prevent that:
#hikashop_show_tabular_specification{ display:block !important; }
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
It displays the brand near the bottom of the page. Could you let me know how to display near the top, just above the SKU?
Thanks again,
Colin.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
Can you show us more screenshots of what you have and of how you want it to be displayed ? Thank you.
You'll probably have to directly edit the code of the "show_default" file via "Hikashop->Display->Views".
Kind regards,
Mohamed Thelji.
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
For info an example is HERE
I have attached a screenshot.
'A' is the current view with the Brand at the bottom of the page.
'B' is how I would like it to look with the brand just above the SKU.
Thanks.
Regards,
Colin.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
In that case the solution will be to directly edit the "show_default" file of the "product" view of your front-end template via "Hikashop->Display->Views", and move that code where you want it to be displayed :
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
I found similar code and moved it, but it made no difference?
Here is my code:
<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>
Regards,
Colin.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
In that case you're probably editing the file of the wrong front-end template via "Hikashop->Display->Views".
Kind regards,
Mohamed Thelji.
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
You can eventually send us a temporary back-end access through our contact form so that we can directly check why you can't apply your modification (please don't forget to add a link to that thread in your message) :
www.hikashop.com/support/contact-us.html
Kind regards,
Mohamed Thelji
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
I have sent the info.
Regards,
Colin.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
My bad I mistook the brand url and the manufacturer url.
The modification was added through the "Show_tabular" file of the "Product" view of our front-end template.
Kind regards,
Mohamed Thelji.
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
Thank you for your help with this.
I can't see the code in the JD Shop template. Am I looking at the right file?
Also, I have removed the word 'Brand' via Joomla Language Overrides, but I can't remove the colon ':'?
Regards,
Colin.
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
I can't see the code in the JD Shop template. Am I looking at the right file?
We had to edit the "Show_tabular" file of the "product" view of your front-end template via "Hikashop->Display->Views" and move that code :
So you'll have to edit the $specif_tab_content variable.
We wish you a nice day,
Kind regards,
Mohamed Thelji.
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
Regards,
Colin.
Please Log in or Create an account to join the conversation.
- Crashbandi
-
Topic Author
- Offline
- Posts: 161
- Thank you received: 8
Just a quick one. Where can I delete the colon just before the brand name. As shown in the attachment.
Regards,
Colin.
Please Log in or Create an account to join the conversation.
Normally, it's from the line:
However, as your product page layout is customized, it might be in another file of the product view.
Please Log in or Create an account to join the conversation.