Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Assortments and Default DW ecom navigation
Hej guys, I tryed to set up some assortments here. And I can see that it works great when assorting products, ones restructed are not shown. But in the assortment setup, we do attach Groups. So when the user loggs in he should not have those products ...
Dmitrij Jazel
14/11/2014 11:08:56
Last post: 14/11/2014 15:11:46
EmailSender Send not sending
I'm using the following code to send a mail. No exception is raised, the boolean returns true, but there is no mail log added even though the parameter is added. The email is not sent but does not return any errors. Any ideas? I've tried to output th ...
Jonas Mersholm
14/11/2014 08:58:30
No replies yet
item creator, existing item type and custom code
I have an existing item type created in dw backend. Using the item creator we are adding items in the frontend. What i like to do is before this item in created i want to validate some fields and possibly update fields of this item as well. This cust ...
Remi Muller
11/11/2014 10:00:35
Last post: 12/11/2014 10:04:38
eCommerce permissions
How do i set userpermissions for eCommerce shops and ordergrid from c#? Dynamicweb.eCommerce.UserPermissions.UserPermission takes two strings in its constructor, of which i do not know what to fill in. Any help would be appreciated. Thank you. ...
Jonas Mersholm
11/11/2014 11:34:11
No replies yet
8.5 and DowngradeToCart()
Hi, After we upgraded a solution to 8.5 this method stopped working: order.DowngradeToCart() We get a "Object reference not set to an instance of an object." exception. On my local machine I run 8.4.x against same database and it's working. Is that a ...
Aki Ruuskanen
10/11/2014 13:57:35
No replies yet
Area not persisting correctly
I am creating a new website/area using the Area.Copy method. This is my code: Dynamicweb.Content.Area Ase = Dynamicweb.Content.Area.GetAreaById(areaId); Dynamicweb.Content.Area A = Ase.Copy(Dynamicweb.Content.Area.CopyMode.StructureAndContent, false, ...
Jonas Mersholm
06/11/2014 08:25:28
Last post: 06/11/2014 15:57:32
Product.Clone - No variations?
Is it a bug that the "Product.Clone()" method does not clone product variations? Best regards, Jonas Mersholm ...
Jonas Mersholm
06/11/2014 10:33:15
Last post: 06/11/2014 11:18:39
Custom split test parameter
Hi Dw, Is it possible to extend the split test parameters so I e.g. can test on a custom variable? Right now I have to test which variant combination is performing the best. Best regards, Anders ...
Anders Ebdrup
20/08/2014 22:36:40
Last post: 05/11/2014 17:35:10
Accessing Translation api
Hej Guys, I was wondering if you can access Translations through API, For example: We have a method in extensebility code, and that method must generate a message - that is already in the Translate.xml So in order to not hardcode the message, it woul ...
Dmitrij Jazel
04/11/2014 13:46:15
Last post: 05/11/2014 17:10:13
c# eCom add notification email
Hey there! How would i go about adding a notification-email to a eCom basket from c#? I cant really find any documentation on this topic. Thanks in advance Jonas ...
Jonas Mersholm
05/11/2014 09:30:20
Last post: 05/11/2014 14:49:15
Variantgroup not being added to product
I have a product Dynamicweb.eCommerce.Products.Product product = new Dynamicweb.eCommerce.Products.Product(); product.Name = "Test product"; product.Save(); And a variantgroup Dynamicweb.eCommerce.Variants.VariantGroup newGroup = Dynamicweb.eCommerce ...
Jonas Mersholm
29/10/2014 09:38:58
Last post: 03/11/2014 15:03:29
Create new cart and populate with orderlines
Hello guys, User has no cart asigned, and if he clicks button I want to initiate new cart and add an orderline to it in the code. Last time I did it was a while ago, now we are in DW 8.5 and things surely changed in that part of API. Was surised this ...
Dmitrij Jazel
08/10/2014 00:27:56
Last post: 03/11/2014 11:01:58
Corrupt images
Hi Dw, For large solutions with tons of images it would be nice to have a better handling af corrupt images than displaying an error like this: System.OutOfMemoryException: Out of memory. at System.Drawing.Image.FromFile(String filename, Boolean useE ...
Anders Ebdrup
31/10/2014 21:03:46
Last post: 03/11/2014 10:57:18
Set shippingmethodid on login
Hi guys, I have a soultion with 2 deliverytypes 'Fragtmand' and 'Ab fabrik'. On my Extranet users i have a field where i define which delivery method is available to that person. How would i go about making this feature? I'm thinking that i need to m ...
Martin Nielsen
29/10/2014 13:29:11
Last post: 31/10/2014 13:10:49
ASP.net usercontrol on a subpage question
Hello guys, Was wondering if anyone else had a simmilar issue, When I am trying to add a user control to a page content (and that page is a child to some other pages) that is a subpage. user control works only on pages that are in one way or another  ...
Dmitrij Jazel
03/10/2014 16:37:17
Last post: 31/10/2014 12:41:32
Developing Custom Modules with Razor Templates
Hello guys, We have a LOT of custom modules that implement many complex operations on trasactional sites, in a SOA architectural context. We still use the old html templates and I'm finding some time to start migrating them to Razor templates. I've b ...
Ivo Rodrigues
22/10/2014 13:07:11
Last post: 31/10/2014 12:11:02
Default ecom search only among ProdID and ProdNr
Hello Guys, I am using default prod catalog. With default eCom search "eComQuery=..." And by default it is searching in ProductID, Product name and Product Description... Is there any way I could change it, so that it searches only among ProductIDs,  ...
Dmitrij Jazel
29/10/2014 14:56:14
Last post: 31/10/2014 12:01:42
Template.SetTag/SetTagValue not working with Razor
Hi there. I am extending the OnGlobalTags notification. Here i am setting some template tags pageviewNotificationArgs.Template.SetTag("Dealer.Name", U.Name); I can easily get this value in my template by using <!--@Dealer.Name--> But the razor  ...
Jonas Mersholm
30/10/2014 09:20:54
Last post: 30/10/2014 14:49:58
Storing a product custom field as a tokenized field in Lucene index
Hi! Do you guys know how to specify that a custom field attached to a product to be tokenized when it's indexed in Lucene? I'm making a custom filter and I need to filter the products based on this custom field's value, but not on the whole value, bu ...
Emil Dumitrescu
28/10/2014 16:09:26
Last post: 29/10/2014 00:26:39
Server Error - Invalid object name ...
Hello guys, In regardids to this: http://developer.dynamicweb.com/forum/development/invalid-object-name-ecomproductcategory-app-8-2-1-2.aspx I got a new error now, http://screencast.com/t/eo9TGPfKNva And now just Can't remember how I actually solved  ...
Dmitrij Jazel
24/10/2014 16:47:11
Last post: 27/10/2014 11:59:37