Developer forum

Forum » Development
Started by
Last reply
Get label for category field value
Hi there, I have an integration that sends Dynamicweb product data to another system. As part of the integration, I need to send it the friendly labels for category fields of type List box (e.g. Radiobutton list). I currently have something like this ...
Imar Spaanjaars
28/04/2022 10:10:15
Last post: 28/04/2022 11:17:08
Hi, We are seeing a sporadict error. We have already tried to delete the write lock and restart but it still happens sometimes.Can someone help out? Error executing template "Designs/Brund/_parsed/frontpage.parsed.cshtml" Lucene.Net.Store.L ...
27/04/2022 10:09:47
Last post: 27/04/2022 10:21:28
StackOverflowException in ShippingProvider
Hi there, I have a ShippingProvider with the following code: public override PriceRaw CalculateShippingFee(Order order) { var currencyId = "USD"; return new PriceRaw(15, new Dynamicweb.eCommerce.International.Currency(currencyId)); } When I run it, t ...
Imar Spaanjaars
31/08/2014 15:18:38
Last post: 25/04/2022 17:21:01
DefaultCountryCode not used for calculating taxes
Dear Dynamicweb, We see an issue where the default country code is not used for calculating taxes on the cart. The taxes is first calculated when selecting a country in the checkout. Can that behaviour with changed? Best regards, Anders ...
Anders Ebdrup
27/11/2021 15:03:09
Last post: 22/04/2022 10:57:39
DWAPI not returning image pattern images
Hola senores, When calling f.e. /dwapi/ecommerce/products/{id} we always get an empty list for ImagePatternImages. If we manually upload images to products through PIM or Ecommerce then we get the image list under AssetCategories, but never any image ...
Arnór Halldórsson
04/04/2022 15:31:46
Last post: 22/04/2022 10:43:52
Old News module - SQL query to get news with custom fields
Hi I am working on an old solution, that uses the old News module. I need to get a SQL query to make a search (SQL based Index). But i can not figure out the relation between news and custom fields. Anyone who can help with a SQL query that fetches n ...
Hans Ravnsfjall
19/04/2022 10:39:16
No replies yet
setting UnitPrice on CartCmd=AddMulti
Hi DW, Is it possible to set a fixed UnitPrice when using CartCmd=AddMulti? One of our solutions have a feature where the customers can copy/paste from Excel into a textarea with productId and quantity, and then we "transform" the input int ...
Mikkel Hammer
11/04/2022 10:06:24
Last post: 11/04/2022 15:21:45
more information about carts on /dwapi/ecommerce/carts/
Hi DW, Is it possible to get more information about the carts thats returned by the /dwapi/ecommerce/carts/ endpoint. We'd like to be able to distinct the active carts without having to acces them first with /dwapi/ecommerce/carts/{secret} It cou ...
Mikkel Hammer
01/02/2022 14:29:29
Last post: 11/04/2022 09:41:49
Translation of orderflow subject
Hi Community, we are using Orderflow states in DW to send out notifications to customers when their order changes states from ex. Shipped to Invoiced. We need to be able to somehow change/translate the subject field. Is there a subscriber to the send ...
Søren Jakobsen
08/04/2022 15:41:05
Last post: 08/04/2022 15:43:06
Making a custom Web API with Dynamicweb
Hello! I read that it is possible to further develope an API supporting the dynamic web platform. Any further information regarding this, meaning do you have any examples where's you've implemented one or two routes / controllers that will work with  ...
Thomas Berthelsen
22/08/2019 10:28:03
Last post: 07/04/2022 19:43:06
Orderline TotalDiscount not set on initial POST request when adding product through dwapi
Hi DW, When adding a product with a product discount through the dwapi endpoint, /dwapi/ecommerce/carts/{secret}/items/, the orderline TotalDiscount is not set on the initial POST request, and requires another request that manipulates the cart, eithe ...
Mikkel Hammer
29/03/2022 13:41:42
Last post: 06/04/2022 02:45:02
no validation when adding a product to the cart via the dwapi/ecommerce/carts/{cartSecrect}/items/ endpoint
Hi DW :) We've been playing around with the dwapi, and noticed there's no validation when adding a product to the cart via the dwapi/ecommerce/carts/{cartSecrect}/items/ endpoint. Naming 5 examples we've tried out, i've added the orde ...
Mikkel Hammer
25/03/2022 14:29:09
Last post: 06/04/2022 01:28:11
WebApi does not take user assortments into account for GetProduct
Dear Dynamicweb, When requesting a product with a call like this:, then this method: HasAccessToProduct, does not take the  ...
Anders Ebdrup
05/04/2022 10:24:37
No replies yet
Serialization error on product API endpoint (/dwapi/ecommerce/products/{id})
When trying to query the products endpoint by ID (ex: /dwapi/ecommerce/products/PROD560), I consistently get the following error. Has anyone seen this before? This is on, we have a default currency set in the backend so I don't think thi ...
David Mercer-Taylor
01/04/2022 18:30:06
Last post: 04/04/2022 19:21:52
Restore nuget package error - some versions is missing
We have a DW installation (DW 9.6.6) and haven't made changes to this solution for a long time. We use DW nuget-packages and when I try to restore from nuget, some packages is missing. An example is this package: Unable to find version '2.0.5 ...
Jesper Splidsboel
01/04/2022 16:40:02
Last post: 04/04/2022 09:41:45
Create ProductGroups and add values for ProductGroupFields
Hi guys, I have a situation where I need to grab some data from an external system and use it to create ProductGroups and populate some values on some custom ProductGroupFields. What would be the most efficient way to handle the ProductGroupFields pa ...
Adrian Ursu
04/03/2022 15:52:39
Last post: 01/04/2022 11:06:47
Opt in for custom cookie categories
Hello, is there any way for me to request an opt in for a custom cookie category via the frontend? I am using the three cookie opt in levels that you provide, 0 for rejecting all (both functional and tracking I suppose), 1 for accepting functional on ...
Unnsteinn Garðarsson
03/02/2022 11:32:06
Last post: 31/03/2022 12:19:08
Need user by Externalid but GetUserBySql is obsolete and GetUserByExternalId internal
We just upgraded a solution and now the Dynamicweb.Security.UserManagement.User.GetUserBySql is marked obsolete. We used it to get a user by its externalId. I see there is a function GetUserByExternalId but its Internal. Why is it internal? and can i ...
Brian Bolks
30/03/2022 16:43:47
Last post: 31/03/2022 09:09:25
Mail retry
Is there any way to configure the mail server to retry a failed send ? We have the following error when an order receipt email should be sent and I cannot see anything in Control Panel nor in Settings - Web and HTTP - SMTP that is off. The test email ...
Unnsteinn Garðarsson
25/03/2022 14:39:25
Last post: 25/03/2022 15:38:39
Unable to access a product in DW administration on DW 9.13.3 and Dynamicweb.Ecommerce 1.13.26
Hi DW, After upgrading to the lastest DW (9.13.3) and Dynamicweb.Ecommerce (1.13.26), we're unable to access a product in the DW administration. We're getting this error: how to reproduce: Go to Ecommerce -> Under Product catalog, select A ...
Mikkel Hammer
23/03/2022 12:47:08
Last post: 24/03/2022 19:09:29