- Posts: 14
- Thank you received: 0
Add tabs to product view
- svjatoslavs.krasnikovs
-
Topic Author
- Offline
Less
More
9 years 5 months ago #267635
by svjatoslavs.krasnikovs
Add tabs to product view was created by svjatoslavs.krasnikovs
-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.4
Hi. I know that the topic is not new (there are 2-5 yr. old outdated topics regarding this matter, but I could not find them useful). Thing is a got a client with Hikashop running on hi's website. I'm not quite experienced with this thing, therefore asking for your help. I have products displayed in tabular view, so far there are 2 tabs: Apraksts (Description) and Specifikacija (Specifications) (Yeah, it's sneaky Latvian). Thing is that I need to add another tab with custom field (Text). Any chance to get help please ? Also I do know that Hikashop is outdated on the website (2.6.4) but the client insists on keeping things as it is.
-- Joomla version -- : 3.6.4
Hi. I know that the topic is not new (there are 2-5 yr. old outdated topics regarding this matter, but I could not find them useful). Thing is a got a client with Hikashop running on hi's website. I'm not quite experienced with this thing, therefore asking for your help. I have products displayed in tabular view, so far there are 2 tabs: Apraksts (Description) and Specifikacija (Specifications) (Yeah, it's sneaky Latvian). Thing is that I need to add another tab with custom field (Text). Any chance to get help please ? Also I do know that Hikashop is outdated on the website (2.6.4) but the client insists on keeping things as it is.
Please Log in or Create an account to join the conversation.
9 years 5 months ago #267636
by nicolas
Replied by nicolas on topic Add tabs to product view
Hi,
Our FAQ has a section "How to add a tab in the tabular view ?"about that:
www.hikashop.com/support/documentation/106-faq.html#layo
And to display the content of a custom product field, there, you can use such code:
where XXX is the column name of the custom field.
Our FAQ has a section "How to add a tab in the tabular view ?"about that:
www.hikashop.com/support/documentation/106-faq.html#layo
And to display the content of a custom product field, there, you can use such code:
Code:
<?php echo $this->element->XXX; ?>
Please Log in or Create an account to join the conversation.
- svjatoslavs.krasnikovs
-
Topic Author
- Offline
Less
More
- Posts: 14
- Thank you received: 0
9 years 5 months ago #268001
by svjatoslavs.krasnikovs
Replied by svjatoslavs.krasnikovs on topic Add tabs to product view
Thank You for the reply. I've done what's explained in the FAQ. I do have the required Tab now. The problem is that the TAB is empty, even though I've added code required to link it to Custom field. I've added a picture of edited region of show_tabular.php, can you spot what I've done wrong ?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
9 years 5 months ago #268016
by Mohamed Thelji
Replied by Mohamed Thelji on topic Add tabs to product view
Hello,
If it didn't displayed the value of your product custom field, you should actually check that :
- you correctly used the value of your custom field "column name" through your custom field configuration page.
- you have set a value for your product custom field through your product configuration page.
If it didn't displayed the value of your product custom field, you should actually check that :
- you correctly used the value of your custom field "column name" through your custom field configuration page.
- you have set a value for your product custom field through your product configuration page.
Please Log in or Create an account to join the conversation.
- svjatoslavs.krasnikovs
-
Topic Author
- Offline
Less
More
- Posts: 14
- Thank you received: 0
9 years 5 months ago #268090
by svjatoslavs.krasnikovs
Replied by svjatoslavs.krasnikovs on topic Add tabs to product view
Oh, misspelled the column name. Thank You for your help.
Please Log in or Create an account to join the conversation.
Time to create page: 0.201 seconds