Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
Get all products from service regardless of GlobalSettings
Hi DW Is there any way to get all products in the database using the product service from Dynamicweb.Ecommerce DLL. I have checked it and it seems that all versions of GetAllProducts will in the end reach a method in the repository that would filter  ...
Chris Søgaard
09/09/2021 17:26:56
Last post: 10/09/2021 09:48:24
Get current Query parameters and default values in Code Provider
Hi, I am building a code provider and I need to check what a specific parameter (default) value is set for. How can I do that? Here's some pseudo codeof what I'm trying to achieve public override string BuildCodeString() { if (string.IsNullOr ...
Nuno Aguiar
31/08/2021 19:24:09
Last post: 10/09/2021 14:57:10
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
Identify level of group in notification
Hi guys, I have to build some logic based on a notification when saving a ProductGroup. I am using Dynamicweb.Ecommerce.Notifications.Ecommerce.Group.AfterSave The problem I have is that I need to do different things depending on the Level of the Gro ...
Adrian Ursu
24/08/2021 12:48:08
Last post: 22/09/2021 09:03:59
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
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
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
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
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
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: 28/11/2022 17:41:03
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
Last post: 30/09/2021 17:57:29
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: 09/09/2021 14:54:53
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
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
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
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
Complete order by code gets invalid state error
Hi: I am trying to get the orders complete using c# code. The reason is that the TPV that we use sometimes does not redirect to our website. So what i do is receive the transaction log of the TPV and complete the order by code with the log informatio ...
Jose Caudevilla
29/06/2021 11:40:42
Last post: 03/12/2024 14:38:02
How to implement a ProductFieldTypeProvider
Hi, I'm trying to implement a ProductFieldTypeProvider with a UserGroupParameterEditor. But cannot find any documentation about how to do it. I have a class that inherits from ProductFIeldTypeProvider but when i add that in the "Field types" I get th ...
Aki Ruuskanen
23/06/2021 12:47:57
Last post: 28/06/2021 08:11:37