Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Do not render cookie notice on a page
Hi, Is there a way to prevent the cookie warning from being rendered on a particular page? (using DW9.14 and Swift 1.12 - not that it matters) We're using a page to render as pdf and store to disk through a notification. Because that's not ru ...
Nuno Aguiar
20/10/2024 17:18:05
Last post: 21/10/2024 23:39:37
Referencing custom fields in Razor template
Hello. I have created a custom field "GroupDescription", systemname "AccessUser_GroupDescription", and I want to retrieve its value when rendering a page using the name of the group from the group class I have been studying the pa ...
Stephen Anthony Jackson
20/08/2024 13:56:35
Last post: 27/08/2024 10:34:34
Deploying new item_types
Hello. I notice that when you deploy a new item_type (file based copy), without deploying database, then dynamicweb has no idea that there is a new one, and thus will not create the appropriate tables for said item_type. Is there a better way to solv ...
Stephen Anthony Jackson
16/08/2024 12:03:22
Last post: 20/08/2024 13:53:29
Variant Option Name has whitespace removed
In the DB, we have a number of VARIANTOPTIONNAMEs with spaces, but when these are presented to the swift template case VariantGroupDisplayType.VariantName: <span class="d-flex align-items-center justify-content-center">@(option.Name)& ...
Stephen Anthony Jackson
12/08/2024 11:50:16
Last post: 14/08/2024 09:48:52
Best way of getting a shipping method fees
Hello, I am currently modifying ShippingMethods_V2.cshtml and want to modify it so that when you select a shipping method, you can then select a fee associated with that Shipping Method. For example: We have Next Day Shipping Method which has three d ...
Joseph Vause
05/07/2024 12:42:58
Last post: 14/07/2024 13:26:48
RenderItemList - filter on date
Hey Swift uses the RenderItemList, and I need to add a filter on it to ignore items which have a publish time set in the future, which works by adding this filter: string filter = "PublishTime is before " + DateTime.Now.ToString("yyyy- ...
Claus Kølbæk
19/06/2024 12:43:43
Last post: 20/06/2024 13:48:47
'ProductGroupRelation' does not contain a definition for 'GetProductGroupRelations' - Easycatalog
Hi, DW10 I'm having issues with this file which generates an XML-feed for Easy Catalog. I get the following errors and can't get them properly fixed: Line 145: 'Uri.EscapeUriString(string)' is obsolete: 'Uri.EscapeUriString can co ...
Davy Capiau
03/05/2024 09:52:25
Last post: 03/06/2024 17:08:22
Extranet SendUserDetails and ForgottenPassword templates
Hi. We are trying to get the SendUserInfo and ForgottenPassword templates to work in our solution, which has the default templates installed (see below), but the templates refer to an object which does not exist, so all we get are emails with literal ...
Stephen Anthony Jackson
22/05/2024 11:27:39
Last post: 23/05/2024 16:46:56
Cart add doesn't work
Hey guys, I need help with a ( probably) entrylevel front end issue . I have this DW9 website and I have to add this feature "Wrap as a gift" The way I found to fix this is to add a product to the cart when the button is pressed. It works o ...
Alexandru Aliu
23/05/2024 13:26:12
Last post: 23/05/2024 16:31:21
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
Ecom:Product:Stock.DeliveryText in ProductViewModel
Hi guys I am in the process of converting an old product details template with template tags to the new product catalog using ProductViewModel. I cannot seem to find any property or method that can give the data i used to find in the template tag Eco ...
Jesper Holm Damgaard
28/09/2021 16:27:20
Last post: 08/04/2024 11:49:52
Error when eanbling code hinting
Hi. I have followed the codehinting instructions (Dynamicweb 9), to the letter, but I am enable to eliminate some last errors. Its clear from the examples below, that its a Linq issue,but I installed System.Linq, reloaded project, rebuilt project, re ...
Stephen Anthony Jackson
25/03/2024 21:47:54
Last post: 04/04/2024 17:08:39
Using templatetag Ecom:Order.Requisition
Hi, I'm trying to implement the DW order standardfield Requisition with templatetag Ecom:Order.Requisition at a swift cart checkout template. The field is rendered just nicely at checkout but the value of the field will not be saved on the order  ...
Søren Jakobsen
12/02/2024 15:22:43
Last post: 13/02/2024 08:02:24
T3: PLATFORM DEVELOPER
Hello people, Please where can I find this part. He's not here right now. Thanks in advance. BR Tomislav ...
Tomislav Bušić
28/12/2023 07:23:41
Last post: 28/12/2023 09:06:27
SeheduledTaskErrorEmail template
Hello everyone, I would appreciate if someone has an idea or solution. There seems to be an issue with the email template that I receive when the scheduled task is executed. (rapido -> /Templates/DataIntegration/Notifications ) Thank you in advanc ...
Tomislav Bušić
22/12/2023 10:00:02
Last post: 28/12/2023 07:30:05
Issue with HTTPS Links in Development Environment
I recently migrated my application from production to development, and I've noticed that all links are still loading with https, even though I've disabled SSL. The CSS and images are trying to be fetched from https:// URLs, which is not confi ...
Tomislav Bušić
28/11/2023 13:48:34
Last post: 28/11/2023 14:32:56
what is the easiest way to find out what language area (areaid) a page belongs to?
In an item publisher that is. what is the easiest way for me to find out what areaid a page belongs to when in a loop of an item publisher? I presume i have to use the API. Anyone got a code snippet lying around for this, that they are willing to sha ...
Hans Ravnsfjall
16/11/2023 16:15:28
Last post: 21/11/2023 15:31:56
Facebook Pixel
Hi, Is there a quick way to add the Facebook Pixel or is this just done manually in the head? Caro ...
Caro De Weze
27/10/2023 08:03:50
Last post: 27/10/2023 10:04:12
Errors when using related products
Hello. We have defined a seperate index repository for one of our sites, and the Ecom / Pim point to that. However, when using related products (products which have nothing to do with Bikeshop Repo), we get template errors due to missing fields (fiel ...
Stephen Anthony Jackson
12/10/2023 10:50:27
Last post: 23/10/2023 16:39:58
Price Range property uses prices without VAT
Hello, I have the following issue: I need to create a filter based on the Price Range field. I've done the query and facets setup and the filter is shown in the frontend and it lists the price range. However the Prices Range field seems to take i ...
Marius Tudor
02/10/2023 14:11:55
Last post: 03/10/2023 17:34:52