Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Term facets
Hi Dynamicweb, I have a problem using term facets as the query eliminates results from the same facet, so if I have "red", "yellow" and "blue" as term facets and selects "red", then "blue" and "yellow" are gone. I think the problem is somehow related ...
Anders Ebdrup
15/06/2017 15:18:39
Last post: 02/10/2017 22:56:59
Pass custom data through orderline, best way
Hi guys, I have a list of orderlines in my shopping basket. When I list them in razor template. I need to have a textfield - that user will use to enter a code - related to each orderline. Simmilarly to product custom fields - I need something simmil ...
Dmitrij Jazel
21/10/2014 17:52:29
Last post: 28/09/2017 09:49:21
Issue with RibbonBarAddIns and a base class
Hi there, I have an integration project that has multiple RibbonBarAddIns to allow users to download XML for an order, resubmit an order to the ERP, download an XML representation of a user and more. In order to get some reusability, I created a base ...
Imar Spaanjaars
27/03/2017 22:55:19
Last post: 25/09/2017 19:44:42
Custom product discount provider
Hi, I am looking for a way to handle product discounts based on custom functionality. I want the discount to be rendered in the productlist, product details and in the cart. When I use standard salesdiscounts and choose product discount, the price ge ...
Mikkel Ulstrup
19/01/2017 13:41:02
Last post: 25/09/2017 10:51:50
Server.Transfer
Hi I have used the Server.Transfer function often in DW8 projects like this: HttpContext.Current.Server.Transfer("/Default.aspx?ID=" + pageId , true); Now in DW9 theres no Default.aspx file so the above line throws an error. Is there a way to make th ...
Martin Jensen
20/09/2017 18:05:00
Last post: 21/09/2017 14:44:06
Change for inactive products in AssortmentNavigationProvider
Hi Dynamicweb, We have an issue with empty groups when using the assortment navigation provider as it does not checks for active products in this query: SELECT DISTINCT(EcomGroupProductRelation.GroupProductRelationGroupID) as GroupID FROM EcomGroupPr ...
Anders Ebdrup
25/08/2017 00:50:44
Last post: 21/09/2017 10:28:44
Filtering on prices with sales-discounts
Hi, I am trying to extend the indexing to include filtering and sorting by price including sales discounts. I know the issue that it cannot be 100 % based on sales discounts such as "Logged in", etc., but I would simply just like the Product.Price.Pr ...
Søren Heide Larsen
14/09/2017 13:34:13
Last post: 20/09/2017 18:15:33
Using the IntegerNumberParameterEditor
Hi there, We have a custom BatchIntegrationScheduledTaskAddin with public integer properties to control some internal stuff. To make these editable we've defined the properties as follows: [AddInParameter("Property 1")] [AddInParameterEditor(typeof(I ...
Imar Spaanjaars
15/02/2017 20:05:45
Last post: 20/09/2017 16:29:25
Viewstate is saved to Globalsettings
Hello dw, When editing values in management center for e.g. this page "Admin/Module/UserManagement_cpl.aspx", then values for "__VIEWSTATE" and "__VIEWSTATEGENERATOR" is added to GlobalSettings.aspx each time. Will it be possible to remove these valu ...
Anders Ebdrup
09/08/2017 10:22:59
Last post: 20/09/2017 15:25:13
Foreign key constraint for deleting an order
Hi DW, I have an issue with deleting an order by the api as we got this error: The DELETE statement conflicted with the REFERENCE constraint "DW_FK_EcomOrderLines_EcomOrders" If I look in the code we have this function: Public Shared Sub Delete(id As ...
Anders Ebdrup
23/08/2017 08:45:15
Last post: 20/09/2017 15:20:51
Traversing through 2 repositories at once
Hi Dynamicweb, I have 2 repositories : Product repository and Group repository. I would like both Products and Categories to be displayed in the search result page. How can it be done so I traverse through 2 repositories at once? Best regards, Aleksa ...
Aleksander Dobkowski
19/09/2017 13:48:18
Last post: 19/09/2017 15:19:50
Cohabit MVC in multiple websites
Hi guys, We have an customer with a lot of custom modules and websites inside a old 8.6.0.4 DW version. Can we use MVC to create a new logic for other websites without compromise the older ones? Which approach do you think that it's the best? BR, Ant ...
António Ramos
29/08/2017 18:04:42
Last post: 18/09/2017 11:50:45
No template tags in ProductTemplateExtender
Im trying to make an product template extender, which is going to manipulate the value of another template tag. public class SalesPriceProductTemplateExtender : ProductTemplateExtender { public override void ExtendTemplate(Dynamicweb.Rendering.Templa ...
Martin Grønbekk Moen
15/09/2017 11:43:59
Last post: 15/09/2017 14:20:03
Indeksering af ÆØÅ
Hi, I am currently having trouble with indexing and doing facet search on colors when I try to filter on "Blå". This is because of å, but how do I get around this? The query looks ok, the value in BeforeQuery notification looks ok, and it matches exa ...
Søren Heide Larsen
14/09/2017 14:53:31
No replies yet
Setting PageView/Context from code
Hi, We're currently trying to use MVC to add/change/remove items from a cart, but we are facing some issues. The price becomes 0 as the DefaultPriceManager cannot find the current price. This is due to that the price is based on ShopId and the ShopId ...
Søren Heide Larsen
11/09/2017 10:53:24
Last post: 14/09/2017 13:22:46
Get page Item type properties from API
Hi Guys, I have a situation where I get a list of PageId's (from an ItemRelationList) and apart from the regular properties of the page, I need to also find valus of the custom properties that are set through the PageProperties ItemType. So far, I ha ...
Adrian Ursu
14/09/2017 01:06:01
Last post: 14/09/2017 12:06:56
Templates for VS 2017
Hi there, I noticed that on this page: http://doc.dynamicweb.com/releases-and-downloads/downloads new Visual Studio templates for DW 9 are available. I downloaded them, but I cannot get them installed on VS 2017 (I have the Pro and Community edition  ...
Imar Spaanjaars
23/05/2017 13:17:20
Last post: 12/09/2017 09:57:50
MVC : duplicate routes
Hello, I'm trying to add an MVC controller to my solution. I've created a folder called a folder called "controller" where I've put my controller, the default class "RouteConfig" which is there when you create a default mvc application, and edited my ...
Gaëtan Di Caro
05/09/2017 07:30:08
Last post: 11/09/2017 10:45:57
Ecommerce before line is added to cart observer
Hello, We would like to check the contents of a cart, before a new product is added. Is there an observer available wich triggers before a product/line is added to an existing cart? We are running DW 9.3.1. Greetings Harald ...
Harald Brouwers
08/09/2017 15:31:42
Last post: 09/09/2017 07:19:46
NavigationProvider: Add child as first childnode?
Hi Dynamciweb, DW version: 9.2.17 I'm using the NavigationProvider to add childnodes to my Navigation XML. It's a megamenu. Ex: I have a group 'Men' with childs like 'Jackets' and 'Pants'. Men Jackets Pants I would like to have a node here: Men All P ...
Marie Louise Veigert
05/09/2017 12:55:07
Last post: 05/09/2017 15:52:20