Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Different results from formatting currencies with symbol
Hi Dynamicweb I'm trying to format prices in a Razor template, in DW version 9.14.9. For this I'm using the CurrencyService from the "Dynamicweb.Ecommerce" - module, to format prices depending on the currency settings. Based on the  ...
Kristoffer Surrow
01/05/2023 09:10:20
Last post: 02/05/2023 08:07:25
Password Recovery link potential security issue
We were told by security advisors that the current password recovery link sent via email by DW is using Referrer-Policy in the header and that this is potentially a security issue. The link can be easily hacked and the account taken over by others. C ...
Barry Geukdjian
27/04/2023 15:02:11
Last post: 27/04/2023 16:19:26
Using the WebApi, in DW 9, to get carts by customer number
Hi DW, We have a case where users, from the same company, should be able to see the currently open carts from the other users. Would it be possible to get an endpoint where we can get carts by either customer number or something like a query? ...
Lasse Larsen
22/02/2023 13:10:09
Last post: 26/04/2023 16:06:43
Default favorite list not handled
Dear Dynamicweb, In the UserProductsMacro the default favorite list is not supported as null is just returned if not set in the url: private static object GetFavoritesAutoIdsByUserId() { // If ?ListID=?? is not specified, do not return anything strin ...
Anders Ebdrup
21/11/2022 08:34:20
Last post: 24/04/2023 01:33:54
Remove x qty of a product from orderline
Is it possible to remove x number of a product in the cart. Without retrieving the whole cart first? Is have a page where i through the client adds product to the cart async. I use fetch and the cart command "AddMulti" for this purpace. (An ...
Kasper Legarth
20/04/2023 09:58:46
Last post: 21/04/2023 10:19:09
Cache in favorites viewmodel is not cleared
Dear Dynamicweb, We have experienced that the product id cache in UserProductsMacro, is not cleared when adding or removing through the CustomerExperienceCenter. It seems to be missing a call like this: Indexing.UserProductsMacro.ClearUserFavoritesCa ...
Anders Ebdrup
17/11/2022 14:39:26
Last post: 21/04/2023 06:30:41
HandlePricesExclusively not taken into account in Viewmodel
Dear Dynamicweb, We see a performance penalty when using the product viewmodel as the property HandlePricesExclusively in our custom PriceProviders are not respected. Please see the code marked with red here: private List<PriceListViewModel> Ge ...
Anders Ebdrup
24/11/2022 15:30:07
Last post: 20/04/2023 17:37:10
Creating new orderline in NotificationSubsriber doesn't seem to add orderline
Hi, Im currently trying to add a fixed orderline type to a Order, when the Cart is rendered. It's due to minimumbuy - if the customer doesn't buy for at least 150dkk there should be added a orderline "minimumbuy" for the rest about  ...
Marie Louise Veigert
07/03/2023 12:05:47
Last post: 20/04/2023 13:13:35
Extending password requirements
Hi DW, I have a question regarding the password requirement. As part of security measures, our customer is looking to implement some new password requirements to ensure the safety of user accounts. Our customer wants to ensure password security that  ...
Daniel Hollmann
19/04/2023 13:42:17
Last post: 20/04/2023 08:07:42
Get standard price when adding with points
Hi there, I have a shop (based on Rapido) that uses points to purchase. When adding an item to the cart, we use the cart command addWithPoints. That works fine but also sets the price of the item to zero in the cart. How do I find out what the standa ...
Imar Spaanjaars
17/04/2023 15:17:33
Last post: 18/04/2023 11:48:17
Latest “Application” folder
Hi, I posted this in the hosting forum, but that is not too active it seems :-) In the DW cloud new versions of the backend (Application Folder) are automatically added upon release (I think). What is a good way to do that on an own environment autom ...
Justin Sjouw
14/04/2023 08:59:49
No replies yet
Merging products in cart
Hi guys, I am not sure how to better title this question, therefore I will explain it. We have a situation where we are using a few orderline fields. Some of these orderline fields are getting values server-side, not through the add to cart form. Thi ...
Adrian Ursu
12/04/2023 19:09:59
Last post: 13/04/2023 09:19:28
Restoring production database to dev/test
Hi all, I' wondering how other handle the resotring of databases to dev/test from production. I find it makes live a lot easier if I can work on new features, or debuging existing issues if I have a recent copy of production, many times issues ar ...
Justin Sjouw
03/04/2023 22:18:50
Last post: 03/04/2023 22:31:17
PageView.Current() is null
Hi I used to use PageView.Current() in a Standard.User.OnExtranetLogin notification subscriber on a solution running Dynamicweb v.9.14.5. But after upgrading to v.9.15.2 PageView.Current() is null in the same notification subscriber. Is that a bug? I ...
Lars Larsen
28/03/2023 15:04:23
Last post: 28/03/2023 15:15:34
Notificationsubscribers for DWAPI requests}
Hi guys, I wanna throw a slightly radioactive curveball at you :D All of our projects are using the LiveIntegrationV1 or LSRetailIntegrationFramework and more and more our team is getting into scenarios where we'd like to edit the data returned f ...
Arnór Halldórsson
08/04/2022 18:30:39
Last post: 28/03/2023 12:11:38
Redirect request on frontend causes error when saving visual editor on master site
Hi DW, We've found an issue that causes the Visual editor to "freeze" and not add the item correctly. It happens when we try to add an item to the visual editor that has a field with the type "Item relation list" on a master p ...
Mikkel Hammer
06/03/2023 15:30:51
Last post: 21/03/2023 13:47:49
Product.AfterCreate subscriber missing data?
Hi, I have a "AfterCreate" subscriber for products. The product object that the method receives does not have all attributes set. For example "Name". Creating this product: Product in subscriber, "Name" is empty. Is this ...
Aki Ruuskanen
11/11/2022 15:37:58
Last post: 21/03/2023 13:41:18
Anonymized database script
Goodmorning, Does anyone happen to have script that will anonymize the DW database? I want to setup a workflow that will allow me to regularly restore production database backups to dev, but for safety best anonymize the database first :-) Thanks, Ju ...
Justin Sjouw
20/03/2023 10:55:45
No replies yet
Access to ObjectElement and ObjectType in UserTransaction
Hi DW We are working on a solution (DW 9.13.8) that makes use of Ecommerce Loyalty. We have a table in frontend showing users their latest transactions using the UserTransaction class. In case there is an order associated with the UserTransaction we  ...
Filip Hein
03/11/2022 17:09:45
Last post: 14/03/2023 08:59:23
Create a Dummy order for Unit tests
Hi, We're trying to create just a dummy order for Unit test purposes on our customizations. I know that currently this relies a lot on context, so I wonder if there's an easier way OR if we're down a bunny trail or it simply can't get ...
Nuno Aguiar
01/03/2023 13:37:29
Last post: 07/03/2023 12:57:31