Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Render Products
Hi, I am trying to load products in a view like this Dynamicweb.Ecommerce.Frontend.Renderer render = new Dynamicweb.Ecommerce.Frontend.Renderer(); string sql = "SELECT * FROM EcomProducts WHERE CompatibleProducts LIKE '%@" + product.Id + "@%'"; rende ...
Umar Farooq
28/06/2018 10:56:57
Last post: 28/06/2018 12:26:25
Discount - Offer random product from group
Hi, We have a customer that wants to set a Discount that offers any product from a specific group. I have 3 ideas (1 bad, 1 worse and 1 godd) Bad idea Build a Discount Provider that mimics everything (or as much as needed) from Order Discounts and te ...
Nuno Aguiar
22/06/2018 17:51:12
Last post: 22/06/2018 18:19:21
Ignoring an invalid row in a table script
Hello, I'm creating some Table Scripts and there are times when the row from the source isn't a valid row. I would like to have that be ignored rather than entering the data from the invalid row. What's the best way to null out or invalidate the row  ...
Scott Forsyth
16/06/2018 18:37:22
Last post: 18/06/2018 16:14:32
Google Calendar API
Have anyone used the Google Calendar API in a project? https://developers.google.com/calendar/quickstart/dotnet I have to use it in a event calendar, basiscly just to pull events from the calendar, and display them on the frontend. Anyone have an ide ...
Jens Mouritzen
04/06/2018 20:19:16
Last post: 07/06/2018 13:41:56
Get countries from ShippingMethod
Hi, We would like to get the list of countries, which are selected in the ShippingMethod. We need it for a dropdown in checkout. DW version: 9.3.8 I have looked at the templatetags and in the API, but havn't found something usefull. Does anyone know  ...
Marie Louise Veigert
04/06/2018 10:52:45
Last post: 04/06/2018 14:43:29
Read from EcomProducts WITH (NOLOCK)
Hi Dynamicweb, We have an issue with some heavy update of products from dataintegration jobs and I hope you could add som table hints when accessing the database? E.g. we have a specific issue with products and exceptions like this. Exception: System ...
Anders Ebdrup
29/05/2018 15:24:15
Last post: 29/05/2018 22:10:12
Use Dynamicweb as External login provider for another application
Hello, I have a custom mvc application next to a Dynamicweb solution. Right now it uses its own login provider. I would like to be able to log into that application using the user credentials from Dynamicweb. I need 2 features : The customer should b ...
Gaëtan Di Caro
16/05/2018 15:05:01
Last post: 11/06/2018 09:54:12
Concurrency violation exception in ecommerce
Hello, We are experiencing occasionally DBConcurrencyExceptions ( Concurrency violation: the UpdateCommand affected 0 of the expected 1 records. at ) on during our order checkouts and our custom checkout handler. We managed to resolve most of the con ...
Antek Drzewiecki
09/05/2018 17:56:48
Last post: 09/05/2018 18:05:47
Application Error on page delete
Hi, We are experiencing a very strange error on our live solution which is running on 9.4.9 and this solution is hosted on a dedicated server. When we try to delete a page we get the following error as shown in the attached screenshot. I have checked ...
Umar Farooq
02/05/2018 09:37:01
Last post: 03/05/2018 08:45:45
Nuget install : Unable to load one or more of the requested types.
Hello, I have tried to install a DW solution using nuget, but I'm having this error message when I run the website (see screenshot) : "Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information." I  ...
Gaëtan Di Caro
30/04/2018 11:34:30
Last post: 21/08/2018 13:02:33
Error when creating language
Hi, I am having an issue when trying to create a language for a website. I have 3 websites in an installation with several pages and content but am unable to create a new language layer for one of them, the others work fine. The error message I get f ...
Jóhann Kristþórsson
25/04/2018 13:11:04
Last post: 26/04/2018 09:05:45
Cart only supports cart items exception
Hi, We been experiencing some issues with orders completed that try to load into ecommerce context and when this happens it will give us an exception: This is happening in two different solutions, one in DW9 (9.3.8) and the other in DW8 (8.9.2.20). T ...
Rui Silva
20/04/2018 16:06:03
Last post: 03/08/2018 09:59:09
Known icons used in front-end
Hi guys, I want to make good use of the list of Known icons (available in Settings/Developer) but in Front-end. Mainly, I want to set up a property on a paragraph that would allow the user to select an icon. I believe there is no such thing as an Ico ...
Adrian Ursu
20/04/2018 14:33:22
Last post: 23/04/2018 17:36:29
Performance on order list
Hi Dynamicweb, We experience very poor performance on the Customer Center Order List as to much logic seems to be done by the api and not the database which in the end causes why too many database calls when have many orders on a customer. All orders ...
Anders Ebdrup
15/04/2018 16:43:10
Last post: 05/10/2018 13:08:50
Products in order history Macro in Repository
Hi, I have a customer that wants a similar Macro to "MostFrequentBoughtProducts" and "MostBoughtProducts". They want something like "Produts bought in the last 2 years". https://www.screencast.com/t/Tqa28OGh07 That said can I get the source code for  ...
Nuno Aguiar
11/04/2018 16:39:24
Last post: 27/08/2018 11:27:54
Authenticating users with own OAuth provider
Hi, We are establishing a Single Sign-on infrastructure so that our customers can authenticate to different system of ours using the same login, and naturally want to extend to our ecommerce site. https://doc.dynamicweb.com/documentation-9/users/user ...
Þórhallur Hálfdánarson
11/04/2018 13:19:24
Last post: 16/04/2018 16:02:49
winmd files ?
Hello, We have an external tool that we would like to run on some of our custom code, but it requires that all references be present. However, it seems that I miss a file called "Dynamicweb.winmd". Is it possible to get those winmd files ? They are n ...
Gaëtan Di Caro
04/04/2018 08:55:30
Last post: 04/04/2018 09:06:13
Exception in 9.4.7 when using product name as lucene sort field
Hi Dynamicweb, I get this error in 9.4.7 when using the product name as the sort field in the lucene query setup: System.IndexOutOfRangeException: Index was outside the bounds of the array. at Dynamicweb.Indexing.Lucene.LuceneIndexProvider.CaseIgonre ...
Anders Ebdrup
02/04/2018 14:51:45
Last post: 26/04/2018 16:19:29
Price not set when adding new orderline
Hello! I am trying to add orderlines to an order using 'new OrderService().CreateOrderLine()', but the price is not updating. Even if I use the old deprecated method Order.CreateOrderLine nothing happens. This is my (simplified) code: var order = new ...
Oscar Romin
28/03/2018 14:49:39
Last post: 28/03/2018 15:25:57
Price.GetDoublePriceFormatted returns price with VAT
Hi Dynamicweb, Price.GetDoublePriceFormatted does not take into account the ecommerce-setting on the website and always seems to add VAT to the price. Is it possible to have have this check added to the method? Best regards, Anders ...
Anders Ebdrup
26/03/2018 10:53:03
Last post: 10/04/2018 08:37:07