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 ForumsStoreStoreHide certain elments on store pageHide certain elments on store page
Previous
 
Next
New Post
12/8/2007 3:29 PM
 

I am trying to figure out how to NOT show certain elements on the store front.  For example i don't want to show pricing unitl the user registers for the site.  Does anyone have any ideas?

 
New Post
12/10/2007 12:12 PM
 

Hi,

For control which fields are displayed in the Store Catalog module, you can modify the templates files. Please read my response to Jim about available tokens in this post. But you can't display or hide fileds on the connection status. Because it's a templating system, not a language. For doing that, you have two solutions. The first one is to modifiy the code, but it's difficult because the Store module is a big VS solution containing 21 C# projects! Read this post for advices about source version.

The second solution is to use dnn right management and templating system. Start to configure your store as explained in the chapter 3 (Prepare your Store) of this post, then follow this steps:

  1. Create a new tab and name it Details.
    1. Define access to everybody and check Hidden in the section Advanced Settings > Appearance.
    2. Update your settings.
  2. Place a Text/HTML module in ContentPane.
    1. Reach to the module settings.
    2. In the section Module Settings > Basic Settings uncheck Inherit View permissions from Page.
    3. Check Unauthenticated Users in the column View Module.
    4. Update your settings
    5. Define an informative text in the Text/HTML module, like: "You must be registered and logged to access this informations".
  3. Place the module Store Catalog in ContentPane.
    1. Reach to the module settings.
    2. In the section Module Settings > Basic Settings uncheck Inherit View permissions from Page.
    3. Check Registered Users in the column View Module.
    4. Expand section Catalog Settings > General Settings.
    5. Uncheck Show Category Message, Show New Products, Show Featured Products, Show Popular Products and Show Category Products. Only Show Product Detail must be checked in this section.
    6. Expand Product Details Settings.
    7. Select the Store page (created in 3.1 of this post) for the Return To setting.
    8. Update your settings.
  4. Go to the Store page (created in 3.1 of this post).
    1. Reach to the Catalog module settings.
    2. Expand the section Catalog Settings > General Settings.
    3. Uncheck Show Product Detail.
    4. Expand the section Category Product Settings.
    5. Select your Details page for the Detail Page setting.
    6. Update your settings.

Now, you have to create your personalized templates as explained in this post. Create a new version of the template ProductListFullInfo.htm and remove the [PRICE] and [VATPRICE] tokens.

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 ForumsStoreStoreHide certain elments on store pageHide certain elments on store page


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