Carry on Shopping Section links with another language

Posted By jmlipari Fri 14 Mar 2014
Add to Favorites1
Author Message
jmlipari
 Posted Fri 14 Mar 2014
Supreme Being

Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)

Group: Forum Members
Last Active: Fri 21 Mar 2014
Posts: 5, Visits: 14
Hi,I'm working with Kartris 2.5008 in Spanish and this morning have noted something strange with the "Carry on Shopping" section. This section have links to another categories but when I clic on them the link is broken.
This only happens when I use the Spanish language. When I use the English language everything works fine.
In researching this error I found that the link generated by the application is wrong because a string is added to the end with the language Id.
Example:
Link generated in English:
http://apps.net2one.com.ar/shop/en-GB/Strollers---Security__c-p-0-0-8.aspx (works fine)

Link generated in Spanish
http://apps.net2one.com.ar/shop/es-AR/Carritos---Seguridad__c-p-0-0-8.aspx&L=2

In red you see a string with a languageid. If i delete this characters from the string the link works fine.

Is this a bug? How do I to fix it?
Thank you and I'm sorry for my poor english :-)

Jose
Paul
 Posted Mon 17 Mar 2014
große Käse

große Käse - (509,060 reputation)große Käse - (509,060 reputation)große Käse - (509,060 reputation)große Käse - (509,060 reputation)große Käse - (509,060 reputation)große Käse - (509,060 reputation)große Käse - (509,060 reputation)große Käse - (509,060 reputation)große Käse - (509,060 reputation)

Group: Administrators
Last Active: Tue 10 Sep 2024
Posts: 807, Visits: 2,748
Hi Jose

Can you try the following... in this file:

/App_Code/Providers/SiteMapProvider.vb, find line 511 (or thereabouts)

If numLangID > 1 Then strURL += "&L=" & numLangID


Comment this line out and see if it fixes the issue. I think this is the place that the extra is added on, it may be it's legacy code that is no longer needed since the URL without this works.

thanks

Paul


--
If my post solves your issue, can you 'Mark as Answer' so it's easier for other users to find in future.

If you would like to be informed of new features, new releases, developments and occasional special bonuses, please sign up to our mailing list: http://bit.ly/19sKMZb
jmlipari Marked As Answer
 Posted Mon 17 Mar 2014
Supreme Being

Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)Supreme Being - (2,920 reputation)

Group: Forum Members
Last Active: Fri 21 Mar 2014
Posts: 5, Visits: 14
Hi Paul,Thank you for the reply.
Finally I've commented out the line 605 and the links now works fine.

Thank you!

Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse

Back To Top