Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Missing "SymbolPlace" in Currency
Hi Dynamicweb, When creating a new instance of "Dynamicweb.eCommerce.International.Currency" the property "SymbolPlace" is not copied in the helper function: SetProperties from the cache. (at least in v8.4.1.16) I hope this property can be added in t ...
Anders Ebdrup
15/09/2014 13:53:13
Last post: 16/09/2014 17:28:46
sql connection leak in: ExtendSaveProductCatedories
Today i found out there is a sql connection leak in ExtendSaveProductCatedories. This caused by creating a loop over all products and calling Product.Save() Please have a look at the following dw source: ---------------------------------------------- ...
Remi Muller
10/09/2014 16:53:18
Last post: 16/09/2014 09:47:55
Error when trying to create a new User c#
Doing the following: Dynamicweb.Modules.UserManagement.User F = new Dynamicweb.Modules.UserManagement.User(); F.Name = name; F.Email = F.UserName = email; F.Password = password; F.Zip = zip; F.Address = adress; F.Active = true; F.AllowBackend = true; ...
Jonas Mersholm
15/09/2014 12:03:15
Last post: 15/09/2014 13:51:06
Error with productlist notification and filter
Hi, If I have notification wich clears the productlist in combination with a filter I get an SQL error. Is there a way to avoid it? 1. Create a notification subscriber: [Subscribe(Dynamicweb.Notifications.eCommerce.ProductList.BeforePaging)] public c ...
Aki Ruuskanen
12/09/2014 10:10:45
No replies yet
Order email based on zip code
Hi there. How would we go about creating a shared order-flow, where the order email is sent to a dealer, based on the customers zip-code? Is there any way to extend the order-flow in DW - making it possible to add-in our own logic? Thanks in advance. ...
Jonas Mersholm
10/09/2014 10:44:54
Last post: 10/09/2014 13:56:06
Product field, is getting rounded
Hi Guys, Just wanted to know if someone ever has simmilar issue. We disabled rounding on the shop, and I have some products with some custom fields, that are of type "Decimal". One of the field values is "2.745" as a result when I am reading it in th ...
Dmitrij Jazel
05/09/2014 13:31:09
Last post: 10/09/2014 11:05:10
RE: Force .crt files to be downloaded
Hi, As an example in php, you can do this in htaccess: http://css-tricks.com/snippets/htaccess/force-files-to-download-not-open-in-browser/ Is it possible to force a filetype in dynamicweb somehow to always force download, instead of some browsers (f ...
Jan Sangill
04/09/2014 10:46:36
Last post: 08/09/2014 14:28:06
Item types code first not being recognized
Hi there, I am using the following code first item type definition: public class Person : ItemEntry { public Person() { DateOfBirth = new DateTime(1753, 1, 1); } [Group("General")] [Field("First name")] public string FirstName { get; set; } [Group("G ...
Imar Spaanjaars
20/08/2014 15:57:31
Last post: 05/09/2014 11:46:39
How to set dropdown source with code-first Items.
Lets say i have the following two items: [Name("Blog Post")] [Category("Blog")] public class BlogPost : ItemEntry { [Text] public string Title { get; set; } [DropdownList] public string Author { get; set; } } [Name("Author")] [Category("Blog")] publi ...
Jon List Thorsteinsson
25/08/2014 13:17:11
Last post: 03/09/2014 12:20:44
Discount - Choose product to offer
Hi, We have a client that wants the user to select which field/variant of product they want to receive as "discount". How can I achieve this? Can we do this globally (all discounts) or do we have to manually change all discounts? Could this qualify f ...
Nuno Aguiar
26/08/2014 18:21:22
Last post: 28/08/2014 10:17:46
Saving order line fails when calling save for multiple lines
Hi there, I am updating the Attachment property of an order line in a CheckOutDoneOrderIsComplete subscriber with code like this: var order = arguments.Order; foreach (var orderLine in order.OrderLines) { // Don't process discounts if (!orderLine.IsP ...
Imar Spaanjaars
27/08/2014 13:34:22
Last post: 27/08/2014 16:44:50
Generate order confirmation PDF and Attach it to mail
Hello Guys, Wanted to ask, where could I start? Basically, after order is complete - I need to: 1) Generate a PDF file, that contains order confirmation information (order info, orderlines etc...) 2) Attach that PDF to a order confirmation email. Sug ...
Dmitrij Jazel
27/08/2014 12:24:22
Last post: 27/08/2014 12:34:10
Guidance on fees
Hi there, What's the recommended approach to calculate a shipping fee? It seems I can choose between a FeeProvider and a ShippingProvider but I am not sure which one to choose. My use case is relatively simple: based on the cart's contents, I need to ...
Imar Spaanjaars
26/08/2014 14:11:36
Last post: 26/08/2014 14:55:47
Can't set Quantity in Cart.Line.Added
Hi guys, I'm using the eCommerce.Cart.Line.Added notification subscriber to multiply the QTY with packaging size. However, for some reason I can't do anything about to the AddedLine. I can add new lines, clone the added line, but adjusting QTY, and e ...
Lars Sørensen
20/08/2014 17:15:15
Last post: 20/08/2014 19:49:47
Copy existing ecom shop
This question is probably asked before, the search engine only finds some useless pagenumbers with irrelevant threads, so i will set this question again. How can i copy an existing ecom shop with all settings and items into a new shop ? ...
Magni J. Hansen
19/08/2014 23:17:20
Last post: 20/08/2014 16:18:43
Relative product bidirectional reference?
Hi everyone, Today customer asked me, if I could ease a process of managing related products. For example: I have 3 relation groups (Color Size and Material) Than, users goes to product details, and pressed "Related products" button, he chooses the g ...
Dmitrij Jazel
19/08/2014 16:06:09
Last post: 20/08/2014 09:22:55
Issue with orders being lost
Hi DW, We have a site where we're getting reports that customers are loosing their currents orders while they are filling in their order information. Our sessiontimeout is set to 60minuts, but we're still getting reports of people loosing their carts ...
Martin Nielsen
19/08/2014 16:06:59
Last post: 20/08/2014 09:16:29
Event Subscription Custom Module
Hi Im currently working on a Event Subscription module, but i have encountered some problems and after trying for hours and searching the forum i haven't got it to work properly. 1. Problem In the _edit.aspx i want to have something similar to the Ne ...
Kevin Krämer
08/08/2014 15:35:12
Last post: 18/08/2014 16:02:36
Dibs orderID missmatch?
Hej Guys, Wanted to ask if anyone else had simmilar issue. When I am creating new order - I just continue to payment (Dibs) and using test-mode at the moment. I successfully create an order. than I get the orderconfirmation I send. And in Ecom order  ...
Dmitrij Jazel
18/08/2014 14:48:50
Last post: 18/08/2014 15:50:55
Razor: try-catch in IE
Hi. I've experienced a problem. When I try to execute this piece of code via Razor where 1234 is ID of the defunct page, my IE browser crashes: ​try { var key = "UK"; var value = SearchEngineFriendlyURLs.GetFriendlyUrl(1234); pages.Add(key,value); }  ...
Denys Ubizskyy
15/08/2014 13:29:08
Last post: 18/08/2014 10:28:01