Developer forum

Forum » Templates
Started by
Last reply
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
Feed with Ecom Catalog
Hi In one of our solution(Solution without Swift and Rapido) we use Ecom Catalog with Product List template for XML feed that work fine before, but after upgrade to 9.14.2 or higher We got this kind of error If I change Content to Application/JSON Or ...
Andrejs Zavorotnijs
11/01/2023 17:06:20
Last post: 24/01/2023 14:03:40
Integration Customer Center override pagesize
Hi, I have an Integration customer center app on an page. I have set the items count to be 10 but can i override it from code anyway with any parameter? I want to have a dropdown list on my page that can change the total count of items to get from in ...
Andreas Pettersson
22/12/2022 12:23:46
Last post: 22/12/2022 15:54:40
YouHaveSeenTheseProducts loop in ViewModel
Hi, I'm converting some old templates to ViewModel templates and I was wondering if it's possible to use the 'YouHaveSeenTheseProducts' products loop in a ViewModel based template. Is this still available somewhere? GetLoop("eCom ...
John Broers
20/12/2022 11:59:26
Last post: 20/12/2022 12:42:23
Prevent download files in Files/Files folder
Hello. I have a customer who has applied some documents for all of their products. They have used an asset category for this. When I use the link to each file in the template it gets forced downloaded by the DWSDownload.aspx service. The customer wis ...
Kasper Legarth
14/12/2022 11:01:00
No replies yet
ProductService gives error
Hi I am trying to get product information on the default variant of a product. My template looks like this @{ string langId=GetString("Ecom:Product.LanguageID"); string productidForVariantSearch=@GetString("Ecom:Product.ID"); stri ...
Hans Ravnsfjall
20/11/2022 14:42:55
Last post: 22/11/2022 14:30:13
Price range filtering
Hi, We need to implement a slider to filter a range of prices. For instance, to show only the products from 100 to 200 EUR. Our client wants a slider by design, not possible to display checkboxes with price ranges (as asked here), neither two text fi ...
Tomas Gomez
09/11/2022 14:53:31
Last post: 17/11/2022 10:09:23
Problem with ProductCategoryFields after DW upgrade
Hi, After upgrading to latest DW (9.14.3) I got problems with ProductCategoryFields. I upgraded from 9.13.11. I get a : SYSTEM.NULLREFERENCEEXCEPTION: OBJECT REFERENCE NOT SET TO AN INSTANCE OF AN OBJECT. AT DYNAMICWEB.ECOMMERCE.PRODUCTS.CATEGORIES.F ...
Aki Ruuskanen
10/11/2022 10:13:00
Last post: 11/11/2022 10:36:40
Certifications expires dates incorrect
Hi, I have start to do some of the certificates for DynamicWeb but the expires dates are incorect in my profile settings: Best regards Johan ...
Johan Lang
03/10/2022 10:47:56
Last post: 04/10/2022 08:48:11
PDF of Partner Certification tests does not look nice
Hi, I have done some of the Partner Certification tests but the PDF does not look nice: ...
Johan Lang
21/09/2022 16:42:00
No replies yet
Loop through data/values from String[] type field from index - what is the right way?
Hi I have an index, where one of the fields (multiple checklist) is stored as a string Array - string[] When outputting it in a Query Publisher, i see that the field type is string[], but i am not able to get any values from it. I have tried looping  ...
Hans Ravnsfjall
19/09/2022 13:54:41
Last post: 19/09/2022 14:40:46
Different page template for page when sending through email marketing
Hi Proably asked and answered before, but can´t find the info. Is it possible to apply a different page template (email) to a page when sending it as an email through email marketing? I don´t want to duplicate content on the solution, so  ...
Hans Ravnsfjall
31/05/2022 16:22:37
Last post: 12/08/2022 12:33:53
Static URL after contact form submit
Hello Dynamic-Web Friends, we want to track with Google Analytics our /thank-you sites webshop We have the issue, that the URL always changes (some dynamic URL with pid=??). The function on the "Exact URL for this page" do ...
Sebastian Foelske
28/07/2022 09:53:09
Last post: 28/07/2022 12:53:28
Accept selected cookies in Swift
Hi, I need to know the command to the DW plattform to accept selected cookies in Swift because our customer uses another service for cookie management. I have set up Swift default solution and use the template Cookies.cshtml. The javascript functions ...
Johan Lang
08/06/2022 12:32:30
Last post: 27/07/2022 16:36:54
Display custom fields on users / dealers
Hi I'm working on a project for a customer who need's Custom fields to display on the standard swift find dealer. I'm struggling to output any information from custom fields on the users. The code i have been playing around with are: @for ...
Pål Messenlien
19/07/2022 12:31:02
Last post: 21/07/2022 16:28:18
Integration Customer Center Paging
Hi, I'm using the Integration Customer Center module to list orders and I'm having an issue with paging. I have it set to get 10 orders for each page and in the first page all works fine, the template tags that have all the paging information ...
Cátia Torego
20/05/2022 16:34:28
Last post: 03/06/2022 12:58:46
How to get CategoryFields in different langauges
Hi Community, Working on a solution with Danish and English as languages (Rapido 3.4.3 and DW 9.9.4). We're having some issues with the standard Rapido generate PDF function at the productpage. When a user selects to download a product PDF with D ...
Søren Jakobsen
04/04/2022 14:25:45
No replies yet
Custom logic based on referral
Hi guys, I need to implement some custom logic based on the referral site. Is there any way I can access the referral information in the template? API, tag, whatever? Thank you, Adrian ...
Adrian Ursu
04/04/2022 09:39:43
Last post: 04/04/2022 11:04:49
Cartcmd=Addmulti javacript function only adds variants for the first product
DW 9.8.11 I'm implementing an addmulti javascript function which is working fine, except it only adds variants to the first product added every time to the cart. I'm using this example from Jeppe: ...
Martin Gammelholm
09/02/2022 12:57:08
Last post: 02/03/2022 12:56:28
Convert image to Base64 in a template
Hi I am trying to convert images to base64 as part of data we deliver from one of our solutions, but I get an access denied error System.UnauthorizedAccessException: Access to the path 'E:\\Application(9.10.7)' is denied ...
Hans Ravnsfjall
21/02/2022 16:29:14
Last post: 22/02/2022 09:31:44