Developer forum

Forum » Development
Started by
Last reply
Merge products
Hi guys, in a project I am working on, I have a special need to merge 2 products. To put it in context, I have a product that is defined by sync with ERP. The product is defined with a few properties and we have implemented a few validations in order ...
Adrian Ursu
28/07/2021 11:39:21
Last post: 30/07/2021 11:53:38
Clear cache for all orders
Hi, The method Dynamicweb.Ecommerce.Services.Orders.ClearCache() clears cache based on the alternative key caches (AutoId and Secret). This helps if we get orders by AutoId, but not if we get them by OrderId, which is the most common for us. How can  ...
Mario Santos
12/07/2021 11:20:03
Last post: 29/07/2021 18:44:34
Setting Primary Group
Hi Does anyone know if it's possible to set the primary group on a product from code, without having to do it directly in database with SQL scripts. I have looked at ProductService and can see it is possible to get the ID of the primary group, bu ...
Chris Søgaard
22/07/2021 10:22:09
Last post: 22/07/2021 13:25:58
Error Comment.GetComments module
Hi i am getting errors on Comments.GetComments Module. Did I miss anything, I am trying to bring these comments to the mobile app using API. product comments added from backend using real customer email address ...
Shiwanka Chathuranga
15/07/2021 11:21:29
Last post: 19/07/2021 11:17:59
PaymentFee Provider
I need to calculate PaymentFee (free paymentfee for some products). Where do I find a PaymentFee provider like the FeeProvider (only for ShippingFee) ? ...
Jesper Splidsboel
30/03/2021 16:41:09
Last post: 19/07/2021 09:57:10
Delivery information missing
Hello again! I am debugging yet another strange issue in one of our solutions. We are using DW 9.10.11 and this issue has been existing for quite some time now, even in 9.9.8. I have put up some logging to help me debug this, since the issue is that  ...
Unnsteinn Garðarsson
16/07/2021 13:04:31
Last post: 16/07/2021 14:56:02
New discount type with DiscountExtender
Hey, I have a customer that wants custom discounts - specifically, thet want "buy 60 get 10" where both the "buy" amount and the "discount" amount is configurable. As far as I can tell, DiscountExtenders can only be used to determine if a discount ap ...
Jonas Krarup Dam
15/04/2021 13:11:35
Last post: 16/07/2021 10:36:55
Custom FieldTypes for Groups?
Hi guys, Is there support for CustomFieldTypes for group fields? The code does not seem to support custom field types for Groups in DW 9.9 but I am not sure if this is the case also for DW 9.10. If they are not supported yet, are there any plans to s ...
Adrian Ursu
13/07/2021 16:44:10
No replies yet
Parameters for FieldTypeProvider
Hi guys, We have been playing with FieldType providers lately and there is something I could not figure out. The FieldTypeProvider supports parameters that will apply to the FieldType, and that's very useful. I was wondering if there is any chanc ...
Adrian Ursu
13/07/2021 15:26:59
No replies yet
ProcessOrder in custom shipping provider not working
Hello! I am debugging a strange issue that is caused by the fact that the order.shippingProviderValues dictionary is not initialized correctly in my shipping provider in some cases on our production environment. - I cannot reproduce this bug on my de ...
Unnsteinn Garðarsson
12/07/2021 17:21:29
Last post: 13/07/2021 15:25:17
Missing tags in Customer Center viewmodel lists
Dear Dynamicweb, We have started implementing the viewmodel order lists and we are missing some tags: Ecom:CustomerCenter.Quotes.AddToCart Ecom:Order:OrderLine.ProductNumber Ecom:Order.Completed Ecom:Order.Modified Ecom:Order.IntegrationID Ecom:Order ...
Anders Ebdrup
12/07/2021 17:04:00
No replies yet
Force display of Field Display group on products
Hi guys, I have a situation where I need a workaround for handling display of FieldDisplayGroups on a product. My intention is to store some field displaygroups at Product level (in a custom field) and I would like to force the display of those Field ...
Adrian Ursu
04/07/2021 10:41:31
Last post: 12/07/2021 11:12:08
Prioritize first word of a search
Hi, Our client wants to prioritize the first word of a search when a user looks for several words. For instance, to prioritize the results containing "microwave" when looking for "microwave small". NOTE: It has more sense in Spani ...
Tomas Gomez
07/07/2021 13:01:28
Last post: 12/07/2021 10:47:28
Creating Pages and Paragraph with the API
Hi. I have a business case, where we must create pages based on external events. I then must create a page with some standard paragraph using code and the Dynamicweb API. I have gotten some way with this code. internal static bool CreateEventPage() { ...
Daniel Hollmann
08/07/2021 16:21:56
Last post: 09/07/2021 14:42:31
Adding FieldOptions with API
Hi, I'm trying to locate how to add field options to the EcomFieldOption table with API. Is there a service somehwere in the API for doing this? Regards / Aki ...
Aki Ruuskanen
08/07/2021 10:44:41
Last post: 08/07/2021 10:49:27
VariantInfo Prices
Hi, When I GET /dwapi/ecommerce/products/{productId} with "Price" included in VariantInfoSettings.FilledProperties I get the following error: "InnerException": { "Message": "An error has occurred.", "Excep ...
Tor Leeberg
07/07/2021 13:38:08
Last post: 07/07/2021 14:53:06
Get Users from API
Dear Dynamicweb, What is best practise for getting specific users from the api when the methods GetUsersBySql and and GetUsers(CommandBuilder) are obsolete? Best regards, Anders ...
Anders Ebdrup
07/07/2021 10:51:00
Last post: 07/07/2021 12:25:25
Get Paragraph Content
Hi, I am trying to get the content of a paragraph in the homepage of my website using the DynamicWeb.Content class. I am trying to get this information in a Razor template so that I can display the content of a paragraph on the homepage on other page ...
Yasharth Tahiliani
16/06/2015 12:55:44
Last post: 07/07/2021 00:58:45
ProductViewModel how to get Images that are not based on Pattern (EcomDetails)
Hi guys, I am trying to adjust a template to use ProductViewModel. I have checked the properties and I could find ImagePatternImages but I could not find a property listing the images that are assigned manually. How do I get a hold of those images? S ...
Adrian Ursu
06/07/2021 10:39:05
Last post: 06/07/2021 14:06:56
Custom Output Replacer - how?
I've been looking into how I can create an Email Address obfuscator, but I can't really find any notification subscriber that provides a decent way of returning my modified content. Is this even possible? ...
Kevin Steffer
06/07/2021 07:59:22
Last post: 06/07/2021 12:26:30