Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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
VatRegNumber property in razor
How come AccessUserVatRegNumber property on an AccessUser isn't available unless its through Ecom:Order? I need to pre-fill an input with the current users vat number var CurrentUser = new Dynamicweb.Frontend.Extranet(); <input value="@CurrentUser ...
Kasper Skov
14/08/2014 15:07:50
No replies yet
Set value in a orderlinefield in EcomCartLineAddedObserver
Hi guys. I have made some code in a observer (Dynamicweb.Extensibility.Subscribe(Dynamicweb.Notifications.eCommerce.Cart.Line.Added) I have succefully added a product to the cart, but i need to set a tag / value so the frontend can render information ...
Mikkel Høst
13/08/2014 17:36:46
Last post: 14/08/2014 11:32:19
Error when importing
Hi guys, I'm getting the following error while importing products using the API: 8472700 caused error:Collection was modified; enumeration operation may not execute. at System.Collections.Hashtable.HashtableEnumerator.MoveNext() at Dynamicweb.eCommer ...
Lars Sørensen
28/05/2014 00:23:36
Last post: 12/08/2014 09:44:50
How to use Actitivity in Data Integration
Hello, I created a Data Integration Activity class in Visual Studio using the templates downloaded for v8. I have build a .dll with this (along some other customizations) - and have copied it to the bin folder of the website. Unfortunately I cannot f ...
Martin René Plett Pedersen
16/05/2012 12:43:06
Last post: 11/08/2014 14:55:30
Ecom based navigation items not in rootNode?
Hi, when I look in NavigationProvider -> ProcessTree and the rootNode object, I don't see any items from my Ecom based navigation? but only the items from the page based structure in dw. Does anyone knows why? My goal is to alter the ecom groups p ...
Kim Søjborg Pedersen
01/08/2014 12:16:56
Last post: 08/08/2014 16:18:32
Only cart v2 uses this log system.
Hello. I am logging events in a Checkout Handler, and when I try to look at the messages for the cases when there are errors it showns none, it only shows a message that says "There are no entries. Only cart v2 uses this log system.". The messages do ...
Marco Santos
17/07/2014 19:41:51
Last post: 08/08/2014 15:37:29
Shopping cart becomes empty after new user created
Hello DW guys, After you create new user - Shopping cart becomes empty. Is there any way to persist the content of the shopping cart to that new user? User gets logged in right after creation, and his cart is empty. Any suggestions? Dmitrij ...
Dmitrij Jazel
06/08/2014 14:47:54
Last post: 07/08/2014 10:11:45