Developer forum
Subject
Replies
Started by
Last reply
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
14
Subscribe
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
12
Subscribe
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
Number in varientviewmodel
Is there anyway to retrevie varient product number from varientviewmodel ? ...
Shiwanka Chathuranga
04/11/2020 12:45:11
Last post: 04/11/2020 17:00:11
Deploy changes to demo site
Hello. Can I deploy any custom changes to my demo site? I want to configure CD, and use my demo site like production page. ...
Pavlo Rishko
03/11/2020 16:57:50
Last post: 11/01/2021 15:41:07
Error on LogOnHandler
Error on LogOnHandler Dynamicweb.Frontend.LogOnHandler logOnHandler = new Dynamicweb.Frontend.LogOnHandler(1); logOnHandler.LogOn("username", "password"); Error generate from notification subscriber, this is version 9.9.3 at Dynamicweb.Ecommerce.Cart ...
Shiwanka Chathuranga
30/10/2020 12:24:35
Last post: 30/10/2020 17:48:14
Performing a save on a scheduled task add-in
Hello, I would like to make a property change at runtime in a method that is inheriting from BatchIntegrationScheduledTaskAddin. The goal is to sometimes reset one of the persisted settings. It appears that I need to get a handle on the current Dynam ...
Scott Forsyth
29/10/2020 17:59:01
Last post: 03/11/2020 15:31:12
Missing VariantGroupProductRelationSorting
Dear Dynamicweb, Vi have an issue with "wrong" variant group sorting (please find this image: https://www.screencast.com/t/mLrKO3eNzp), but the sort order is correct in the database. Can you please add this section: "ORDER BY VariantGroupProductRelat ...
Anders Ebdrup
29/10/2020 16:10:26
Last post: 30/10/2020 09:42:23
Defined routes not working
Hi I am using a component that needs some routes in order to work. I use the compontent on a Dynamicweb v9.9.1. I have defined the routes in the notification subscriber "Standard.Application.BeforeStart". But I can't make the routes work. Does Dynami ...
Lars Larsen
21/10/2020 15:01:04
Last post: 04/11/2020 10:45:49
Cancel recorrency order notification
Hi, I was looking for a notification subscriber for when an recurrency order is cancelled. There does not seem to be one, so I am wondering if anyone knows of a way to capture that event? Best Regards, Nuno Aguiar ...
Nuno Aguiar
19/10/2020 13:50:08
Last post: 27/04/2021 17:29:55
DW 9.9.2 as an MVC Install
Hi Im trying to set up a DW 9.9.2 impementation as an MVC install following this document: http://doc.dynamicweb-cms.com/Files/Files/Forum/Upload/Thread45665/Message46778/Setting_up_Dynamicweb_with_MVC.docx Unfortunately I get this in VS. All Referen ...
Kevin O'Driscoll
15/10/2020 12:47:56
Last post: 19/10/2020 16:14:07
Loyalty points cache on user
Dear Dynamicweb, We have issues with the PointBalance on the user, when creating multiple orders with the same user. Please see this screen dump: https://www.screencast.com/t/tPbdVpy4N4b This causes issues as we use this method: "Dynamicweb.Security. ...
Anders Ebdrup
13/10/2020 10:11:46
Last post: 30/10/2020 03:28:46
Get Categoryfield values trough the API
Greetings, Is their a way to access a products productCategoryField values? On the ProductObject their is a method called ProductFieldValues, and i am searching for something similar for the CategoryField values? ...
Keerthy Sethupathy
12/10/2020 11:11:12
Last post: 04/03/2021 11:30:14