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

#   Falang translation

##

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

11 years 3 days ago -  11 years 2 days ago [\#221431](#221431) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  *[Falang translation](/forum/10-translation/880614-falang-translation#221431 "Hi,  1. I am using Falang. First I couldn't translate category canonical url... Found that I had to enable &quot;Activate the edition of content in multiple languages&quot;. There was another button &quot;content published by default&quot; which I enabled too. After I did both &quot;content published by default&quot; button disappeared which I would like to disable now. How can I do this?  2. Where I can link menu item id to minicart module? With wishlist module everything is fine but I cant find it in minicart... Update. It seems that problem is related with my template override on product/cart. I think this is the code it is using to display title  And it it is different from default hikashop.  The problem is that title link isn't working as it should. If click on product title from minicart module it will display that product in same page you are, even home....But everything is fine with other template which is using default hikashop product/cart Could anyone tell me if this code is good or how can modify it to display title link correctly?  Thanks")* was created by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")*

Hi,

1. I am using Falang. First I couldn't translate category canonical url... Found that I had to enable "Activate the edition of content in multiple languages". There was another button "content published by default" which I enabled too. After I did both "content published by default" button disappeared which I would like to disable now. How can I do this?

2. Where I can link menu item id to minicart module? With wishlist module everything is fine but I cant find it in minicart...
Update. It seems that problem is related with my template override on product/cart. I think this is the code it is using to display title Code:

&lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$url_itemid);?&gt;" class="moduleItemTitle"&gt;&lt;?php } ?&gt; &lt;?php if(@$row-&gt;main_product_name) echo $row-&gt;main_product_name; else echo $row-&gt;product_name;?&gt; &lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt;&lt;/a&gt;&lt;?php } ?&gt;

And it it is different from default hikashop.

The problem is that title link isn't working as it should. If click on product title from minicart module it will display that product in same page you are, even home....But everything is fine with other template which is using default hikashop product/cart
Could anyone tell me if this code is good or how can modify it to display title link correctly?

Thanks

Last edit: 11 years 2 days ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg4MDYxNC1mYWxhbmctdHJhbnNsYXRpb24/dG1wbD1tYXJrZG93bg==) 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: 86583
- Thank you received: 14324
-
-

