Products

Solutions

Resources

Partners

Community

About

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreShowing Lbs instead of KGShowing Lbs instead of KG
Previous
 
Next
New Post
1/25/2008 6:31 PM
 

Hello,

What do I change in terms of templates, etc. so the product detail shows "lbs" and "Inches" instead of "kg" and "mm"?  Thanks...

Jeff Allen

 
New Post
1/26/2008 12:00 AM
 

Hi Jeff,

Too easy!  Don't worry I think about other countries. You can change evrey strings inside the Store module with the standard DNN language editor. Go to Host > Languages > Language Editor, then in the tree to the left expand Local Resources > DesktopModules > Store > App_LocalResources and select ProductDetail.ascx.resx. In the right part, you will find the resources like HeightText.Text, LengthText.Text, SurfaceText.Text and so on. Modify the unit and save, but DO NOT remove the {0}. This is used for insert the value in the text.

Concerning the templating system, by default the template files, css and images are located inside the folder ...\DesktopModules\Store\Templates. If you need a different style for each portal using the Store module, go to the Store Admin module and check Portal Templates. In this case all needed files are copied inside ...\Portals\n\Store\Templates (where n is the portal number). By default, for display products by category the template ProductList.htm is used. You can copy this file to an other file name, then modify it. This is just HTML and tokens, if you don't want the thumbnails delete the line <td class="NewProduct-Image">[IMAGE]</td>. If you want display the description, replace the token [SUMMARY] by [DESCRIPTION] and so on. When this will be done, select Settings in the menu module of the Catalog. In the section Catalog Settings > General Settings > Category Product Settings, choose your new template file name in the List Template combobox.

Here the list of available tokens: IMAGE, MANUFACTURER, MODELNUMBER, MODELNAME, TITLE, LINKDETAIL, LINKDETAILIMG, SUMMARY, WEIGHT, HEIGHT, LENGTH, WIDTH, SURFACE, VOLUME, DIMENSIONS, PRICE, VATPRICE, PURCHASE, PURCHASEIMG, ADDTOCART, ADDTOCARTIMG, DESCRIPTION, LOCALE, TEMPLATESBASEURL, IMAGESBASEURL, PRODUCTDETAILURL. Every token must be surrounded by brackets, like [IMAGE], [MANUFACTURER] and so on. I think that the names are clear?

Gilles


We (team members) are Humans offering their knowledge, their work and their spare time FOR FREE to benefit the community. It would be so particularly appreciated that your messages begin with "Hello" and end with "Thank you" or any other form of politeness. Ask yourself what your reaction would be, if you were approached by me (a total stranger) on the street to ask you something without saying "Hello" nor "Thank you"? After several years of services dedicated to the community, I begin to be tired to read requests without any form of politeness.
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsStoreStoreShowing Lbs instead of KGShowing Lbs instead of KG


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out