Developer forum

Forum » Development
Subject
Replies
Started by
Last reply
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: 05/07/2021 12:20:57
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
Bug fix needed for image pattern
Dear Dynamicweb, Please see this thread: https://doc.dynamicweb.com/forum/ecommerce-standard-features/include-extension-in-imagepattern?PID=1605, where we urgent need a bug fix. I have looked into the source code and have marked the issue with yellow ...
Anders Ebdrup
17/06/2021 14:20:16
Last post: 21/06/2021 12:27:04
Is link to abandoned cart possible?
Is it possible to load a forgotten cart in a different session using the OrderId and the OrderSecret? I know you can get a completed order using /Default.aspx?ID=11406&CompletedOrderId=ORDER-205113&CompletedOrderSecret=c4dd14388c6f41fea9c8858 ...
Goncalo Faria
04/06/2021 14:39:11
Last post: 04/06/2021 15:41:16
Webapi: Support for country in prices
Dear Dynamicweb, When calling this endpoint: "/dwapi/ecommerce/products/{id}" we can specify the country, but this country is not set in: Common.Context.Country, which means that the prices does not take the country into account when calculating a pr ...
Anders Ebdrup
31/05/2021 16:14:55
Last post: 09/06/2021 09:01:42