Developer forum

Forum » Templates
Subject
Replies
Started by
Last reply
Multiple Product Lists, Navigation Tag, Breadcrumbs and URL
Hello. We are developing a site, where we wish to align the urls / breadcrumbs with the path to the product we are clicking from the product list. e.g http://site/webshop/toys/ (product list with groupid param set to toys group) http://site/webshop/t ...
Stephen Jackson
21/09/2023 10:37:43
Last post: 21/09/2023 22:44:26
Enumerating Product Fields / Product Category Fields from an item_type dropdown list
Hello. I am trying to develop a generic item type for displaying a product or product category field. I have defined an item type with a "Product Field" (Drop down) and Style field (Text), and created the follow SQL Query as the source for  ...
Stephen Jackson
18/09/2023 10:48:06
Last post: 21/09/2023 10:26:16
Adding new partials to components
Hello I am trying to make a new reusable component to display product information, and one of the features I want to add is a custom field for the products we wish to show. I therefore want to add a new partial to the list of available product partia ...
Stephen Jackson
11/09/2023 10:56:36
Last post: 18/09/2023 11:02:14
RenderItemList check if results exist from the paragraph template
Developing a custom Swift_ArticleList template I noticed a problem that will come up again and again in the future. The architecture is that the paragraph template is building the container for the paragraph, this could be a slider for example. It th ...
Igor Ivanov
07/09/2023 14:58:49
Last post: 07/09/2023 15:22:24
Firefox browser cache issue
Hi there! I have a problem when using the Firefox browser. If I make a change to a file, for example a template that renders a component, the browser does not notice the change after saving the change. Only after clearing the cache memory of the brow ...
Mario Kožić
24/08/2023 08:59:58
Last post: 24/08/2023 16:54:37
Did you mean? - Limit to results that are valid based on query
Hey We are using the QueryResult.SpellCheck in a query search, but it is given a long range of suggestions that have no results, as the results shown are being limited by the queries. Is there a way to change so the SpellCheck is made on the index af ...
Claus Kølbæk
31/07/2023 11:25:01
Last post: 08/08/2023 14:07:18
Go to the next step at checkout
Hi, Our client wants a custom checkout so we modified a checkout template, but the "Next step" button is not working. It sends the form and refresh the page but the same step appears again. In the shopping cart settings, we unchecked the &q ...
Tomas Gomez
27/07/2023 16:03:14
Last post: 31/07/2023 13:28:57
Setting variable in Page template and Getting variable in Paragraph template
Hi, I've been trying to set a value in a Page template and then access the value in a Paragraph template. I am setting the value as such: Dynamicweb.Context.Current.Items.Add("MyValue", MyListVariable); I tried with a simple string valu ...
Nuno Aguiar
30/06/2023 09:36:41
Last post: 30/06/2023 10:14:52
System.OutOfMemoryException was thrown.
Hi, We get this kind of error in a solution. I cant figure out the cause of it. I see that there is a call to a RenderImagePatternItem. We are not using image patterns in the solution. Any suggestions? 2023-06-10 10:41:18.5552|ERROR|eCom/Frontend/Err ...
Aki Ruuskanen
12/06/2023 10:12:00
No replies yet
Set order state by code
Hi, Is it possible to set order state by code? Have tried to do it in the same way you can set order context <input type="hidden" name="OrderContext" value="ORDERCONTEXT1"> <input type="hidden" name=&q ...
Alexander Tømmerholen
05/06/2023 12:32:52
Last post: 06/06/2023 15:39:49
Remove user in the frontend
Hi, We need a link "Remove account" at the frontend so that a logged user can remove his account of the website. It is a legal requisite in the country of the website. In the API there is a User.Delete() function but I'm unsure of its i ...
Tomas Gomez
12/05/2023 12:55:38
Last post: 01/06/2023 13:54:41
Load more products in Products page
Hi, In the Products page, we detected that the button "Load more products" doesn't work as expected. For instance,when the settings of the Product Catalogue App are 9 products per page the page is loaded with 9 products. After clicking  ...
Tomas Gomez
29/05/2023 13:15:29
Last post: 01/06/2023 13:41:30
Visibility of navigation buttons in Shopping cart app
Hi, We use InformationUser.cshtml as the template of one of the steps of the Shopping cart app. The version is DW 9.15.3 and Swift 1.16.0. In that template, the visibility of the navigation buttons depends on the non-emptyness condition of some field ...
Tomas Gomez
11/04/2023 11:54:01
Last post: 31/05/2023 19:36:12
Dibs/Nets Easy check with parameter merchantHandlesConsumerData: true
Hi community, I'm trying to add a merchantHandlesConsumerData: true parameter to the post template EmbededDibs.html to avoid the "Adresse & Betalings" section on the Dibs/Nets paymentpage. According to Nets support the parameter sho ...
Søren Jakobsen
10/05/2023 15:10:36
Last post: 16/05/2023 08:42:51
Custom font for mails
Hi, We need to use a custom font for the mails. The font is stored at a local file in the solution. We tried to include it in the DefaultMail.cshtml template wiithout successs: - Using font-face <style type="text/css"> @@font-face { f ...
Tomas Gomez
31/03/2023 12:39:47
Last post: 05/04/2023 12:17:53
Getting GoogleAnalyticsTrackingID on templates
Hi, I am working in an old Swift 1.6.1 to implement some GA4 events. A Swift update is desirable but not feasible right now. I get the GoogleAnalyticsTrackingID on the Swift_master template by using Model.Area.Item.GetString("GoogleAnalyticsTrac ...
Tomas Gomez
17/02/2023 16:16:33
Last post: 08/03/2023 14:44:17
Submitting comment form gets IP ban
Hi, I have a form to add comments on the product detail page and if the antispam functionality is active in the backoffice (Image1) my IP gets baned and the following shows up in the banned file: Form BAN: Bad form (Session field FormCH1_h not update ...
Cátia Torego
23/02/2023 11:57:28
Last post: 01/03/2023 09:57:58
Error after activate comment from email
Hi, When trying to activate, deactivate or delete a comment form the notification email I get redirected to a page with the error on Image1. The activate and deactivate still work even with the error. This are the urls I have for each action: Comment ...
Cátia Torego
24/02/2023 10:31:56
Last post: 27/02/2023 01:46:52
Getting Index facets async
Hello. Our customer has a product page with a lot of facets. Some of the facets have a lot of options. The customer do not want to cut down on the facet, but still want better performance. Right now the page loads in everything from 2.5 - 5 seconds.  ...
Kasper Legarth
10/02/2023 09:27:30
Last post: 13/02/2023 11:21:46
My orders (integration) templates
Hi Solution version 9.14.7 BC S2S authentication My orders (integration) doesn't show orders /Files/Templates/Designs/Swift/eCom/IntegrationCustomerCenter/OrderList.cshtml If requesting data with Test tool Where can be a problem? Another thing wh ...
Andrejs Zavorotnijs
26/01/2023 10:40:06
No replies yet