Developer forum

Forum » Development
Started by
Last reply
ProductViewModel - How to manipulate values after creation?
Hi DW, Is there a way to change the values in a ProductViewModel after it has been created in the ViewModelFactory? The only way I have found sofar is to do the modification in f.ex. the ProductViewDetail.cshtml or ProductViewList.cshtml templates (s ...
Christian Fisker
12/06/2023 12:15:59
Last post: 28/11/2023 13:56:22
AccessUserAddress call for every user you can impersonate causes slow login
Hi, We have a solution where when we log in as a person who can impersonate, there is a db call being made which is made for every user you can impersonate: In this scenario, the logged in user can impersonate 7678 users. Which results in a slow logi ...
Mikkel Hammer
15/11/2022 15:09:24
Last post: 28/11/2023 11:51:32
Debugging: No Symbols loaded for Compiled Razor Files
Hi, I'm trying to debug a local solution, but breakpoints in the cshtml files are not hit with the message that symbols are not loaded. I have taken the following steps: Create a new dw10 project with "dotnet new dw10-suite" Add Files f ...
Justin Sjouw
24/11/2023 09:30:09
No replies yet
Prices from Live integration in Schedule Task AddIn
Hey guys, I have a project with live integratiom, the prices are fetched from an external system . I developed a scheduled task that generates a custom XML with all the active products. I noticed that some of the products don't have prices in my  ...
Alexandru Aliu
01/11/2023 15:12:10
Last post: 22/11/2023 10:12:07
Area.Item is null?
Hi, I have a legacy project (DW9.14.13) that I'm trying to run and add few backend jobs to it. The whole website is already done, deployed and running. So what I did is I downloaded all the files of it and put it in my local project. I also have  ...
Karol Barkowski
21/11/2023 10:40:51
Last post: 21/11/2023 16:20:00
Reset password notification
Is there a notification subscriber that can be used in order to catch when a password is reset? I have tried to implement a number of notification subscribers by now with no luck. Kind regards, Roald ...
Roald Haahr
28/05/2021 14:14:21
Last post: 21/11/2023 16:15:49
Activating user notification
Hello, Is there any way to get notified whenever a user in DW gets activated? Thanks, Alexandru Ciobanu .NET Developer, Commergent ...
Alexandru Ciobanu
19/11/2023 13:53:57
Last post: 20/11/2023 17:38:58
Anonymous carts with webapi/headless implementation
Hi, We have a customer doing there own development and they are using the webapi. The current struggle is that, mimicing their current site, they would allow users to add items to the cart, before they log in. I can see the current endpoint requires  ...
Nuno Aguiar
16/11/2023 13:45:42
Last post: 16/11/2023 19:56:35
Form for adding BOM/configurable products
I'm trying to add a configurable product to the basket, but I'm struggeling with getting the options into the basket. I have this structure: Main product (PROD1) First Config Group Option 1 (OPT11) Option 2 (OPT12) Second Config Group Option  ...
Martin Moen
09/11/2023 15:38:35
Last post: 10/11/2023 12:27:23
Loop most sold products
Hi, I want to call the 5 most sold products and show them in a div among each other. For the products I want to show their image, name and sku. How can I do this? Caro ...
Caro De Weze
09/11/2023 12:20:01
Last post: 09/11/2023 13:37:46
Merge carts (temporary and active)
Hi guys, I have a situation where it would be useful to be able to merge carts, I will explain. I want to create a temporary cart on an Order Context that's different than the regular CartContext. When I am done with making adjustments to the tem ...
Adrian Ursu
31/10/2023 14:51:58
Last post: 01/11/2023 12:25:53
Item Types and view models question
Hi, I'm trying to figure out how to deal with custom item types and there's one thing that seems really, really weird. Let's say that I have this simple type defined as a code-first item. All the permissions are set up too in admin, I hav ...
Karol Barkowski
28/10/2023 16:44:58
Last post: 30/10/2023 21:28:44
Collect page content output for sending to external systems
Hi guys, I have a situation where I have to send NewsArtcile content to external sources via custom integration. One of the challenges is sending out the resulting content of the page, considering that the entire content is built using GridRows and C ...
Adrian Ursu
29/09/2023 10:59:49
Last post: 30/10/2023 10:31:13
Serialize/Deserialize Query Expressions
Hi guys, I have a situation where I want to add Query expressions in the SwiftProduct.query programmatically. I have used the QueryService for reading the Query file, I could manipulate the Parameters of the query but I could not find a way to intera ...
Adrian Ursu
29/10/2023 16:47:41
Last post: 30/10/2023 10:29:03
Unit test for a scheduled task
Hi, so I have a scheduled task defined and it's using few of the Dynamicweb.Ecommerce.Services classes, like Shops or Products. Now, since whenever I make a change to code, I need to restart my app, it's just very time consuming as it takes a ...
Karol Barkowski
20/10/2023 08:42:24
Last post: 25/10/2023 12:00:49
Scheduled task progress
Hello, I have a working DW website that contains quite a lot of products. Now, from time to time I need to iterate those porducts and make sure that they are in sync with some external data sources. So I've made a scheduled task for that and it w ...
Karol Barkowski
18/10/2023 23:32:00
Last post: 24/10/2023 16:35:56
Price range facet: MaximumValue not working as expected
Hello! I have set up a price range filter and want to get the maximum price for the slider. However, as soon as the query is applied the tag is updated to reflect the current productlist and not the productlist without the query, which I would expect ...
Martin Gammelholm
29/08/2023 14:22:10
Last post: 24/10/2023 11:07:48
ProductInfoViewModelExtensions is missing null checks
Hi, The ProductInfoViewModelExtensions is missing some null checks. I was trying to do this simple line of code and when I navigate to a Product that is Discontinued but has no Replacement Product, I get a missing ProductId error. ProductViewModel re ...
Nuno Aguiar
04/09/2023 19:34:41
Last post: 23/10/2023 17:00:45
Disable Set-Cookie in response header
Hello, is there any way to disable or customize the Set-Cookie in response headers on page level? I need to disable them when using an external CDN provider. ...
Kasper Pedersen
18/10/2023 11:20:16
Last post: 23/10/2023 16:48:30
DW locally on Mac
Hi, I'm trying to get DW running locally on my Mac. Unfortunately the documentation around here is mainly for Windows, so I need some help. Which programs do you recommend to work with to start? Which IIS manager? This is installed by default on  ...
Caro De Weze
17/10/2023 14:45:00
Last post: 18/10/2023 09:09:41