Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
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
Multiple Product Lists, Navigation Tag, Breadcrumbs and URL
Hello. We are developing a site, where we wish to align the urls / breadcrumbs with the path to the product we are clicking from the product list. e.g http://site/webshop/toys/ (product list with groupid param set to toys group) http://site/webshop/t ...
Stephen Jackson
21/09/2023 10:37:43
Last post: 21/09/2023 22:44:26
Enumerating Product Fields / Product Category Fields from an item_type dropdown list
Hello. I am trying to develop a generic item type for displaying a product or product category field. I have defined an item type with a "Product Field" (Drop down) and Style field (Text), and created the follow SQL Query as the source for  ...
Stephen Jackson
18/09/2023 10:48:06
Last post: 21/09/2023 10:26:16
Adding new partials to components
Hello I am trying to make a new reusable component to display product information, and one of the features I want to add is a custom field for the products we wish to show. I therefore want to add a new partial to the list of available product partia ...
Stephen Jackson
11/09/2023 10:56:36
Last post: 18/09/2023 11:02:14
RenderItemList check if results exist from the paragraph template
Developing a custom Swift_ArticleList template I noticed a problem that will come up again and again in the future. The architecture is that the paragraph template is building the container for the paragraph, this could be a slider for example. It th ...
Igor Ivanov
07/09/2023 14:58:49
Last post: 07/09/2023 15:22:24