Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

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 ForumsStoreStoreHow do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?How do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?
Previous
 
Next
New Post
8/6/2011 1:29 AM
 
Hi,

You can disable any fields in the search field list! :-) In the Store Catalog module settings, expand the Search Settings section and uncheck unwanted fields. That's all!

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.
 
New Post
8/21/2011 12:40 AM
 
Hi everyone,
I am very new to DNN and having a similar problem AJSANSONE. Thanks to Gilles for posting where we could find some info about editing the template of the store module. Here is a direct link to Template design guide for anyone who is overlooked it on the website.

Although this was very informative, I still have a few questions about how I could edit the store tokens.

If I wanted to Edit the Product tokens such as MODELNUMBER  and change the corresponding token to represent say the year it was manufactured. Where would I make this change so it also changes the Token name in the database for search related purposes.
 
Would I have to edit the productadmin.ascx as well as changing the token names in productdeail.htm ?

So  the old looks like this...
<asp:TemplateColumn>
                           <HeaderTemplate>
                                <asp:Label id="lblModelNumber" runat="server" resourcekey="lblModelNumber" cssclass="NormalBold">Model Number</asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:label id="labelModelNumber" runat="server" cssclass="Normal"> <%# DataBinder.Eval(Container.DataItem, "ModelNumber") %> </asp:label>
                            </ItemTemplate>
                        </asp:TemplateColumn>



So should my new code if I was to Change the modelnumber to Year look like this below? Also do I need to create the lblYear for my store database or am I already doing that within this ascx file ?



<asp:TemplateColumn>
                            <HeaderTemplate>
                                <asp:Label id="lblYear" runat="server" resourcekey="lblYear" cssclass="NormalBold">Production Year</asp:Label>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <asp:label id="labelYear" runat="server" cssclass="Normal"> <%# DataBinder.Eval(Container.DataItem, "Year") %> </asp:label>
                            </ItemTemplate>
                        </asp:TemplateColumn>


Any help would be greatly appreciated, Also I am running Store module 3.0 on DNN 6.0

If I am way off about editing this, if someone could point me in the direction of a good tutorial or a forum post so that they don't have to re-write something that has already been said before.

Look forward to hearing back from someone - Will
 
New Post
8/21/2011 10:02 PM
 
Hi Will,
I wouldn't try adding a new column to the store's database manually because of compatibility when upgrading to new versions. I just changed the names in the resource text files (~/desktopmodules/store/App_LocalResources) to whatever names you want the columns to appear as in the catalog and product detail templates (~/portals/{0}/store/templates)..

I deleted the Manufacturer and Model Number [tokens] in my template files then changed Model Name to Product Name in the resource text files.

Then I went to the store's search settings and unchecked Manufacturer and Model Number that way user's can't see those unused fields.

1. Make-A-Wish list for a new DNN Store module that can add, edit or delete product columns (Manufacturer, Model Number, Model Name) directly inside the DNN Store Admin module because there is alot of stores that sell different kinds of products.

2. Make-A-Wish list for a new DNN Store module that can add, edit or delete customer order columns (First Name, Last Name, Street, Unit #, Postal Code, City, Country, Region, Email, Daytime Phone, Evening Phone) directly inside the DNN Store Admin module because there is alot more customer information that you might want to store for example if they want to leave additional comments or if they want the order for pickup or delivery.

AJSANSONE
 
New Post
8/22/2011 10:57 PM
 
Hi Ajasn,

Thanks for taking time out of your busy day to answer my question.

I am a bit confused on what you mean by wish list? 

- Will
 
New Post
8/23/2011 12:59 PM
 
Hi Will,

The link you provide for the Templating Guide is outdated, please download the last version at Codeplex available with the last Store version 3.0.

If you want to use a field for another purpose like the ModelNumber to store the year, you just have to change the string label displayed in the product interface using the DNN Language Editor and still uses the [MODELNUMBER] token in the template to display the year. Of course, you could modify the source code to fit your needs but in this case you will create a fork and loose compatibility with future versions. To work with the source code, please read this post and PLEASE PLEASE PLEASE follow my advices!!! You will save plentry of time!

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 ForumsStoreStoreHow do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?How do you completely remove Manufacturer, ModelNumber and ModelName??? Then add ProductName?


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