- Posts: 91
- Thank you received: 1
2 problems with links and tabular view

first problem
i have linkt to the produkt, and link looks like this
mysitename/produkt/produktname.html
when i have manufacturer enabled in produkt view the link is like this
mysitename/manufacturername.html
and i dont have that link to my site.
and i want to have link like this
mysitename/manufacturer/manufacturername.html
because i have that link
2 problem
compare produkt links problem
when i have produkcts in compare view
the products have links like this
mysitename/component/hikashop/produkt/produktname.html
how to make this looks like this
mystitename/produkts/produkt/produktname.html
?
3 problem - tabular
is posible to make another tab in tabular like video tab?
Please Log in or Create an account to join the conversation.
- Posts: 12953
- Thank you received: 1778
1. 2. Note that using "SEF url options" tab options through "Hikashop->System->Configuration->Feature" will probably help you.
3. The solution will probably be to add some code customization to add your "video" tab through the "listing_table" file of the "product" view through "Hikashop->Display->Views"
Please Log in or Create an account to join the conversation.
3. I realy dont know good php
Please Log in or Create an account to join the conversation.
Thanks to give us your settings regarding the SEF options.
Using an advanced sef manager components can probably help you in having the desired URLs.
For the Tab I suppose that you are talking about the product show page with the tabs.
So you have to edit the view "product / show_tabular" and add a tab by adding the following code in the "ul":
Please Log in or Create an account to join the conversation.
but where i must add the secound code?
In products content description?
I try to add this code in product description and the content in the<div class="hikashop_tabs_content" id="hikashop_show_tabular_description">
... - this contnent
</div> dosent show in video tab.
Please Log in or Create an account to join the conversation.
because vide tab will have all products...
and product will have diffrent video
Please Log in or Create an account to join the conversation.
Sorry my mistake, the code must be:
To have different videos depending on the product, the easiest way is to create a new custom field in the "product" table via the menu Display > Custom fields. Then in backend for each product set his video url/path.
And in the view edition, in the tab set a path containing the url set in the custom field.
To get the content of a custom field you have to use code like:
Please Log in or Create an account to join the conversation.
OK i set up a tab - work ok.
i set up a div content - is ok
i put in div
<?php
echo ($this->element->customfieldname);
?>
AND the video shows in video tab in tabular product view
BUT
The video shows in specification tab too
How to change that
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Could you post the code you have for the tabs ?
Thanks to put it between the following tags [ code] ... [ /code] (without spaces)
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
Could you give us a link to a product page with that problem ?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
To avoid that you will have to edit the view "product / show_block_custom_main" and put an if condition to not display the field if it's the video one. Something like:
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.