Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Dynamicweb API - Product endpoint - CORS restriction
Good afternoon! I ran into a small inconvenience with CORS while developing against the new awesome DW API. When sendinga POST request against the "/dwapi/ecommerce/products" endpoint I started getting the following error. So i figured i'd set up a l ...
Snaevar Petursson
11/03/2021 19:09:05
Last post: 25/02/2022 10:25:00
product cache doesn't update immediately
Hi, I am trying to update product information through a schedular. But it does not update the product in the website's product catalog immediately after the schedular run. it took at least 15 min to see the change in front end. in DW backend sql  ...
Arker Soe
06/10/2021 04:06:44
Last post: 24/02/2022 04:06:19
Custom validator for code first items
Hello, We have been trying to create a custom validator for code first items, but are struggling to get something elegant to work. The code for a working version was like this: using Dynamicweb.Content; using Dynamicweb.Content.Items.Editors; using D ...
Hans Kloppenborg
22/02/2022 11:02:40
No replies yet
GetCookie returns null
Is there something that I am missing here or what? I have the following code. List<string> cookies = CookieManager.GetDynamicwebCookiesList(); var cookie = CookieManager.GetCookie("Email"); The list of cookies look like this But GetCo ...
Unnsteinn Garðarsson
18/02/2022 16:17:23
Last post: 21/02/2022 10:34:02
Wrong count statistics TotalProductSale
We have a customer who is experiencing wrong values when using the statistics module in Dynamiweb and I've identified an issue: This is the query which is executed (TotalProductSale.cs) as of now: The first rows ProductAmount should be 4 and not  ...
Vincent Gercke
11/02/2022 11:36:55
Last post: 15/02/2022 18:49:38
Is it possible to automatically deactivate masterproduct when all variants are inactive?
Hi We have an ecom solution where we import products from daily. Products are imported as separate products, and then combined into variant groups. That´s all fine. Proucts/Variants are enriched in PIM, but some of the data is updated via Impor ...
Hans Ravnsfjall
10/02/2022 13:40:07
Last post: 10/02/2022 14:19:14
Adding multiple translations from file eg. .json or .csv
Hi, I was wondering if its a planned feature, to add translations from a .csv or .json file. For scaleability and when the customer needs a site in a new language, it would be preffered to be able to add translations from something like a CSV import. ...
Theodor Perrier
10/02/2022 11:06:57
No replies yet
/dwapi/ecommerce/carts/{secret} && /dwapi/ecommerce/carts/{secret}/items/{itemId}
After patch orderline on cart with new variant on the given orderline, the ordeline retains the original productVariantName, even when it doesnt match the updated variant. ...
Theodor Perrier
16/12/2021 12:12:46
Last post: 10/02/2022 10:44:42
Updated example code custom WebAPI
Are there any updated examples on how to create a custom WebAPI that works with DW 9.13? Have tried this (link), but since it is from 2019 I would like to know if there are any new ways of doing this? https://doc.dynamicweb.com/forum/development/deve ...
Martin Moen
06/02/2022 15:20:11
Last post: 09/02/2022 22:49:34
Custom list control inheriting ListEditor not working after 9.10 Dynamicweb upgrade
Hello, We developed a custom control that inherited the ListEditor<T> and worked fine, until 9.10 when the method RenderList has been marked as internal: internal virtual void RenderList(TextWriter output, T selectedItem) { throw new NotImpleme ...
Emil Dumitrescu
25/01/2022 16:33:24
Last post: 09/02/2022 17:31:23
Local solution doesnt display Ecommerce menu
ver. 9.12.4 locally my solution doesnt display Ecommerce menu correctly, im able to see the menu in stageing, its the same DB that is used in both instances. cleaning and rebuilding doesn't help, and recycling the pool in IIS doesn't work eit ...
Theodor Perrier
08/02/2022 13:21:41
Last post: 09/02/2022 08:47:27
When is ORDERPRICECALCULATIONDATE set?
Dear Dynamicweb, We see some issues with not having the price calculated right on orders, where the field ORDERPRICECALCULATIONDATE is set in EcomOrders to a date in the past. So when is this field set (And we are not posting an OrderTime in the requ ...
Anders Ebdrup
01/02/2022 10:54:03
Last post: 07/02/2022 10:27:27
Use domain for cookies cached
Hello, I encountered an issue with the "Use domain for cookies" flag in the Cookie Manager, if I want to deselect it, I have to recycle the application pool afterwards for it to take effect. Regards. ...
Unnsteinn Garðarsson
03/02/2022 14:20:21
Last post: 03/02/2022 15:41:04
problems with syncing webshop cart with endpoint cart
Hi DW, We're having some trouble "syncing" our carts if we manipulate and access through both the webshop and dwapi. If we create a cart through the POST /dwapi/ecommerce/carts endpoint, and add to products to it with the /dwapi/ecommer ...
Mikkel Hammer
01/02/2022 15:19:35
Last post: 02/02/2022 14:36:23
DWAPI - notification subscribers and other improvements
Hi Dynamicweb, Would it be possible to get a notification subscriber that fires when a cart is loaded by the DWAPI? As for now, it is impossible to manipulate data in custom orderfields and custom orderline fields, e.g. the OrderBeforeSave notificati ...
Niels Foldager
08/12/2021 21:39:03
Last post: 01/02/2022 11:09:19
Use visual Editor as a stand-alone page
Hoi guys, I have a project where I had to connect a Content page to a product in order to allow a more editable-feature-rich description for products. My need right now is to be able to open the visual builder as a pop-up (outside of the Iframe). I h ...
Adrian Ursu
26/01/2022 19:34:58
Last post: 27/01/2022 09:29:05
Add OptionLabel to
Dear Dynamicweb, When outputting product fields with "Ecom:FieldDisplayGroup.Field" we are missing the "OptionLabel", which is available through "Ecom:Product.CategoryField.XX.OptionLabel". This means that a formatted fi ...
Anders Ebdrup
16/12/2021 09:31:24
Last post: 26/01/2022 10:19:15
Split and merge orderlines from api
Hi, As mentioned in the thread https://doc.dynamicweb.com/forum/development/development-split-orderlines-in-cart, I need to be able to split and merge orderlines in the cart. Does the built-in functionality with merging similar orderlines also work w ...
Kurt Moskjær Andersen
11/01/2022 08:04:48
Last post: 19/01/2022 11:46:57
AddIn Editor parameters
Hi, Where can I find a list of all editor parameters? i.e. [AddInParameter("CompareColumns"), AddInParameterEditor(typeof(DropDownParameterEditor), "multiple=true;")] I wanted to add a description to this parameter, so that it wou ...
Nuno Aguiar
30/11/2021 12:45:44
Last post: 14/01/2022 16:05:23
Deadlock at Checkout step
Hi, I am facing deadlock problem when entering into Checkout step. It is not happening for all Orders (average 1250 transactions per day in office hours). But 3 to 9 Orders per day. Here below is some info and logs. Is there any way to avoid? Is it p ...
Zayar Minn
05/01/2022 09:05:45
Last post: 05/01/2022 10:29:56