Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Current UnitId in Product Object
Hello, We are trying to find a way to get the currently selected UnitId for a product for the product detail page, the product list page, and the cart. When looking at the product object there is a DefaultUnitId, but I do not see any reference to the ...
Jeremy Fesmire
18/05/2021 18:16:01
Last post: 18/05/2021 22:44:32
Adding UserParameterEditor in custom TaxProvider fails
Hi Dynamicweb, I'm trying to add an AddInParameter with the type of Dynamicweb.Extensibility.Editors.UserParameterEditor in our custom TaxProvider. It is not possible because the page is missing a javascript-file (UserSelector.js), which is included  ...
Niels Foldager
20/04/2021 16:25:24
Last post: 18/05/2021 13:48:13
Stack overflow exceptions in custom price providers
Hi! Periodically, we experience getting stack overflow errors (0xc00000fd) in our price providers when we call in this call Dynamicweb.Ecommerce.Common.Context.Cart - typically to get current number of item lines. It seems that it periodically starts ...
Allan Iversen
17/05/2021 08:24:24
Last post: 17/05/2021 12:37:47
Avoiding redirects in rewritemaps.config
Hi, We have a lot of unwanted recyclings of the ApplicationPool. According support, a bunch of redirects that we have in the "rewritemaps.config" file may eventually cause the recyclings. The meaning of the redirectes is that the "GroupsPage" has to  ...
Tomas Gomez
05/05/2021 10:59:13
Last post: 07/05/2021 12:00:07
Access to order fields
Hello All I have a task to update existing form in cart first step. Need to create Selection field with 2 options (private customer and business customer) if choose business, then appear new inputfield for CVR number. Don't know if I'm doing right. I ...
Andrejs Zavorotnijs
30/04/2021 23:12:46
Last post: 30/04/2021 23:13:09
Access to order fields
Sorry for double post. Already get access ...
Andrejs Zavorotnijs
30/04/2021 10:41:41
No replies yet
Cancel order using API
Hi I have used the method Dynamicweb.Ecommerce.Services.Orders.Capture() to capture orders using the API. Is it also possible to cancel a not already captured but authorized order using the API? ...
Lars Larsen
28/04/2021 12:15:30
Last post: 28/04/2021 14:22:20
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
Assortment - Has access to product?
Dear Dynamicweb, I am looking for a notificationsubscriber where I can overrule whether a product should be available for a user. Can you add a subscriber where you are checking the access for a user/product? Please notice that we are using the produ ...
Anders Ebdrup
04/05/2020 11:15:44
Last post: 24/04/2021 15:20:08
Dynamicweb.Ecommerce.Frontend.ShippingViewModel missing in nuget feed
Dear Dynamicweb, After upgrading the WebApi to latest 0.10.0 we cannot run the solution due to a reference to: Dynamicweb.Ecommerce.Frontend.ShippingViewModel, which is not available in the nuget feed. Best regards, Anders ...
Anders Ebdrup
20/04/2021 09:36:35
Last post: 20/04/2021 21:18:16
Print order using API
Hi I need to print an order when orderstate changes. I therefore subscribe to "Ecommerce.Order.State.Changed". From here I print the order. I did that by getting the order using Dynamicweb.Ecommerce.Services.Orders.GetById(OrderId). But doing that or ...
Lars Larsen
19/04/2021 12:50:01
Last post: 19/04/2021 13:50:26
A little API help - get title of root/first-parent page via API
Hi I am trying to fetch the title of the first/root (level 0) parent of a page at any given time. I have tried doing this: @Dynamicweb.Frontend.PageView.GetPageviewByPageID(<placeholder for parent pageid>)).Meta.Title But this only gets me the  ...
Hans Ravnsfjall
13/04/2021 10:34:50
Last post: 14/04/2021 10:34:12
DWAPI: Pageviews fails
Hi Dynamicweb We are working with the DWAPI here: http://rapido-342-full.websrv01.smartpage.dk/dwapi/docs/index.html?url=/dwapi/api.json&layout=BaseLayout#/PageViews/PageViews_GetById But the frontpage (ID: 6279) is failing with this exception: O ...
Anders Ebdrup
30/03/2021 09:52:10
Last post: 08/04/2021 16:32:13
Fee rules in TaxProvider
Dear Dynamicweb, We working with the Taxprovider and need to have different fees for different order totals - more a less like the fee table under the shipping provider: https://www.screencast.com/t/2i8rgx1DYuT. So is there a way to implement a table ...
Anders Ebdrup
06/04/2021 22:13:42
Last post: 07/04/2021 17:47:09
NullReferenceException ProductsAndGroupsHandler.AddHandlerToCache
We are encountering some instances of the below error, looks like some missing null checks on your behalf in the AddHandlerToCache method Origin: LogEventBeforeSave - Action: Parsing - Category: Application - ExceptionType: NullReferenceException - D ...
Unnsteinn Garðarsson
07/04/2021 11:01:04
Last post: 07/04/2021 12:42:48
Custom Product field type - example
Hi, Can someone point or get me a quick example of how to develop a custom product field type? I need to develop 3 field types for a customer: Dropdown with a search Similar to what we have in Repository queries, but for a dropdown in Ecommerce Check ...
Nuno Aguiar
09/03/2021 15:40:02
Last post: 01/04/2021 10:08:51
Best way to to check if a product should render
Hi, We are importing some ledgers/invoices and all works well. Doing so we have some products that are visible on the website and others that are not (although they are in PIM). For example: Product A - has a Product detail page Product B - does not  ...
Nuno Aguiar
31/03/2021 11:18:51
Last post: 31/03/2021 11:32:56
How to get Recipient ID in razor
Hi there, I've been searching far and wide for this and have come up short. Isn't there any way to get the ID of the user/recipient of an email inside a razor template? I am aware of the existance of email placeholder tags where i can use EmailMessag ...
Kasper Laursen
25/03/2021 09:26:43
Last post: 29/03/2021 11:07:01
Autogeneration of ID on EcomProductField
Hi How is autogeneration of IDs on tables (e.g. EcomProductField) controlled, when creating the field in backend? We have some cases after export/import of test/prod databases where these generations are out of sync causing a duplicate error when try ...
Chris Søgaard
22/03/2021 13:46:11
Last post: 22/03/2021 13:54:15
Adding validation message in Notifications.UserSaved
Hi I need to validate a custom user field after a user has been saved in the backend. If the validation fails a message should be presented for the editor. Is it possible and if it is how can I do that? ...
Lars Larsen
22/03/2021 13:53:17
No replies yet