11 years 2 days ago [\#221490](#221490) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Falang translation](/forum/10-translation/880614-falang-translation#221490 "Hi,  1. I am using Falang. First I couldn't translate category canonical url... Found that I had to enable &quot;Activate the edition of content in multiple languages&quot;. There was another button &quot;content published by default&quot; which I enabled too. After I did both &quot;content published by default&quot; button disappeared which I would like to disable now. How can I do this?  2. Where I can link menu item id to minicart module? With wishlist module everything is fine but I cant find it in minicart... Update. It seems that problem is related with my template override on product/cart. I think this is the code it is using to display title  And it it is different from default hikashop.  The problem is that title link isn't working as it should. If click on product title from minicart module it will display that product in same page you are, even home....But everything is fine with other template which is using default hikashop product/cart Could anyone tell me if this code is good or how can modify it to display title link correctly?  Thanks")*

Hi,

1. The option "content published by default" has been removed. The content is now automatically published so the option is not necessary anymore.

2. It's indeed a problem of the template override on the cart module.
It would be best to ask your template provider to update the cart module override so that you get the fix but other customers of theirs do too.
Basically, you want to replace the line: Code:

&lt;?php if(@$defaultParams['link_to_product_page']){ ?&gt; &lt;a href="&lt;?php echo hikashop_completeLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$url_itemid);?&gt;" class="moduleItemTitle"&gt;&lt;?php } ?&gt;

with: Code:

&lt;?php if(@$defaultParams['link_to_product_page']) { ?&gt; &lt;a href="&lt;?php echo hikashop_contentLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$this-&gt;url_itemid, $row);?&gt;" &gt;&lt;?php } ?&gt;

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

11 years 2 days ago -  11 years 2 days ago [\#221507](#221507) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Falang translation](/forum/10-translation/880614-falang-translation#221507 "Hi,  1. I am using Falang. First I couldn't translate category canonical url... Found that I had to enable &quot;Activate the edition of content in multiple languages&quot;. There was another button &quot;content published by default&quot; which I enabled too. After I did both &quot;content published by default&quot; button disappeared which I would like to disable now. How can I do this?  2. Where I can link menu item id to minicart module? With wishlist module everything is fine but I cant find it in minicart... Update. It seems that problem is related with my template override on product/cart. I think this is the code it is using to display title  And it it is different from default hikashop.  The problem is that title link isn't working as it should. If click on product title from minicart module it will display that product in same page you are, even home....But everything is fine with other template which is using default hikashop product/cart Could anyone tell me if this code is good or how can modify it to display title link correctly?  Thanks")*

Hi,

Thank you Nicolas for replay.

I did simple thing. I have replaced that code with hikashop default: Code:

&lt;td class="hikashop_cart_module_product_name_value hikashop_cart_value"&gt; &lt;?php if(@$defaultParams['link_to_product_page']) { ?&gt; &lt;a href="&lt;?php echo hikashop_contentLink('product&amp;task=show&amp;cid='.$row-&gt;product_id.'&amp;name='.$row-&gt;alias.$this-&gt;url_itemid, $row);?&gt;" &gt;&lt;?php } ?&gt; &lt;?php echo $row-&gt;product_name; ?&gt; &lt;?php if ($this-&gt;config-&gt;get('show_code')) { ?&gt;&lt;span class="hikashop_product_code_cart"&gt;&lt;?php echo $row-&gt;product_code; ?&gt;&lt;/span&gt;&lt;?php } ?&gt; &lt;?php if(@$defaultParams['link_to_product_page']) { ?&gt;&lt;/a&gt;&lt;?php } ?&gt;

And it works well.
It also display product code. However product code generated by hikashop isn't really nice looking. If you have "dress long black" it will generate something like "dre_ss_lon_bla"
So question. Is there a way to have product code generated from letters and numbers instead words? I know I can remove code but I would like to have it and it would be a pain to enter them manually.

Thanks again for your support, appreciated!

Last edit: 11 years 2 days ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg4MDYxNC1mYWxhbmctdHJhbnNsYXRpb24/dG1wbD1tYXJrZG93bg==) 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: 86583
- Thank you received: 14324
-
-

11 years 2 days ago [\#221567](#221567) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Falang translation](/forum/10-translation/880614-falang-translation#221567 "Hi,  1. I am using Falang. First I couldn't translate category canonical url... Found that I had to enable &quot;Activate the edition of content in multiple languages&quot;. There was another button &quot;content published by default&quot; which I enabled too. After I did both &quot;content published by default&quot; button disappeared which I would like to disable now. How can I do this?  2. Where I can link menu item id to minicart module? With wishlist module everything is fine but I cant find it in minicart... Update. It seems that problem is related with my template override on product/cart. I think this is the code it is using to display title  And it it is different from default hikashop.  The problem is that title link isn't working as it should. If click on product title from minicart module it will display that product in same page you are, even home....But everything is fine with other template which is using default hikashop product/cart Could anyone tell me if this code is good or how can modify it to display title link correctly?  Thanks")*

Hi,

In that case, you can create a small hikashop plugin and implement the onBeforeProductCreate(&amp;$product, &amp;$do) trigger in order to set yourself the $product-&gt;product_code yourself.

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

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

11 years 1 day ago [\#221591](#221591) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Falang translation](/forum/10-translation/880614-falang-translation#221591 "Hi,  1. I am using Falang. First I couldn't translate category canonical url... Found that I had to enable &quot;Activate the edition of content in multiple languages&quot;. There was another button &quot;content published by default&quot; which I enabled too. After I did both &quot;content published by default&quot; button disappeared which I would like to disable now. How can I do this?  2. Where I can link menu item id to minicart module? With wishlist module everything is fine but I cant find it in minicart... Update. It seems that problem is related with my template override on product/cart. I think this is the code it is using to display title  And it it is different from default hikashop.  The problem is that title link isn't working as it should. If click on product title from minicart module it will display that product in same page you are, even home....But everything is fine with other template which is using default hikashop product/cart Could anyone tell me if this code is good or how can modify it to display title link correctly?  Thanks")*

Hi,

If I knew how to create it... I will ask on commercial job section.

Thank you Nicolas

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

- **[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")**
- [![kyratn's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/redswirl.jpg)](/forum/user/38342-kyratn "View kyratn's Profile") Topic Author
- [ Offline](/forum/user/38342-kyratn)

Less More

- Posts: 1119
- Thank you received: 114
-
- [](http://kyra.lt)
-

11 years 1 day ago -  11 years 1 day ago [\#221677](#221677) by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile")  Replied by *[kyratn](/forum/user/38342-kyratn "View kyratn's Profile")* on topic *[Falang translation](/forum/10-translation/880614-falang-translation#221677 "Hi,  1. I am using Falang. First I couldn't translate category canonical url... Found that I had to enable &quot;Activate the edition of content in multiple languages&quot;. There was another button &quot;content published by default&quot; which I enabled too. After I did both &quot;content published by default&quot; button disappeared which I would like to disable now. How can I do this?  2. Where I can link menu item id to minicart module? With wishlist module everything is fine but I cant find it in minicart... Update. It seems that problem is related with my template override on product/cart. I think this is the code it is using to display title  And it it is different from default hikashop.  The problem is that title link isn't working as it should. If click on product title from minicart module it will display that product in same page you are, even home....But everything is fine with other template which is using default hikashop product/cart Could anyone tell me if this code is good or how can modify it to display title link correctly?  Thanks")*

Fixed....

Last edit: 11 years 1 day ago by [kyratn](/forum/user/38342-kyratn "View kyratn's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzEwLXRyYW5zbGF0aW9uLzg4MDYxNC1mYWxhbmctdHJhbnNsYXRpb24/dG1wbD1tYXJrZG93bg==) 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.073 seconds

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