Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 3 of 3

Thread: Different Localization on Product Page

  1. #1
    BloomerBeak is offline Member
    Join Date
    Oct 2007
    Location
    Davao City
    Posts
    76

    Default Different Localization on Product Page

    Hi Guys,

    Is having a different locale setting for product page alone supported by AspDotNetStorefront? Like I have an English locale on my entire site. But when going to product page, http://www.mydomaine.com/p-11-product.aspx, I want the locale to be French. Then when I leave the page, the locale is then again English.

    Is this possible?

    I thought of changing the link on the code and use http://www.mydomain.com/setlocale.as...esetting=fr-FR. However, when I leave the page, the site will now be French.

    Can someone help me with this? Thank you very much.
    ***Melay***
    Web Developer
    Philippines

  2. #2
    Dusty is offline Member
    Join Date
    Jun 2009
    Posts
    176

    Default

    The Storefront has nothing built and that would accomplish this but such could be accomplished relatively easily. You're simplest approach would be to do some customizations to the ShowProduct.aspx page. In either the constructor or the OnInit event for the page, check to see if the product in question is one for which you wish to have a custom locale. If yes, change to the relevant locale, render as normal, and reset the local on the destructor or the Page_Unload event.

    Dusty
    ASPDotNetStorefront Staff

  3. #3
    BloomerBeak is offline Member
    Join Date
    Oct 2007
    Location
    Davao City
    Posts
    76

    Default

    Thanks, Sir Dusty...It worked! Better than what I had in mind.
    ***Melay***
    Web Developer
    Philippines