Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Unnecessary database call for AccessUserCard
Dear Dynamicweb, Can you please add an extra for the userId being greater than 0 (or equivalent) in the method below, as this database call is executed on every step in the checkout even though the user is not logged in? public IEnumerable<Payment ...
Anders Ebdrup
03/10/2022 17:36:43
Last post: 20/10/2022 13:06:21
StockLevelProvider not used in ProductViewModel
Dear Dynamicweb, We are experiencing that our custom StockLevelProvider is not hit when the using the ProductViewModel in the ProductCatalog. Is it by design that the StockLevelProvider not should be used anymore? Best regards, Anders ...
Anders Ebdrup
04/10/2022 12:36:45
Last post: 19/10/2022 22:02:58
Change access modifier of ServiceCacheNotification.ServiceCacheNotificationArgs
Hi I have a notification subscriber subscribed to ServiceCacheNotification.ClearCacheKeys, but ServiceCacheNotification.ServiceCacheNotificationArgs is internal, making it hard to do anything useful. Would it be possible to make it public? ...
Tor Leeberg
20/09/2022 14:07:40
Last post: 07/10/2022 13:54:03
Override StockLocations loop
Hi, We are using a template extender in Live Integration so we can override some tags with product live information. unfortunately we were not able to reset/override the StockLocations loop. What's the best way to override a DW loop in a template ...
Mario Santos
06/10/2022 13:08:57
Last post: 07/10/2022 11:02:25
DWAPI Create User
Hi When creating a new user through DWAPI /dwapi/users/create I cant seem to find a way to add password ? do i have to approach it differently? /umar ...
Umar Farooq
05/10/2022 12:27:19
Last post: 05/10/2022 14:14:56
Trigger email flow through view
Hi DynamicWeb, We are having some trouble figuring out how to send an email through the EmailHandler class (https://doc.dynamicweb.com/api/html/79812e7d-6b41-b303-85fc-451aab25723c.htm) and would therefore like to hear about i have a code snippet exa ...
Daniel Hollmann
04/10/2022 14:28:56
Last post: 04/10/2022 15:15:16
DW WebAPI uses stock provider?
Hello there, Is the DW WebAPI calling the stock level providers? If so, which method is being called? Currently I have the 3 overloads for FindStockLevel implemented and none is being called. Thanks, BR, Mario ...
Mario Santos
28/12/2021 12:15:18
Last post: 04/10/2022 12:52:29
Menu placement on settings items
Dear DW coders, Since around DW 9.13 I have noticed the menu on eg. Grid view settings shows up far down on the page, which of course causes great confusion. Can we get it back where it belongs? :) This is specifically on a solution running DW 9.14.1 ...
Dan Tomicic
03/10/2022 15:06:26
No replies yet
DWAPI - Get product category fields from product variant
Hi, I'm looking into the dwapi, more specifically product variants - /dwapi/ecommerce/variants/{productId} The solution runs a DW 9.13.5 Is it possible to get the product category fields for the variant and if so, how? Can't seem to find them ...
Nicolai Jessen
28/09/2022 10:28:33
Last post: 28/09/2022 12:46:26
DWAPI add item to cart not working any longer
Hi, Since v9.13.6 the api to add products to a cart is no longer working (was working in v9.13.5): /dwapi/ecommerce/carts/{secret}/items with payload: ProductId:{productid} Quantity: 1 Returns: "The product does not exist." The product does ...
Jon Thorne
22/08/2022 14:06:28
Last post: 22/09/2022 21:36:16
PreparePrices and FindPrice behaving oddly
Hi community, I’m experiencing an odd behaviour with PreparePrices and FindPrice when doing searches. Mainly where the searchresults contains products with lots of variants. In this case it is a Rapido-based solution. (I have locally upgraded t ...
Aki Ruuskanen
14/09/2022 15:55:25
Last post: 14/09/2022 18:04:02
Problems with extranet login & logout (DW 9.3.8)
Hi, One of our clients has made some content changes to their solution (DW 9.3.8 - DWsimple) and is now experiencing problems with the extranet module when logging in and out from the frontend. I have posted an image of the error message below. For s ...
Nicolai Jessen
14/09/2022 13:37:33
Last post: 14/09/2022 17:18:38
Image Pattern - Database
Hi, Are images that are set with "Image Pattern" saved in the database? If not? How is that information stored? Regards / Aki ...
Aki Ruuskanen
05/09/2022 15:17:35
Last post: 09/09/2022 10:19:15
Replace ImageGlue with MagicScaler
Hi there, I am trying to replace ImageGlue with MagicScaler. I can successfully add the package Dynamicweb.Imaging.Providers.MagicScalerProviders to my solution. When I then build my project and manually delete Dynamicweb.Imaging.Providers.ImageGlueP ...
Imar Spaanjaars
02/01/2021 15:33:57
Last post: 02/09/2022 09:16:26
CustomerComment order field is not updated when changed via WebAPI
Hi DW When updating the CustomerComment order field via the WebAPI with the Cart PATCH query, the changes is not saved. I can see that the field is not referenced in your UpdateCartFromModel in your CartService. It would be much appreciated if it cou ...
Mikkel Hammer
05/08/2022 11:36:24
Last post: 01/09/2022 07:02:49
BOM and custom taxes
Hi, I have products configured as parts lists (BOM), and would like to add a custom tax (Weee), when adding the product to the cart (using a notification subscriber). It is not working, as it seems this is only possible if the products is of type &qu ...
Kurt Moskjær Andersen
23/08/2022 13:17:50
Last post: 26/08/2022 21:08:56
Bug when the PriceProvider is called after upgrading to 9.13.11
Hello, After upgrading to 9.13.11 we saw that the prices weren't retrieved in cart anymore using the price provider, while in the product list or product detail everything was fine. After debugging we saw that for the price provider call in the c ...
Emil Dumitrescu
25/08/2022 13:41:02
Last post: 26/08/2022 11:38:14
ProductsService
Hi Have some development tasks and find out that ProductsService class methods throw System.ArgumentNullException example from custom scheduled task https://doc.dynamicweb.com/api/html/d4c0db51-a485-d6de-2e52-32c457ebb49b.htm ProductServices, same is ...
Andrejs Zavorotnijs
24/08/2022 15:54:04
Last post: 25/08/2022 09:54:34
Sql query to delete paragraph based item and the paragraph the item belongs to
Hi I am trying to delete item type (ItemType_Frugtoggront) and the paragraph that it belongs to The query below deletes the record fromt the ItemType table, and from the paragraph table DELETE FROM ItemType_Frugtoggront WHERE Id IN (SELECT ParagraphI ...
Hans Ravnsfjall
17/08/2022 14:19:37
Last post: 22/08/2022 09:09:55
Best and most efficient way to update product stock?
Dear Dynamicweb, We are looking into a way to have event based product stock updates in Dynamicweb from the ERP system, and are trying to do this in a efficient way without compromising performance on the site. Right now we expose a webapi loads the  ...
Anders Ebdrup
15/08/2022 13:57:05
Last post: 16/08/2022 15:37:47