Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
DW 9 WebApi dosent always add body on carts/create request
Hi DW i have been having an issue, where calling the carts/create endpoint with an OrderLine and a few OrderFields in the body sometimes dosent add the fields to the cart. The cart is always created and returned, sometimes just without the additional ...
Lasse Larsen
02/03/2023 16:25:11
Last post: 03/03/2023 09:36:34
MailChimp - Integration including exposing abandoned carts etc
Hi, Anyone integrated to Mailchimp to use their tools such as order notifications (order confirmation, invoice), abandoned cart automations, back in stock, pricedrops on viewed products etc? A customer of ours would like to integrate and move all the ...
Marie Louise Veigert
02/03/2023 10:04:29
No replies yet
GetPageviewByPageID results in endless loop
We have recently upgraded a solution to 9.15.2 and since we can't use Dynamicweb.Frontend.PageView.Current() to access AreaSettings from the backend anymore, we tried to use GetPageviewByPageID instead as suggested by the annotation. Unfortunatel ...
Vincent Gercke
23/02/2023 13:30:18
Last post: 01/03/2023 17:36:51
Access to CalculateShippingFee method
Hi Dynamicweb, We have a solution where we can have two shipping fees (depending on the type of products in the cart). We use a custom tax provider to add the fee from an additional standard shipping method. We only have access to the default fee on  ...
Niels Foldager
23/02/2023 22:23:13
Last post: 01/03/2023 11:05:23
Getting Products from Assortments
Hi. We have a solution that we are upgrading from v. 9.8 to v.9.14. We have are using Ecommerce and Assortment. We used to use the GetAssortmentItemsByAssortmentId method, of the AssormentService class to get the products related to the assortment. A ...
Daniel Hollmann
22/02/2023 08:55:32
Last post: 22/02/2023 10:24:37
DW10 Web Api Responses
Hi There are few endpoints in the api which return the data in blob. i dont know if that is by purpose or ...? but it would be nice if it can return the data in proper Json or an actual model which would be even better for example /dwapi/ecommerce/gr ...
Umar Farooq
20/02/2023 13:02:39
Last post: 21/02/2023 17:27:31
BOM/Parts list through API
I need to get a list of all BOM/parts list products on a given product through the API. Can anyone please point me in the right direction? ...
Martin Moen
20/02/2023 11:21:22
Last post: 21/02/2023 13:51:26
Deny user login with custom error message
Hi, I have a scenario where I have to get information from the third party api and based on some spcific properties i need to allow or deny user login on the website with custom error messages. i tried Standard.User.OnBeforeExtranetLogin but cant fin ...
Umar Farooq
20/02/2023 11:33:08
Last post: 21/02/2023 13:26:46
BeforeQuery subscriber in ProductViewModel
Dear Dynamicweb, We have converted some of our product lists to the new ProductViewModel (9.8), but now our subscriber: Ecommerce.Querying.BeforeQuery is not hit anymore. Where should we place this? Best regards, Anders ...
Anders Ebdrup
10/02/2020 15:29:56
Last post: 20/02/2023 16:18:53
Use orderline instead of product on Discount Extender
Hi, The method DiscountValidForProduct from DiscountExtender receives the orderline product has a parameter. Although, this is not very helpfull because we can only access product information. I think it should have the orderline as a parameter inste ...
Mario Santos
17/02/2020 12:42:08
Last post: 09/02/2023 13:41:17
slightly obscure bug
Hey, If you add a productField called "Groups","PrimaryGroup","GroupSorting","VariantGroups","VariantOptions" or "RelatedProducts" to you EcomProducts, it breaks the "export to Excel&qu ...
Jonas Krarup Dam
03/02/2023 10:05:58
No replies yet