Developer forum
Subject
Replies
Started by
Last reply
Using Discounts module: Add tax to certain products over a given price
Hi,
We have a customer that runs an art gallery. They have to add a tax of 5% to single paintings that exceed kr. 2000 in price, but not to say, books. So the shopping basket may look like this
Painting A - kr 2500 (fee must be added)
Painting B - kr ...
David Matheson
01/06/2011 13:03:10
Last post: 01/06/2011 13:14:15
Add Orderlinefieldvalue code behind
Hi I'm trying to add a value to the orderline code behind. The option is added in the CMS and I can see it in the EcomOrderlineFields table. myOrderLine.OrderLineFieldValues.Count is 0, so I can't loop through the values and set the value.
When I try ...
Martijn Bokhove
01/06/2011 11:21:08
Last post: 01/06/2011 12:08:48
prices - product units - challenge!
Hi Everyone :-) I'd like to get som ideas on how to solve this - can it be done with dw-standards or shall we develop a custom function for this...? The question is how to handle discounts that differentiate both on which [type of product] and [quant ...
Rasmus Thirslund
31/05/2011 22:33:46
Last post: 01/06/2011 00:27:54
Removing Calendar CSS and JS files
Hi there, When I use the Management Module with a custom field of type Date / DateTime, I end up with the following links in my source file: <link rel="stylesheet" type="text/css" href="/Admin/Public/DateSelector/calendar- ...
Imar Spaanjaars
27/05/2011 15:32:50
Last post: 28/05/2011 15:34:10
Extending products in the backend
Hi DW, I need to be able to run some code when a user creates/changes a product in the backend. I've looked at my options it looks grim. There's no subscriber for ProductOnSave, and the ribbon extender doesn't allow to target the Product page. (Seems ...
Martin Nielsen
27/05/2011 11:05:25
Last post: 27/05/2011 11:40:25
Paragraph module settings page not visible
Hi,
I have made a paragraph module settings page (MyModule_Edit.aspx) for my module. On this page I have added the Dynamicweb fckeditor user control (). Normally the paragraph module settings page will show up right after the module is attached to a ...
Lars Larsen
26/05/2011 14:58:15
Last post: 30/05/2011 06:46:10
User.save() Thread beeing aborting
Hi I am running version 19.2.2.1 and updated Extranet to the new Usermanagement and when I call the User.save() i get the error "Thread beeing aborted".
Anyone got any idea or will it work updating to newest version? Kind regards.
/Magnus ...
Magnus Holmberg
26/05/2011 14:29:02
Last post: 26/05/2011 14:47:18
Lucene is killing my import
Hi DW, I've created an activity for the import/export module that imports some products from a CSV file.
In my activity i create a Product object for each of my products and call the .Save() method.
I have around 5500 products and when i run my impor ...
Martin Nielsen
26/05/2011 09:11:01
Last post: 27/05/2011 11:46:11
Accessing template tag value from code
Hi guys, I'm creating a productlist extender where i need to access the total number of products in my list.
base.Productlist.Count gives me only the count for the current page (determined by pagesize), not the entire list of products. Can i access t ...
Martin Nielsen
24/05/2011 09:21:00
Last post: 24/05/2011 09:31:56
Weird performance issue in 19.2.2.4
Hi there, I am trying to upgrade a (staging) server from 19.1.something to the latest version. I installed 19.2.2.4 but then ran into major performance issues. I just downgraded to 19.2.2.3 and it seems to be fine again. On a closer inspection using ...
Imar Spaanjaars
23/05/2011 16:38:02
Last post: 24/05/2011 09:06:00
Create Basket?
When the basket is empty the cart object is null. I need to add a product via Dynamicweb.eCommerce.Common.Context.Cart.Products.Add(_p); How will i go about creating the cart? i've not been able to see how you guys do in reflector (running 18.x.x.x v ...
Jais Edelmann
23/05/2011 12:12:25
Last post: 23/05/2011 14:01:04
Adding a file-upload to checkout-proces
Hi Dynamicweb, How would you add a file-upload to the checkout-proces in Dynamicweb? ...
Bo Møller
18/05/2011 16:49:46
Last post: 18/05/2011 21:46:13
Manipulate GroupList before render
Hi How do I change groups in a GroupList before showing them to the user? I was desperately looking for a GroupList.BeforeSort NotificationSubscriber similar to the one in the ProductList but unfortunately this doesn't seem to exist.
Are there any ot ...
Jonas Kæseler
18/05/2011 13:24:31
Last post: 02/11/2011 10:29:27
Global access to SQL Firehose
Hi, I use the firehose all the time for debugging data in Dynamicweb, and I usually have multiple windows open when using it. That's why I've often thought that it would be great with a globally accessible button for Administrator, allowing me to ope ...
Lars Hejgaard Sørensen
16/05/2011 09:36:19
Last post: 18/05/2011 21:41:31
Casing in URL Providers
Hi there, I built a simple URL provider to convert something like &CollectionName=Name to /Name. I use the following code: foreach (var collection in collections)
{ list.Add(new Mapping("CollectionName", collection.CollectionName, colle ...
Imar Spaanjaars
13/05/2011 12:47:03
Last post: 16/05/2011 21:37:03
Change layout file on the fly through code
Hi there, Is there a way to change the layout file on the fly through code? I have a custom module that has a List and a Details view. For each I would like to use a different Layout file which I need to assign dynamically. I don't necessarily have t ...
Imar Spaanjaars
12/05/2011 15:43:37
Last post: 13/05/2011 09:44:43
Access Meta data of News Items
Hi there, I am using the following code to query news items: var allNews = Dynamicweb.NewsV2.NewsItem.GetAllNewsValidAndActiveAndNotArchive(); This returns a collection of NewItem instances. But how do I access the meta data of the news item? Imar ...
Imar Spaanjaars
12/05/2011 15:12:55
Last post: 13/05/2011 09:40:08
10
Unsubscribe
Error on loadproperties for custom module
Im getting errors in the custom module im trying to make. the error occurs on paragraphlevel. In edit mode the error occurs whenever the below line of code is executed. Properties properties = Dynamicweb.Properties.LoadProperties(); The problem also ...
Keld Gøtterup
12/05/2011 10:46:03
Last post: 13/07/2014 17:36:51
Performance DW 7 implementation
We are currently implementing our first DW webshop.
After the implementation of the new design we are experiencing performance issues and do not know where to look. I did the following things to boost performance, but still no luck:
- enabled "Disabl ...
11/05/2011 13:25:44
Last post: 12/05/2011 11:14:12
SEO module pre-filled title with product
hi DWs a question: I client wants to have the title and description in the SEO module, pre-filled from the system, with ie: "buy @ProductName here". From a series of different statements. Is there a way to do this? Thanks
Peter ...
11/05/2011 10:06:30
Last post: 16/05/2011 15:47:25