Developer forum
Subject
Replies
Started by
Last reply
Loop most sold products
Hi, I want to call the 5 most sold products and show them in a div among each other. For the products I want to show their image, name and sku. How can I do this? Caro ...
Caro De Weze
09/11/2023 12:20:01
Last post: 09/11/2023 13:37:46
Prices from Live integration in Schedule Task AddIn
Hey guys, I have a project with live integratiom, the prices are fetched from an external system . I developed a scheduled task that generates a custom XML with all the active products. I noticed that some of the products don't have prices in my ...
Alexandru Aliu
01/11/2023 15:12:10
Last post: 22/11/2023 10:12:07
Serialize/Deserialize Query Expressions
Hi guys, I have a situation where I want to add Query expressions in the SwiftProduct.query programmatically. I have used the QueryService for reading the Query file, I could manipulate the Parameters of the query but I could not find a way to intera ...
Adrian Ursu
29/10/2023 16:47:41
Last post: 30/10/2023 10:29:03
Unit test for a scheduled task
Hi, so I have a scheduled task defined and it's using few of the Dynamicweb.Ecommerce.Services classes, like Shops or Products. Now, since whenever I make a change to code, I need to restart my app, it's just very time consuming as it takes a ...
Karol Barkowski
20/10/2023 08:42:24
Last post: 25/10/2023 12:00:49
Scheduled task progress
Hello, I have a working DW website that contains quite a lot of products. Now, from time to time I need to iterate those porducts and make sure that they are in sync with some external data sources. So I've made a scheduled task for that and it w ...
Karol Barkowski
18/10/2023 23:32:00
Last post: 24/10/2023 16:35:56
DW locally on Mac
Hi, I'm trying to get DW running locally on my Mac. Unfortunately the documentation around here is mainly for Windows, so I need some help. Which programs do you recommend to work with to start? Which IIS manager? This is installed by default on ...
Caro De Weze
17/10/2023 14:45:00
Last post: 18/10/2023 09:09:41
External Authentication using just back-end code
Hi guys, I am not sure if the title is clear enough, I will detail. I need a way to authenticate in another system but using the regular Sing in form from DW. I was thinking maybe to use some notification in DW, execute my code, and then move on with ...
Adrian Ursu
11/10/2023 19:45:55
Last post: 12/10/2023 13:49:06
Get Parent page inside loop of ItemPulbisher
Hi i am looping pages in an item publisher, and I am trying to get the parent of the current page inside the loop like this @{ string pageid=@i.GetInteger("ItemPublisher:Global.PageId").ToString(); var page = Dynamicweb.Content.Services.Pag ...
Hans Ravnsfjall
10/10/2023 20:04:05
Last post: 11/10/2023 11:34:48
SQL timeout on users - Custom Fields
Hi DW. We have a large solution with a lot of users in the AccessUser table. We are running DW version 9.14.9 Before going to production with a new feature, we wanted to add a custom field, for all the users. However, the action timed out during the ...
Daniel Hollmann
05/10/2023 14:44:42
Last post: 05/10/2023 19:40:17
EcomProductUnitOfMeasure data in ProductViewModel
Hi guys., Is there any way I can get data from EcomProductUnitOfMeasure table into the ProductViewModel? Or is some service returning this data based on the ProductId? Thank you, Adrian ...
Adrian Ursu
02/10/2023 11:47:00
Last post: 02/10/2023 12:19:51
Intercept exceptions
Hi there, I have a site where a customer gets the following exception when logging in: I think this has to do with loading a cart that doesn't exist anymore but we're not sure. Is there a way I can intercept this exception and perform some lo ...
Imar Spaanjaars
02/10/2023 10:59:54
Last post: 02/10/2023 12:12:05
Order status email generation failed when status change from code
We are changing order status from another function from shipping provider and that time email is not generated. but status changed correctly. when we change that status manually from DW backend email is generated without any issue Code : order.StateI ...
Shiwanka Chathuranga
29/09/2023 13:26:32
Last post: 02/02/2024 07:55:47
10
Subscribe
Collect page content output for sending to external systems
Hi guys, I have a situation where I have to send NewsArtcile content to external sources via custom integration. One of the challenges is sending out the resulting content of the page, considering that the entire content is built using GridRows and C ...
Adrian Ursu
29/09/2023 10:59:49
Last post: 30/10/2023 10:31:13
15
Subscribe
Assign user to group
Hello guys, I am looking for a way to assign a user to an extranet group from the frontend, when the user buys a specific product. I have tried with this approach: user.AddToGroup(groupId); using (var supress = new NotificationContext(NotificationCon ...
Anders Ebdrup
27/09/2023 15:25:08
Last post: 05/10/2023 08:47:03
Custom Add In not showing up
Hi, I wanted to play around with custom add ins a little bit so I found some example that I put into my project. It's the most basic app that I could write: [AddInName("SampleCustomApp")] public class App : ContentModule { public overri ...
Karol Barkowski
25/09/2023 16:49:24
Last post: 25/09/2023 19:58:42
Vincent Gercke
05/09/2023 10:30:45
Last post: 12/09/2023 20:09:41
Add/remove loyalty points via /dwapi
Hello. Is it possible to modify users loyalty points via the API (/dwapi)? I've had a look through the documentation, without any luck. ...
Vincent Gercke
05/09/2023 10:21:47
Last post: 07/09/2023 21:31:44
Index custom field type
Hello, I got some issue when it comes to custom field type and indexing. The case is that the customer want to sort products based on the last word in a text field. Because of this we have created a custom field type that get the last word in the tex ...
Alexander Tømmerholen
04/09/2023 13:15:34
Last post: 04/09/2023 15:34:12
Basket - Server side step ?
Hi If I want to create a custom server side step in the basket, and store the new data to the basket/order. How would I go about doing that ? ...
Anders Jensen
04/09/2023 08:34:47
Last post: 04/09/2023 11:14:09
Send additional parameter to quickpay
Hi there, I need to send the deadline parameter to Quick Pay (QuickPay Form - https://learn.quickpay.net/tech-talk/payments/form/) in order to control the time the user has to complete the order (so it matches the reservation time in the cart). I tri ...
Imar Spaanjaars
02/09/2023 22:31:01
Last post: 14/09/2023 11:20:58