Vertext Address Validation
I have a Vertex Address Validation configured. On the first step of the cart i am getting the AddressValidators loop, sometimes the loop has values and some times it doesn't (the address used is always the same address with errors). Shouln't the loop ...
No replies yet
Linking to an item based page, that I only have the itemid on (don´t have the pageid)
Hi This is sort of related to this matter https://doc.dynamicweb.com/forum/development/development/how-to-get-value-from-paragraph-item-field What I want to do, is to be able to link to an itembased page, that i only have the item id on. It is relate ...
Hi, The documentation page (here) gives the path "Templates/eCom/Product" for the template to add user comments to the products. That template doesn't work, as it doesn't send the comments to the database. Nevertheless, at "Templates\Comments" there ...
Create order as PDF and attach it to email notification
Hi guys We would like to know, if there is a simple way to generate a PDF file of an order, and send it to the order notification recipient? E.g. if the user makes an order, then the solution should send an email with the order attached. We could sim ...
Hi, I have a solution where the customer want's to be able to choose among several header templates. They have a developer who creates some of the templates that they wan't to be able to choose among. And they would like to keep it in simple files th ...
Cookie level in razor/cshtml ?
I need to put some script into an if-sentence on a razor masterpage ("if cookie level option = all") But I can't make it work as cshtml. I hope some of you will make a copy of the code snippet and put it here - thanks in advance!! /LTP ...
Lise T. Pedersen
Attach all files from a folder to an email sent from forms for editor email
Hi Is it possible - in a razor template - to attach all files from a certain folder to an email sent from Forms for editor module? I am wondering, could this be a solution to add something like this to the forms mail template? mail.Attachments.Add(ne ...
How do I get primary domains for all areas?
See subject. I've tried simply using Dynamicweb.Content.Area.GetAreas(), but the areas that are returned only have a "domain" property, which appears to have all domains for the area, in one string (which doesn't seem too useful). /Jonas ...
Jonas Krarup Dam
Customers who bought this also bought not returning any products
I'm using the "Customers who bought this also bought" loop in the product page (eCom:Related.CustomersWhoBoughtThisItemAlsoBought) but i'm not getting any products. I made several orders, shouldn't it have some products? DW version 9.5.7 ...
Email messaging Tags for Razor code
HI i Need to create a fully customized Email template for Back to Stock and when i try to get either EmailMessaging:Recipient.Id or EmailMessaging:Recipient.Key only available in placeholder tags. any idea to get that fileds value into my code block? ...
Navigation with razor - example and documentation
I'm looking for some documentaion and an example of how to create a navigation with razor, instead of xslt? Been looking on GitHub, but could not find any examples of how to create a navation with razor, with some documentaion on how to do it. Is thi ...
Conceal input field in mail
I'm creating a form with forms for editors and a custom template and I want to conceal or hide a part of the userinput in the email receipt. Say I'm letting the user enter a phone number, and only want the first 6 numbers shown in a mail like this: 1 ...
Is there a way to detect last active paragraph on a page?
How to save selected variants on BOMProducts?
I have as an example a suit, which consists of a shirt, pants and a jacket. On all three items you must select a size (from XS to XL). I've tried creating a hidden field for every item (VariantID1, VariantID2, VariantID3) and writing the value to tha ...
Create remaining iterations in loop
Hi guys I got a loop where i want to create placeholder images if the loop is not dividable by 3 (see itempublisher.png). I'm keeping track of the iterations with a integer and incrementing it, in each iteration. Any ideas for the maths and logics on ...
Is there a (better) way to include pages - with their respective templates - in another template
What I have so far, is: @Dynamicweb.Frontend.PageView.GetPageviewByPageID(36).Output() But there are potential issues with this. Eg. if the pageid doesn´t exist, it seems the system crashes totally. Also, if i set the content type of the included pag ...
Hey DW. We are having some problems accessing values from the cart feed on a custom checkout page. We are using Rapido 2.0 and DW version 9.5.6. We want to access values from the cart feed in a context where we currently are using C#. We have tried j ...
Mikkel Hornbech Nielsen
No replies yet
Identify page for css change
On my front page, I have a h2 on a hero image. Right now, it's font size is 20 px, which I want for H2 in texts. However, on the front page, on the hero image, I want the h2 to be huge. I know I can write my own css, but I cannot find a way to identi ...
Separate content and presentation, wcag.
I tested the "form for editors" module, ref https://egwbp-sivha.azurewebsites.net/Default.aspx?ID=4 When displaying the source code of the newly published form, I see that it is wrapped in tables. In the universal design guidelines, one requirement i ...
Design configuration - how to
I found a work-around for the error in my site, so now I'm configuring colors etc. However, I am not able to set transparency in a background color. For example, I would like my hero image on the front page to cover the entire screen and to have the ...