Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Event before adding product to cart?
Hi Guys, Am trying to find the right event. I need to validate some stuff before I add to the cart. I also need to possibly alter Quantity on the fly if certain conditions match. Tried looking up in Dynamicweb.Notifications.eCommerce.Order.* but can' ...
Dimitrij Jazel
23/11/2017 13:38:16
Last post: 24/11/2017 15:29:58
C#6 in Razor templates
Hi there, Is C# 6 and later support in Dynamicweb's Razor templates? I followed the steps documented here: https://stackoverflow.com/questions/33822854/using-nameof-operator-in-razor-views (installed the package Microsoft.CodeDom.Providers.DotNetComp ...
Imar Spaanjaars
21/11/2017 15:10:21
Last post: 21/11/2017 15:23:41
Recommendations for logging from Scheduled Tasks
Hi there, I am building my own scheduled task to send out shipping confirmation emails by inheriting BaseScheduledTaskAddIn. From this task, I would like to write detailed info to the log in case of failures, and a summary in case of success. What is ...
Imar Spaanjaars
18/02/2016 10:30:30
Last post: 21/11/2017 13:30:11
Ledgers numbering
Hi all, I have a solution in 9.3.6 that is going to use the ledgers feature to pay ledgers. My custom code creates a new ledger record that will be sent to the cart to be paid by a standard checkout handler. No issues until this step, and the created ...
Rui Silva
16/11/2017 16:03:10
Last post: 17/11/2017 15:11:19
Dynamicweb 9.3 ViewModel
Hey DW Is it possible in the new Dynamicweb 9.3 to get the Children of an item page, eg: @foreach (Model.Children) { } Best regards Jakob ...
Jakob Westhausen
16/11/2017 11:22:11
Last post: 16/11/2017 17:07:02
Klarna Error Code: 3107
Hello guys, According to Klarna doc. here is the explonation of the Error code: https://www.screencast.com/t/U4JknG6yx Upon the step, where customer enters their Personal number (11 digits) Klarna returns this error code. But adress Information is Fi ...
Dimitrij Jazel
10/11/2017 18:14:29
Last post: 15/11/2017 09:18:47
Project placement for TFS
What is best practice for seting up a project with visual studio? I followed the guide for setting up a new Visual Studio Project (asp.net MVC) but i want to be able to change the files within the "Files"-folder from Visual Studio as well. Do I creat ...
David
13/11/2017 13:22:58
Last post: 13/11/2017 14:55:37
Importing empty values through the Data Integration Module
Hi, How do I import empty values through the Data Integration Module. Currently when my source provider delivers an empty string value. after the import run the current data in the destination (itemtype provider) will remain, instead of being cleared ...
Ben Doorn
18/04/2017 11:26:00
Last post: 10/11/2017 13:01:39
Running DW9 on top of OWIN manually?
With a fresh DW9 installation from NuGet, I can see that Global.asax file implements codebehind of "Global.asax.vb". I would like to get rid of Global.asax file alltogether and start website manually via owin bootstrapper. I can't find any informatio ...
Evaldas Raisutis
09/11/2017 09:26:29
Last post: 10/11/2017 13:01:31
Item stop inheriting
Hi, I have an item that I want to stop inheriting from another one. I can't do it through the UI I updated both the XML and the ItemTypeDefinitions tablel by removing the inherits attribute value update ItemTypeDefinitions Set ItemTypeDefinitionsMeta ...
Nuno Aguiar
08/11/2017 19:10:20
Last post: 09/11/2017 15:44:44
Filter by Discount?
Hi Guys, Customer aproached with a request to have a possibility to filter by Discount. Simmilar like you filter by product field. Product fields is already defined in among new field sources in the Index fields. But in my case, if I want to filter b ...
Dimitrij Jazel
04/10/2017 14:57:42
Last post: 09/11/2017 14:58:48
Split orderlines
What is the fastest most reliable way to split one orderline into multiple orderlines? Ex. 2 x PROD1 Shall become 1 x PROD1 1 x PROD1 By default when you buy more than one of one product it is merged, and that is good. But we have a scenario where we ...
Martin Grønbekk Moen
09/11/2017 14:11:50
Last post: 09/11/2017 14:17:08
Prices with different roundings
Hi Dynamicweb, I need to display my unit prices with 5 decimals but all other prices should be displayed with 2 decimals. I have tried this in my cartline templateextender: var rounding = new Rounding(); rounding.Decimals = 5; var currencyWithFullDec ...
Anders Ebdrup
25/09/2017 13:56:02
Last post: 08/11/2017 11:00:42
DW 8.8.1.32: Attach file to FormForEditors mail
Hi, I have a customer, who would like to have the picked files attached to the email send, when submitting the form. I have found an example in a thread on the forum: http://doc.dynamicweb.com/forum/development/form-send-email-with-attachment-uploade ...
Marie Louise Veigert
08/11/2017 10:08:24
No replies yet
Facebook gallery embedding
Hi all Does anyone have any experience / suggestion to implementing facebook galleries? We have a customer, who would like this feature. ...
Jens Mouritzen
31/10/2017 21:10:11
Last post: 03/11/2017 08:47:23
Klarna Error code: 0, message: Cannot find any matching PClass for edi=54551 and id=0
Hello everyone, Today customer reported an issue with their customer. That was trying to place an order, but she got an error: https://www.screencast.com/t/CHz9xMzNE7 54551 - is Merchant ID (Merchant ID is changed in this post). it seems like this er ...
Dimitrij Jazel
02/11/2017 12:55:28
Last post: 02/11/2017 14:56:16
How to get the Price object of applied price
Hello, I know I can get a product price using this method : var defaultPriceProvider = new DefaultPriceProvider(); var userPrice = defaultPriceProvider.FindPrice(product, quantity, variantId, currency, unitId, user); However, this only gives me a Pri ...
Gaëtan Di Caro
18/10/2017 13:50:12
Last post: 01/11/2017 07:31:15
IndexBuildFinished notification subscriber
Hello, I currently have a problem where the IndexBuildFinished notification doesn't fire when an Index has finished building. Also this is the only notification subscriber that isn't working. Am I missing something or is this a bug? Here's the bare c ...
Justin Breg
19/10/2017 16:15:47
Last post: 31/10/2017 13:48:54
How to apply voucher code via API
I am developing API to use from mobile application. I am facing a problem, when applying voucher code with API POST method, is not working. Could you please suggest me? 1. Applying voucher code from url is not working. http://[myDomain]/[pageName]?Ec ...
Zayar Minn
16/10/2017 08:57:55
Last post: 31/10/2017 12:04:38
Make SEO friendly url from url made by db productID
Hi, I'm having an issue on a old solution (Version 8.0.2.0) The customer would like to get SEO friendly URL's, but the productlist are made by getting productID from the database, why it doesn't show, when they have used the filter. if (objTemplateRe ...
Marie Louise Veigert
26/10/2017 08:54:54
Last post: 26/10/2017 09:37:45