Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Order.OnAfterGenerateOrderXmlArgs
I'm following the "Gold membership" example here: https://doc.dynamicweb.com/documentation-9/integration/integration-framework-old-structure/extensibility/live-integration-notifications I can successfully add a node to the xml, and it i ...
Martin Moen
17/04/2024 13:31:57
Last post: 17/04/2024 15:41:06
Display voucher based discount on products
Hi Guys, We are looking into a way to display voucher based discounts on the product list page (PLP) and the product detail page (PDP), but is looks like that it has been blocked in the core code in DW (please find the screen shot below). I am wonder ...
Anders Ebdrup
11/03/2024 10:19:39
Last post: 15/04/2024 15:35:01
Change link in template for every language
Hi, I want to add that my link will change if the website is in a different language. This is the piece of code I have already written: @{ string GetProductPageUrl() { string currentLanguage = "en"; switch (currentLanguage) { case "en- ...
Caro De Weze
11/04/2024 09:01:29
Last post: 12/04/2024 11:37:20
GetImage.ashx returns error 500, in Dynamicweb Admin (9.16.4)
f.x. /Admin/Public/GetImage.ashx?Width=480&crop=0&image=/Files/Files/Add%20a%20heading%20(2).png - will return 500 If the file does not exist then it returns a 404 - so it's finding the file. The error returned is Im unable to debug into  ...
Hreinn Agustsson
11/04/2024 09:48:40
Last post: 11/04/2024 17:44:38
Automating Campaign Removal and Cache Clearing
Hi, We're currently using a scheduled SQL task to remove campaigns from products once they're over, and it's working well. The issue we're facing is with caching: the products keep showing the campaign info until we manually clear the ...
Johanne Glimsdal
05/04/2024 09:33:45
Last post: 09/04/2024 09:38:46
Expand table product variants
Hi, How can I expand the table of product variants? By default, this is how it is shown: Now, for example, I want to show the color per variant as well. I've already looked in the Swift_RelatedProductsList.cshtml file, because I am using the item ...
Caro De Weze
03/04/2024 14:09:10
Last post: 04/04/2024 17:24:51
CommandTimeout on Log Cleanup
Dear Dynamicweb, We experience that the planned task of "log cleanup" often ends in an exception due to timeout. I would therefore like to set a command timeout on the scheduled task, and I would like to have a log of which of the table del ...
Anders Ebdrup
07/03/2024 10:22:14
Last post: 04/04/2024 11:57:59
Prevent single extranet user from beeing forced for a new password
Hello. We are building a solution for a customer where they have set up extranet with users from BC. When the extranet user is logged in they have access to place orders and see the latest orders etc. We have set up so the extranet users must create  ...
Kasper Legarth
03/04/2024 09:43:59
Last post: 03/04/2024 11:15:55
Show stock state on order in backend
Hello, We have gotten a request from a customer that want to show amount in stock on an order in backend. Is this even possible? ...
Alexander Tømmerholen
26/02/2024 10:32:53
Last post: 02/04/2024 15:08:12
PriceProvider call 2 times when user logged in and second time Pricecontext.customer=null
PriceProvider call 2 times when product detail request and user logged in, second time Pricecontext.customer=null v 9.17.2 * First time Seond Time any clue what could be the case? ...
Shiwanka Chathuranga
27/03/2024 14:13:00
Last post: 27/03/2024 17:12:29
Klarna v3
Hi, In the klarna v3 payment provider we enabled the following option Upon investigation, i found out that the property "allowed_customer_types," which is type List<string>, has not been initialized either in the constructor or elsewh ...
Umar Farooq
22/03/2024 12:58:05
Last post: 25/03/2024 01:39:26
Show name discount when product is selected
Hi, I want to make sure that for order discounts, it always shows the name of an order discount. How do I do this? Currently this is only true if the discount type is equal to percentage: If the discount type is equal to a product, it shows the name  ...
Caro De Weze
21/03/2024 07:27:54
No replies yet
DW WebAPI authenticate with POST
Hi, A customer wants to use POST authentication in the WebAPI due security concerns. Although, if parameters are sent in the body they get the message that endpoint does not support POST. The endpoint only works when parameters are sent in the querys ...
Mario Santos
14/03/2024 11:21:52
Last post: 20/03/2024 14:44:26
Throw validation error on OnAfterSubmitSave
Is it possible to use Dynamicweb.Forms.Notifications.Frontend.OnAfterSubmitSave to make custom server side validation? I would like to validate one of the fields up against the database on submit. If invalid, I need to show a error message. Anyone go ...
Martin Moen
15/03/2024 09:11:31
No replies yet
List of most sold products
Hello, Is there any method or functionality avaliable to get a list with productIds of the most (TopX) sold products? I need to the list so I can compared and tag the products i'm showing if they're in topx ...
Kasper Pedersen
08/01/2024 09:36:04
Last post: 14/03/2024 11:14:44
Product check anonymous assortment
Hi, Is there a way to check if a product is available for an anonymous user when working with assortments? We are using the method GetProductById with the assortment parameter set to true. This seems to work for authenticated users, it returns null w ...
John Broers
08/03/2024 15:51:26
Last post: 11/03/2024 08:45:39
Determine sort order for price providers
Hi there, I have a site that uses multiple integrations and price providers. In one scenario, I have a standard Live Integration to BC. When that returns a price, it should be used. Otherwise, it needs to run through my own price provider. How can I  ...
Imar Spaanjaars
06/03/2024 09:00:01
Last post: 06/03/2024 21:56:38
LoginError from azure AD
Hi, I have implemented the azure AD connection. But some times i get a LoginError and a banned IP. Error message: SQL Injection detected from ip : (Match on QueryString LoginError); expression: (?:'|%27|%22|%26|%3B|;|%3D|%23|%00|%7c|--)(?![ |:|&g ...
Andreas Pettersson
27/02/2024 09:13:47
Last post: 27/02/2024 09:30:04
Clear custom cache in Load Balancing Setup?
Hello, Is anyone familiary with how to clear a custom cache storage through out the nodes in a load balancing setup? Best regards, Anders ...
Anders Ebdrup
26/02/2024 14:30:37
Last post: 27/02/2024 08:46:58
Prepare StockLevelProvider
For the live products prices, there is a prepare Prices function. You also get a list of the selection products where I can get the ProductIds from, for example, a product overview. We need to have something similar for our client but then for the st ...
Duncan Janssen
20/02/2024 14:08:42
Last post: 22/02/2024 13:30:55