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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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