Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Add Orderline programatically - Exception at get_RewardPoints()
Using the following code in an ASHX handler: var line = new OrderLine(); line.Product = null; line.ProductName = "Modul test."; line.ProductNumber = "0001"; line.ProductID = "0"; line.SetUnitPrice(100); line.SetOrderLineType(OrderLine.OrderLineType.F ...
Jonas Mersholm
21/01/2016 09:59:40
Last post: 16/02/2016 13:19:13
Assortment import: Handling of missing products and groups
Hi Dynamicweb, I would be very nice if you in Assortment.Rebuild() could check if the product or the group exists before trying to access the properties as it causes not reference exceptions - this is especially an issue when working with integrated  ...
Anders Ebdrup
07/01/2016 14:19:02
Last post: 07/01/2016 15:28:47
Problem with spaces in products id for ProductsAndGroupsSelector
Hi Dynamicweb, We have problem with e.g. removing products from the discount selector (ProductsAndGroupsSelector) when we have product id's containing spaces. I think the problem will be solved by changing these three lines in ProductsAndGroupsSelect ...
Anders Ebdrup
06/01/2016 23:04:22
Last post: 01/02/2016 14:11:30
Entire page cache and querystrings
Hi. I'm trying to solve a issue where we use the "entire page" cache feature in DW. This works really well in this usecase, because there are ALOT of products on the page. But now i'm trying to make the page a bit more "SPA" like - and therefor uses  ...
Mikkel Høst
22/12/2015 17:05:19
Last post: 23/12/2015 12:59:22
c# set item-value of Area
Hi, I have a copied language-layer area: var Newarea = MainArea.Copy(Dynamicweb.Content.Area.CopyMode.StructureAndContent, true, true, true, true, true ); How would i be able to set the item value for the given website? The website has an Item with t ...
Jonas Mersholm
15/12/2015 09:51:16
Last post: 16/12/2015 04:10:58
Wrong handling of giftcards
Hi Dynamicweb, We have a rather critical issue with prices on giftcards as the price is handled wrong if the data in the database is inclusive VAT. In PriceCalculated.CalcPrice() I think that you are missing the part with red: If PricesInDbVAT AndAls ...
Anders Ebdrup
11/12/2015 15:40:56
Last post: 30/05/2016 15:11:43
Translation via webservice call
Hi, We have a web service that we want to return translated text from, we used to call Dynamicweb.Backend.Translate.SetLanguage(culture.LCID); return Dynamicweb.Backend.Translate.Translate(key); We tried to use var messageTemplate = new Dynamicweb.Re ...
Ola Eriksson
07/12/2015 16:04:07
Last post: 08/12/2015 15:32:14
OrderTemplateExtender file download problem
Hello, I have coded an OrderTemplateExtender to dynamically generate a zip file and send it to the customer when he adds to basket (as per an image bank feature of our website). The code works very well and the zip file is generated and sent without  ...
Gaetan Di Caro
07/12/2015 11:02:40
Last post: 07/12/2015 12:45:10
RE: .NET 4.6 error
Hi DW, I've updated my VS Professional from 2013 -> 2015, at first everything was fine. I then wanted to use the new string interpolation in C# 6 as this was a cleaner solution then string.Format(). Because of this I had to set the target framewor ...
Rasmus Andersen
30/11/2015 11:17:16
Last post: 30/11/2015 13:13:11
EcomProductCategory table is in an unknown state
Hi everyone, Just got an application error while trying to install wrap application. Full error text: EcomProductCategory table is in an unknown state. Table contains 2 rows but should be empty. This problem can be solved by dropping the table and ru ...
Dmitrij Jazel
29/11/2015 19:35:03
Last post: 30/11/2015 09:11:03
strange behavior on template.output()
Hi guys, I'm having a strange behavior on a custom module, it takes forever for the page to render. The GetContent() method is not the problem, it returns quickly. Using debug=True I found the info below. What does MEM means? 10:31:13.115 After globa ...
Ivo Rodrigues
24/11/2015 15:13:33
Last post: 01/12/2015 15:26:06
product.GetCategoryValue throws NullReference in 8.7
Hi, When I inside product list template extender or product template extender try to get product category values with fx product.GetCategoryValue("<product category>", "<field name>"); it throws me a NullReference error of this kind: Syst ...
Kevin Steffer
18/11/2015 15:00:30
Last post: 09/05/2017 12:26:09
ExtranetLogin error in ASHX file
I have created one hanler "autologin.ashx". In the handler i need extranet login. For that i have used the following code. Dynamicweb.Modules.UserManagement.User user = Dynamicweb.Modules.UserManagement.User.Authenticate("FRANKMARCKSCHEFFEL@FBAUFZUEG ...
Erik Pettersson
11/11/2015 05:30:04
Last post: 11/11/2015 11:48:42
Order Modified notifier
Hello all, I'm working with the Live Integration project, and when a checkout process is finished, the order is sent to the ERP. But, in this project, the order confirmation page has a small form, which the fields are order custom fields. For example ...
Gonçalo Assunção
10/11/2015 12:20:45
Last post: 11/11/2015 08:34:59
Cart drops after 15 minutes?
Hi Guys, One of our customers called, and said that shopping cart becomes empty, when they are comming back from the break. 1) Customer adds products to cart. 2) just before finishing checkout - they are having break, or telephone call. 15-20 minutes ...
Dmitrij Jazel
04/11/2015 20:21:12
Last post: 11/11/2015 14:28:16
CheckoutDoneOrderIsComplete ignored
Hello all, I have a website where I'm working with the Live Integration project, and I have a custom Discount Provider. Both these dll subscribe to the same notifier:Dynamicweb.Notifications.eCommerce.Cart.CheckoutDoneOrderIsComplete. The issue is th ...
Gonçalo Assunção
29/10/2015 19:04:02
Last post: 09/11/2015 13:31:18
Application conf. Single domain, multilanguage
Hi Guys, Wanted to ask you for an advice, on how to plan/configure application to work like that. 1) There is going to be a single application, 2) That application is using .COM domain name. 3) it has default valuta in Euro, USD 3.1) Note: users are  ...
Dmitrij Jazel
28/10/2015 14:55:02
Last post: 29/10/2015 09:32:15
"Exporting" an area/website
Hi, Is there any smart way to "export" a complete "Area" or "Website" from one solution to another. I cannot copy the whole database. Regards /Aki ...
Aki Ruuskanen
27/10/2015 13:43:01
Last post: 27/10/2015 14:54:33
Send mail with product info
Hi, Is there any smart way to render an email with a product with a dynamic productid. I know I can create a page with a product and point that out in email marketing when creating an email. But. What I would like to do is to provide the page with a  ...
Aki Ruuskanen
27/10/2015 10:59:36
Last post: 27/10/2015 11:10:22
Problem with variant facets in New Index
Hi Dynamicweb, We are facing a rather big issue with the variant facets, which are not summarized correctly as it does not take into account whether the variants are on stock or even if the variant is active. This issue is seen when dealing with exte ...
Anders Ebdrup
24/10/2015 23:37:46
Last post: 05/02/2016 09:39:08