Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Recalculate order on unit change in cart
Hi guys, I have a project where I have products with different prices depending on the Unit. In my case, the unit is actually connected to the delivery county (don't ask me why). The requirement is to display the price and allow users to add to cart  ...
Adrian Ursu
18/02/2021 10:39:47
Last post: 18/02/2021 16:55:45
Live integration error
Hi: We have a DW solution that gets live prices from an ERP via a Web Service. This is a requirement of a customer. We downloaded the live integration code from this link https://doc.dynamicweb.com/Admin/Public/Download.aspx?File=Files%2FFiles%2FDown ...
Tomas Gomez
12/02/2021 14:22:59
Last post: 18/03/2021 13:00:47
DBConcurrencyException: Concurrency violation
Hi, We get this exception sometimes, on the home page after restarting the solution. The exception is triggered only once, as it doesn't appear after refreshing or going to another page. What if the reason for this exception? Any clue? Regards, Tomas ...
Tomas Gomez
12/02/2021 14:04:52
Last post: 09/01/2024 09:57:45
CustomFieldTypes use in facets
Hi guys, I have a project where we had to create a couple of CustomFieldTypes for Products and ProductCategories. The back-end part seems ok (I have a separate post about that) but I have some issues with using them in Facets. The field in question w ...
Adrian Ursu
11/02/2021 14:28:49
Last post: 15/02/2021 19:33:38
Checkout handler post callback (again)
We experience the same problems as described here: http://doc.dynamicweb.com/forum/development/checkout-handler-post-callback?PID=1605 The payment provider return a POST request to the callback URL. But when we try to retrieve data from Request.Input ...
Martin Grønbekk Moen
10/02/2021 15:14:55
Last post: 15/02/2021 16:25:57
Headless DW Routing
Hello We have been looking into how we can take advantage of the WebApi introduced in 9.10 and possibly transition into a SPA frontend. Have you found any solution on how to handle routing in the react/vue app, so that pages & paragraphs can be c ...
Natan Ólafsson
05/02/2021 10:53:17
Last post: 08/02/2021 16:05:11
Change context of Dynamicweb.Frontend.Navigation.NavigationSettings
I'm trying to change the context of Dynamicweb.Frontend.Navigation.NavigationSettings to fetches the Nodes property with the purpose of generating breadcrumbs, but setting the RootPageId to another page results in no Nodes being returned: The code ab ...
Vincent Gercke Pedersen
29/01/2021 16:41:46
Last post: 02/02/2021 09:22:14
Avoid double discount and discountexternder question
Hi, I have a customer who have this setup: 1) Prices imported for dealers. When logged in they may have a price added via prices on a product where the price and customernumber fits 2) Discounts added for special campaigns via product discounts What  ...
Jan Sangill
26/01/2021 10:00:27
Last post: 01/02/2021 12:52:07
Custom DiscountProvider?
Hi Dynamicweb, We would like to be able to exclude some products that are part of an order discount, if certain data on the individual product means that no discount may be granted on it. In the old discount module we could create our own SalesDiscou ...
Niels Foldager
21/01/2021 10:50:45
Last post: 02/02/2021 09:39:14
Add orderline using API
Hi In the notification "BeforeRenderingNewStep" I need to add an orderline to the cart. The orderline must be with an existing product but the price of the product is variable and must therefore be set for the added orderline. I have tried a lot of d ...
Lars Larsen
12/01/2021 09:54:25
Last post: 13/01/2021 12:44:27
Check if inside DW context?
Hi, I'm sharing some of my code between DW and non-DW projects. Is there a proper way to check programmatically if I am inside a DW context? Everything I've tried to use in the Dynamicweb libraries throws null references. I know I could put up try-ca ...
Kasper Laursen
04/01/2021 10:22:22
Last post: 04/01/2021 13:12:47
Query with sort order throwing IndexOutOfBounds
I am having an issue with the below code. The code throws the following exception: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Lucene.Net.Search.AnonymousClassLongParser1.ParseLong(String val) at Lucene.Net.Search.F ...
Kasper Laursen
22/12/2020 11:57:20
Last post: 22/12/2020 13:12:52
Bug in new user registration when cart has items
i am getting bug on new user register when items in the cart. at Dynamicweb.Ecommerce.Cart.CartSession.Add(String key, Object value) at Dynamicweb.Ecommerce.Common.Context.SetCart(Order cart, User user, OrderContext orderContext) at Dynamicweb.Ecomme ...
Shiwanka Chathuranga
21/12/2020 17:33:33
Last post: 23/12/2020 11:11:25
How to calculate the lowest price?
Hi, We have a requirement for calculating the lowest price for a customer, which means calculating the overall lowest price including discounts. So the lowest price found in the EcomPrices-table may not be the lowest as a customer can be related to a ...
Anders Ebdrup
09/12/2020 19:52:56
Last post: 10/12/2020 09:37:16
Issue with obsolete method CustomerProductListProduct - after update to 9.9.4 times out
Hi, I was using this method in 9.6.5: IEnumerable<Dynamicweb.Ecommerce.CustomerCenter.CustomerProductListProduct> customerProductListProducts = Dynamicweb.Ecommerce.CustomerCenter.CustomerProductListProduct.GetPagedProductsByListId(Convert.ToIn ...
Jan Sangill
07/12/2020 19:17:43
Last post: 09/12/2020 13:19:22
BeforeCustomFieldValueIsChanged not hit for checkboxes
Dear Dynamicweb, We see that the notification subscriber: BeforeCustomFieldValueIsChanged (and BeforeCustomFieldValueIsSet etc.) is not fired for checkboxes. Please find this code in SetPostValues: Dim valueChanged As Boolean = value <> Convert ...
Anders Ebdrup
02/12/2020 13:32:50
Last post: 08/02/2021 15:29:07
Custom field provider of type ListBox
Hi guys, I need to build a custom field type that would allow the definition of options similar to List Box. The data will be stored the same way but I need a different control for the admin user interface when assigning values to a product. My lists ...
Adrian Ursu
25/11/2020 10:00:47
Last post: 25/11/2020 13:06:11
Checkout handler success redirect to receipt
When I get success response back from payment gateway i do the following: SetOrderComplete(order, reference); SetSuccessful(order); //update the order status and amount CheckoutDone(order); But when this is complete, it goes to a balnk page. Why does ...
Andrew Rushworth
23/11/2020 10:16:02
Last post: 11/03/2021 17:34:34
Create shipping document
Hi All who can advice me how should i use this function in my shipping provider? which function should i override or ... Thanks ...
Shiwanka Chathuranga
19/11/2020 16:39:11
Last post: 25/11/2020 05:00:30
Observer for when product can't be added to cart because of reserved amount
Hi, Is there by any chance an observer you can use for when a product can't be added to the cart because the entirety of the available stock has been reserved by other users? I would like to inform the user as to why they can't add to the cart in cas ...
Vincent Gercke Pedersen
13/11/2020 10:46:25
Last post: 13/11/2020 14:00:23