Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Primary Related Groups
Hi... I have one product... it is related in more groups... is OK, I can find this product in these groups... But I choosed one Primary Group and this are not following in details... https://georgenelzo.tinytake.com/sf/MjQzNzg3OF83MzcxMTY2 In Details ...
George Nelzo Pereira
14/03/2018 19:38:08
Last post: 17/08/2018 09:32:12
Helpers, regex engine and mvc-like
We are in the process of moving our coding standard away from the old includes and towards helpers, functions and partials via the techniques described by Dynamicweb here https://doc.dynamicweb.com/forum/templates/razor-partial-views-and-helper-funct ...
Kim Pilgaard
21/02/2018 13:01:11
Last post: 27/02/2018 14:05:40
Automatic email template forms for editors
Hi, We have different clients who made a form with the forms for editors function in DW9. When you fill in the form and send, then the customer and the company are getting the mail with a Dynamicweb logo. We changed it in the DefaultMail.cshtml and t ...
Manon Wekking
14/02/2018 14:31:11
Last post: 16/02/2018 02:14:10
Max number of products from a specific product category
I need a setting, where i can set a max number of products from a specific product category, that buyers can put in the cart pr. order. An example: a festival where visitors buy a workshop, and they can only put one workshop in the cart pr. order. Do ...
Jens Mouritzen
13/02/2018 12:55:31
Last post: 19/02/2018 15:33:24
Paragraphs container (items loop)
I'm trying to loop items with a file include. Basicly i'm trying to make a simple paragraph container like the one in Rapido I got the following error Exception in template (Designs/Simple/Paragraph/ParagraphContainer.cshtml): System.ArgumentExceptio ...
Jens Mouritzen
29/01/2018 11:10:06
Last post: 08/02/2018 09:28:41
Can't insert global element
Hi Dynamicweb, I cannot insert a global element with a item-allowed string formatted with spaces: @Model.Placeholder("Hero", "Hero", "items-allowed: HeroRibbonItem, HeroWithTextRibbonItem; unwrap:true") But it works when formatted like this: @Model.P ...
Rasmus Andersen
12/12/2017 11:23:33
Last post: 12/12/2017 20:02:04
Automatic log-out extranet after session-timeout
According to Nets security demands, a webshop extranet user should be logged out automatically if the user has been inactive for the time of the session-timeout (or other time set). This is not happening in DW today. Maybe it can be implemented in th ...
Michael Fløe Haug
30/11/2017 09:34:37
Last post: 11/04/2024 18:28:20
Loop eCom:Related.MostPopularProducts
On my site www.bolind.dk I use the loop "eCom:Related.MostPopularProducts" (frontpage), but it seems like it's only returning up to 10 items. In this case it's unfortunately, cause we strip/hide some of the items (accessories), which ends up returnin ...
Arild Garde
30/11/2017 09:02:48
Last post: 30/11/2017 12:46:40
Grid layout
Has anyone tried to create the new custom grid layout with simplified column selection? I want to controle the grid on all the different breakpoints so the user should only worrie about how they want it to look like on the eg desktop. I would like to ...
Jakob Westhausen
29/11/2017 15:18:44
Last post: 15/12/2017 13:03:20
Dynamicweb.Ecommerce.Common.Context.Cart.Price not updated after cart step update
Hi, I've taken over this code which is meant to be part of rendering a mini cart @{ double quantity = 0; var price = new PriceInfo(); if (!isCartEmpty) { quantity = Dynamicweb.Ecommerce.Common.Context.Cart.OrderLines.CountOnlyProducts; price = Dynami ...
Jacob Storgaard Jensen
20/11/2017 17:03:34
Last post: 28/11/2017 10:56:24
Razor: Increment
Hi, I've got a template which is both used as an include on a normal ecom product catalog template and on product templates... What I would like to achieve is to have my wrapping element given a unique ID each time this include/template is rendered.  ...
Jacob Storgaard Jensen
12/11/2017 14:17:45
Last post: 12/11/2017 20:11:04
DW 9.3.1 - RenderParagraphContent in forms for editors template
Hi, I'm having trouble using RenderParagraphContent([ParagraphID]) in a forms for editors template. When using it, it just results in this output in the HTML <!--@Global:Paragraph.Content([ParagraphID])-->. I've made sure that the ID i use exis ...
René Poulsen
09/11/2017 09:11:18
Last post: 08/01/2018 11:30:43
Get eCom group values within Dynamicweb.Frontend.PageViewModel?
Hi guys, sorry for this question, but I'm trying to catch up on a few years of Dynamicweb coding break. I have a page template which starts like this (I have to do changes to a already built site): @using Dynamicweb.Ecommerce.Products @inherits Dynam ...
Jacob Storgaard Jensen
08/11/2017 15:04:39
Last post: 08/11/2017 16:07:29
Extending Razor ViewModels
I have been looking into extending your Page and Paragraph ViewModels for our frontenders by creating models which inherits from your classes. However as far as I can tell this is not possible since you have hardcoded the usage of PageViewModel and P ...
Kim Pilgaard
08/11/2017 12:05:37
Last post: 13/11/2020 12:13:32
Missing language layers
Hi everyone, I am trying to setup a site to use language layers in DW 9.4 (installed using nuget), I am not seeing the "New language" button in the websites app as in the documentation. Is this an error or am i missing something? FYI: I posted this i ...
Rasmus Andersen
19/10/2017 18:14:16
Last post: 06/11/2017 09:46:03
Cookie manager.
Hi all I've been looking around, but I can’t find a best practice or up to date descriptions for cookie warnings through the cookie manager (especially in Dynamicweb9). First of what does the optinlevel (1-3?) cover? What’s the difference between the ...
Simon Nordahl
11/10/2017 09:38:54
Last post: 11/10/2017 13:35:19
Forms for editors - how to link files in the email template
Is there anybody who can/will help me with an exact example on an RAZOR email template to forms for editors, where an uploaded file is shown as a clickable link? Please! /Lise ...
Lise T. Pedersen
10/10/2017 14:27:15
Last post: 13/10/2017 11:33:11
fetch modified/edit timestamp on image in razor
Hi I have a razor template where i loop through images of a given folder, and publish it to a JSON feed. I wonder if it would be possible to fetch the timestamp of the image file (the time when the file was last edited) in the loop. Anyone know if th ...
Hans Ravnsfjall
05/10/2017 23:07:28
Last post: 05/10/2017 23:15:28
Performance issue with navigations.
Hi We've build a solution with multiple navigations visible on the productlist pages. It's especially the ecom groups navigation that takes its toll. We have the following ecom navigations active on our productlist (each rendered separately). Sidebar ...
Simon Nordahl
19/09/2017 15:48:41
Last post: 20/09/2017 17:21:53
Cart: a tag for orderline discount (true-false)?
Hi, Is there a tag for each orderline we can use to ccheck if there is a discount applied to this orderline or not? Something like "Orderline.HasDiscount" = true/false Or maybe an orderline tag that only renders a value, or a value different from 0,  ...
Jens Jakob Kristensen
18/09/2017 16:02:24
Last post: 04/10/2017 16:24:52