Developer forum

Forum » Swift
Started by
Last reply
Stock details from the correct stock location
I have an issue with getting the correct stock listed on product list and page. Its setup the same way as product prices, where i do get the customer specific price (using customer number as key). But for stock it seems to just take the first availab ...
Anders Thoresen
21/02/2023 11:55:50
Last post: 10/05/2023 10:24:27
Swift filtering vs Rapido filtering
Hi guys, I am upgrading a project from Rapido to Sowft. And I am trying to use the same Index, Query, and Facets. Everything works fine in the listing, but the filtering (Facets) is behaving differently. Rapido URL with filtering: https://www.allmedi ...
Adrian Ursu
08/05/2023 10:20:24
Last post: 08/05/2023 18:12:35
Cart bug
Input and stock are strings. When increasing the amount in the cart your function is comparing string values. You should convert to floats, something like this: var UpdateQuantity = debounce(function (input, stock) { i = parseFloat(input.value); s =  ...
Peter Leleulya
13/04/2023 11:57:33
Last post: 08/05/2023 10:25:38
Add Product to Favorites button not updating after add/remove product
Hi, Testing on DW 9.15.3, Swift v1.19.0 Our test environment - The Add to favorites button is not updating after we add or remove the product to a favorites list. Here is a video describing the issue. https://www ...
Pedro Meias
18/04/2023 03:23:37
Last post: 08/05/2023 09:52:08
Hide sign in when logged in
Hello, On a solution using Swift 1.6.1 I`m not able to hide the menu element sign in when logged in. I have tried using permissions but that does not work. What I want to hide when logged in: Permissions settings: Are there any settings I`m missing? ...
Alexander Tømmerholen
22/03/2022 11:02:15
Last post: 03/05/2023 13:00:25
Issues with rendering Productdetailpage after DW and swift upgrade
Hello, i have a client where i have upgraded their dw solution from a 9.14.4. to a 9.15.4 and the swift version from 1.8 to a 1.19. after the upgrade, the productdetailpage started returning a 404 unless it is specifically defined on the product grou ...
Alexander Olsen
03/05/2023 09:39:53
Last post: 03/05/2023 10:24:08
How do I use system emails in Swift?
Hi, A quick Swift question – How do I use the email layout in the system email page below? I can’t find anything about it in the documentation. Swift version 1.19 Dynamicweb version 9.15.2 Kind regards Roald ...
Roald Haahr
17/03/2023 08:56:08
Last post: 03/05/2023 09:04:31
Swift and BOM products
Hi guys, I see that BOM products are not yet supported in Swift. Until this comes to a Swift version, what would be the best approach for listing BOM parts on ProductDetail page? Thank you, Adrian ...
Adrian Ursu
17/08/2022 21:02:56
Last post: 02/05/2023 16:15:53
Maintain current page on log in
Hi there, How do I keep the user on the same page after logging in? For example, when on a product detail page I click log in, I want to show the same PDP again, but then as the authenticated user. I can see in Swift that the Login.cshtml template ha ...
Imar Spaanjaars
10/11/2022 21:44:55
Last post: 26/04/2023 10:51:32
Inactive products in spellcheckersuggestion
Hi, My customer have noticed, that when searching for 4010 in the generic search box in Swift, they get 40103 as a suggestion, even though the product with this specific number is inactive. It doesn't show op in the exact product search below, bu ...
Kurt Moskjær Andersen
24/04/2023 13:48:18
Last post: 24/04/2023 14:02:50
Modify/extending swift: Best practise?
Hello. We are starting on our first swift projekt. The goal is to use swift without modifications, but it is not possible 100%. What are the best practises for minior adjustments? Examples of adjustments could be: General Change some the value of som ...
Kasper Legarth
21/04/2023 13:16:15
Last post: 24/04/2023 12:55:28
Recurring orders in swift
Hey, is there anyone who implemented recurring orders in Swift ? I want to change the Customer Experience Center App to show the fields of the recurring orders ( startdate, enddate, "cancel subscription" link, etc) but I don't know how  ...
Alexandru Aliu
21/04/2023 13:13:18
Last post: 21/04/2023 21:56:51
Build error on htmx.js
Hi there, Without changes to our build we suddently get build errors from NPM on the library htmx: [3] ./node_modules/ 424 bytes {2} [built] [failed] [1 error] ERROR in ./node_modules/ 1596:21 Module  ...
Imar Spaanjaars
13/04/2023 13:49:18
Last post: 21/04/2023 12:13:37
GTM is blocked by DW's CookieManager
Hi, In the three master templates in Swift, there is a variable by the name allowTracking which determines whether GTM will be loaded based on the CookieManager. As I understand it GTM should be loaded when cookies are denied, so can this be changed? ...
Roald Haahr
20/04/2023 14:58:45
Last post: 21/04/2023 11:19:38
Swift and Don't Repeat Yourself (DRY)
Hi there, I have a site that uses assortments. With the assortment, some products are not available to users that are logged in, but they are available for anymous users. When a logged in user looks at one of those products (for example, from a Text  ...
Imar Spaanjaars
17/04/2023 19:14:04
Last post: 20/04/2023 19:50:48
Swift, article tag filter
Hi :) DW 9.15.3 Swift 1.20 How can I set up the filter so that it shows me the articles that match all my selections? If I select "Low Carb" and "Chicken", it shows me all with "Low Carb" and all with "Chicken" ...
Suzi Louring
17/04/2023 15:46:39
No replies yet
You have two or more xml-files which contains items with same system name. The names of these files: ItemType_Swift_ProductCatalogDetailApp.xml, ItemType_Swift_ProductCatalogDetailsApp.xml
In\Files\System\Items there are 2 xml files with the same system name. They are causing errors. ItemType_Swift_ProductCatalogDetailApp.xml ItemType_Swift_ProductCatalogDetailsApp.xml They both have the system name ItemType_Swi ...
Peter Leleulya
17/04/2023 11:15:39
Last post: 17/04/2023 13:46:26
Request - remove "CSS Class Name" field from Ecommerce Bages Page and Themes Page.
I observed that there is a "CSS Class Name" being available in both Ecommerce Bages Page and Themes Page. May I know is it possible to use ParagraphID to become the CSS Class name and remove this feature from Customer? the reason being, cus ...
Tan Pang Lin
14/04/2023 04:23:16
Last post: 14/04/2023 10:06:43
Swift Installation Error
Hey, I am trying to install swift on a brand new dw 9.15.4 solution with no custom setup so far. The swift version i am trying to install is swift 1.19, but so far i am getting the error attached as a picture every time i try to view the frontend. I  ...
Alexander Olsen
11/04/2023 07:48:11
Last post: 13/04/2023 10:44:53
Swift update issues
For an existing project I updated my DW Admin from 9.14.0 to 9.15.4. I ran the Application, opened the CMS and reran the updates (entered 2000 in both fields and pushed rerun). Then I have overwritten the Swift files folder with the V1.20.0 version a ...
Peter Leleulya
12/04/2023 15:40:58
Last post: 12/04/2023 15:44:49