Developer forum
Subject
Replies
Started by
Last reply
eCom product list custom group
Hi, We have a solution for an eCommerce shoe shop, using two variants (size + color) At first we were grouping the shoes by "main product" (shoe model) but now the client want to list all available colors. We cannot do this by simply changing the var ...
Nuno Aguiar
14/08/2014 12:44:25
Last post: 26/09/2014 18:39:39
Setting custom unit price
Hi there, I have a notification subscriber for Cart.Line.Increased. Inside the OnNotify method I have the following code: double price = repo.GetPriceFromCudFile(addedSessionId);
item.AllowOverridePrices = true;
item.Price.Currency = increasedArgs.Ca ...
Imar Spaanjaars
19/09/2014 13:52:42
Last post: 24/09/2014 10:51:10
Image impressions - Get Image
Hi, Is there a way to extend the getImage handler? We would like to control the number of impressions of an image. As a workaround we can develop a handler that acts as a gateway to getImage, but would like to avoid that. Best Regards, Nuno ...
Nuno Aguiar
23/09/2014 12:32:00
Last post: 23/09/2014 13:42:55
Notification subscriber AfterCustomOrderChange not firing
Hi there, I have a notification subscriber with the following Subscribe attributes: [Subscribe(eCommerce.Product.AfterSave)]
[Subscribe(eCommerce.ProductList.AfterCustomOrderChange)] When I save a product my subscriber gets called correctly. However, ...
Imar Spaanjaars
17/09/2014 13:06:13
Last post: 22/09/2014 16:12:31
Creating Order programmatically
Hello. I am trying to create an order programatically. The reason for this is the two products that I will be placing in the order are actually dummy products to reference other orders in two other systems. I am first creating a cart and order lines ...
Marco Santos
09/09/2014 18:39:54
Last post: 22/09/2014 07:13:05
Permission API - How to
Hi. I'm having a hard time figuring out the permissions API. Lets say i have created a new user, and would like to give this user backend permissions to an Area. So that, if he logs into Dynamicweb Backend, that is the only area that he will be prese ...
Jonas Mersholm
15/09/2014 15:10:11
Last post: 19/09/2014 13:47:15
12
Subscribe
8.4.1.16 System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'ProductUserDefined'.
8.4.1.16 System.Data.SqlClient.SqlException (0x80131904): Invalid column name 'ProductUserDefined'. This error occurs when i load a catalog with a groupid which has subgroups (containing products).
It only seems to occur when the groupid has no produ ...
Remi Muller
12/09/2014 15:55:36
Last post: 18/09/2014 08:57:45
DW upgrade 8.4.1.2 to 8.5.0.1
Hej guys, Just tryed to upgrade the DW app from 8.4.1.2 to DW 8.5.0.1 Removed all custom code, just upgraded plain application, getting this error message here: http://screencast.com/t/Fb0PpjbwSxU Any suggestions what possibly can cause this? /Dmitri ...
Dmitrij Jazel
16/09/2014 14:24:15
Last post: 16/09/2014 22:00:26
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