Developer forum
Subject
Replies
Started by
Last reply
Wrong ordering of products from index
Hi DW, We see wrong ordering of products on the initial display of products when we have set a custom order, but after the page is reloaded then the sort order is correct. It seems to be caused by this code in ProductService.vb: Friend Function GetBy ...
Anders Ebdrup
03/04/2018 22:56:49
Last post: 11/04/2018 15:26:35
Price.GetDoublePriceFormatted returns price with VAT
Hi Dynamicweb, Price.GetDoublePriceFormatted does not take into account the ecommerce-setting on the website and always seems to add VAT to the price. Is it possible to have have this check added to the method? Best regards, Anders ...
Anders Ebdrup
26/03/2018 10:53:03
Last post: 10/04/2018 08:37:07
DefaultCheckoutHandler clears shipping fee
I've a solution running on 9.4.1 and when the DefaultCheckoutHandler is used to finish the order, the shipping fees are lost after the order is sent to the checkout provider. Check the screencast of it https://www.screencast.com/t/H9tqAK4D2kRz Thanks ...
Rui Silva
16/02/2018 15:44:36
Last post: 06/04/2018 16:43:08
winmd files ?
Hello, We have an external tool that we would like to run on some of our custom code, but it requires that all references be present. However, it seems that I miss a file called "Dynamicweb.winmd". Is it possible to get those winmd files ? They are n ...
Gaëtan Di Caro
04/04/2018 08:55:30
Last post: 04/04/2018 09:06:13
Files and upload path
Hi, I have a site where people have a hard to following structure in the filemanager. I was thinking of somehow hooking in - and if they had placed images in the root folder of somehing where they are not allowed, then move this picture to correct fo ...
Jan Sangill
21/03/2018 11:11:01
Last post: 03/04/2018 14:00:34
Extending the filemanager
Hi, Is it possible to extend the filemanager? Before you had a very nice feature where you could see what a file was used for in the Filemanager. This have been removed. Could one somehow hook into something here, and make this something like this? R ...
Jan Sangill
21/03/2018 10:38:04
Last post: 03/04/2018 13:29:52
Price not set when adding new orderline
Hello! I am trying to add orderlines to an order using 'new OrderService().CreateOrderLine()', but the price is not updating. Even if I use the old deprecated method Order.CreateOrderLine nothing happens. This is my (simplified) code: var order = new ...
Oscar Romin
28/03/2018 14:49:39
Last post: 28/03/2018 15:25:57
'Inline Critical CSS' results in Razor error
Hi, We're developing towords optimizing pageload on all solutions with 'Inline Critical CSS' But we are having problems with the razor engine, which is used in Dynamicweb. We have to include some files in the <head></head> in the master.c ...
Marie Louise Veigert
26/03/2018 09:19:39
Last post: 27/03/2018 15:30:14
Find ItemTypes value for a specific Area
Hi guys, I am making my debut in working with Code First ItemTypes. One of my cases requires that I create an ItemType relation list (Inline) that will add some values in the database. Separately, I need to be able to use those values in another Drop ...
Adrian Ursu
02/03/2018 16:32:59
Last post: 23/03/2018 13:01:34
Ensure unique values in a field on code-first ItemTypes
Hi guys, I was wondering if there is any way of making sure a field of the item type will have unique values when submitted. I have a field that I am using for uniquely identifying a page and it would be very useful to make sure the user cannot fill ...
Adrian Ursu
22/03/2018 15:32:52
Last post: 23/03/2018 09:36:22
ItemPublisher with Product(s) in razor
Hello, I have made an Itemtype consisting of the following field types: product, dropdownlist and file. But I can't get it working in my razor template. The code i'm using is: @using Dynamicweb.Content.Items; @using System.Web; @{ var request = HttpC ...
Harald Brouwers
03/02/2017 09:32:43
Last post: 23/03/2018 08:48:49
CodeFirst ItemTypes use a combination of fields for display
Hi guys, I was wondering if there is a way to use a combination of fields for display in a Checkbox list. I have a checkbox list that is built based on the list of ItemTypes available for an area and from what I understand, I can only choose a field ...
Adrian Ursu
08/03/2018 11:33:04
Last post: 22/03/2018 16:47:40
Products in Orderflow (cart)
I'm building an orderflow where step 1 is choosing your product, step 2 is choosing accessories (dependent on the chosen product) and step 3 is additional information, step 4 is confirmation. What is the best way to achieve this? I found that i need ...
David Alexandersson
21/03/2018 16:43:19
No replies yet
Productlist NotificationSubscriber
Hi, I trying to create a NotificationSubscriber in DW9 to manipulate the productlist before its sent to frontend. I have tried the BeforeRender, BeforeSort and BeforePaging. None of these gives me the whole productcollection. They only give me the cu ...
Aki Ruuskanen
20/03/2018 11:36:08
Last post: 20/03/2018 12:02:10
Validate Stock before order complete
I need to validate the stock amount of the products in the cart using a call to the ERP just before the cart is going to be submitted to the payment provider and has been upgraded to order. The OrderIsPassedToCheckoutHandler notification cannot be th ...
Rui Silva
04/04/2017 15:24:05
Last post: 19/03/2018 11:09:40
Order Field Checkbox - Doesn't uncheck
Imar has been working on a project for Boxx, and one of the requirements is that the user can check whether they're international or not, and whether they want to display the discount on their quotes. We have Order Fields, which are check boxes, and ...
Charles Johnson
15/03/2018 21:50:14
Last post: 16/03/2018 19:00:05
Filter multiple values in one product field in the productlist
Hi Forum The customer wishes to be able to have more values in one product field, while filtering the individual values. Is it possible and can you enter the values in a particular way in the field, so the filter approves them as separate values ...
Jacob Søndergaard
15/03/2018 21:58:05
Last post: 16/03/2018 10:32:15
Order of parameters in configurable add-in with base class
Hi there, I have a configurable add-in with a few parameters that serves as a base class. The parameters have AddInParameterOrder attributes with a value from 1 to 5 I then have a few concrete classes that inherit this base class. I applied AddInPara ...
Imar Spaanjaars
13/03/2018 21:01:07
Last post: 14/03/2018 22:17:20
Issue with product fields
Hello, I'm having an issue with the Ecom:Product:Field.[TagName] in a project we're working on. I checked the documentation for this and tried the following on PromotionProducts.cshtml page: var kampanj= Model.Item.GetBoolean("Ecom:Product:Field.Kamp ...
Bo Leanderson
09/03/2018 09:12:49
Last post: 13/03/2018 13:31:56
Eddit an order in the backoffice
I'm having some issues with edditing an order in the backoffice: 1 - When i try to add a product to an order in the backoffice i get this error message, "Edited orders total price must not be higher than original total price." This also happens when ...
Cátia Torego
12/03/2018 15:27:15
Last post: 13/03/2018 11:57:07