Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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: 06/09/2021 07:29:56
Custom Ribbon Add-In and Permission matrix
Hi guys, Is it possible to add a custom Ribbon Add-in to the list of elements in the Permissions matrix? I mean here: Thank you, Adrian ...
Adrian Ursu
03/09/2021 17:13:37
No replies yet
setting the currency and price of products, based on where the visitor comes from and/or redirecting trafik based on IP
Hi We are building an eCom solution, where the products have different prices in different countries/markets. What we want to achieve, is for visitors to land on the relevant pages, based on where they come from. So If you are visiting the page from  ...
Hans Ravnsfjall
16/08/2021 15:49:06
Last post: 03/09/2021 12:20:13
Include User Custom Field Data in Email Receipt from Forms for Editors
Hi, Looking for some help on how I might include User Field and User Custom Field data values in the email receipt sent when a visitor submits a Forms for Editors form. When the Visitor or User (not logged in to the frontend) fills out and submits th ...
Tim Eddings
31/08/2021 16:12:58
Last post: 31/08/2021 22:11:50
Display alert or error from Notification Subscriber
Hi guys, I am using a notification to control the validation of the EAN field. The notification is Dynamicweb.Ecommerce.Notifications.Ecommerce.Product.BeforeSave. My purpose is to check if the value entered is a valid EAN-13 value and if it's no ...
Adrian Ursu
11/08/2021 09:58:43
Last post: 31/08/2021 15:22:15
Date ProductCategoryFields return different values in code, if a product has been saved.
Hi, We've run into a scenario that seems inconsistent. steps: * Create some products (either backend or via import) * Create a product category with a date or datetime field * access the new productCategoryField using the API - this returns NULL. ...
Jonas Krarup Dam
26/08/2021 10:20:24
No replies yet
Webapi: Country in PriceProvider
Hi, When a PriceProvider is called on a request to GET ​/dwapi​/ecommerce​/carts​/{secret}, Context.Country is always set to United Arab Emirates. Would it be possible to have the country set to the country of the cart/order? We're currently gett ...
Tor Leeberg
23/08/2021 15:15:52
No replies yet
URL provider used multiple times
Hi, We're running into an issue with a custom URL provider. The provider itself is simple, looking for "Country" (2 letter code) and "State" (2 letter code) to add "/us/california" to the URL instead of "&co ...
Nuno Aguiar
18/08/2021 18:44:13
Last post: 19/08/2021 11:29:45
Add no index to pdf files
Hi: I have a website that contains pdf links to products info. This website is indexing the pdf files despite of the restriction being configured in the robots.txt. The SEO consultant has recommended adding a no index in the pdf sources. Searching i  ...
Jose Caudevilla
17/08/2021 10:29:22
Last post: 17/08/2021 11:39:45
Dropdown option label from a value using Items
Hi, I'm struggling to find a way to return the label of a dropdown option using the API. Use case: I have an Item var item = Dynamicweb.Services.Items.GetItem("MyItem", "123"); I get the value of the field x.GetString("My ...
Nuno Aguiar
12/08/2021 17:25:32
Last post: 13/08/2021 13:49:53
Custom price provider
Hello, Our clien wants to create a custom price for products. If width and length changed by calculator, then price should be changed too, but without changing default price. For now we have correct width and length lines in cart. But we stuck with c ...
Andrejs Zavorotnijs
11/08/2021 09:19:04
No replies yet
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: 10/08/2021 11:17:23
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: 04/08/2021 10:55:37
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: 03/08/2021 14:15:24
Missing ImageGlue reference 9.10.11
After upgrading to 9.10.11 with Nuget it seems that the reference to ImageGlue is missing. Comparison before and after upgrade: It looks like Dynamicweb.Admin 9.10.11 is dependent on Dynamicweb.Imaging.Providers.ImageGlueProviders 1.0.7 and this pack ...
Vincent Gercke Pedersen
22/06/2021 10:19:29
Last post: 03/08/2021 12:45: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
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
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
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