Developer forum

Forum » Feature requests » Interaction between users and shopping cart module

Interaction between users and shopping cart module

Matthijs Hofstede
Reply
We notice lots off problems when you want to add certain fields to your shopping cart. For example it is quite normal to have 2 fields for your name. First name and last name. When we add a field in the shopping cart it is not added in the user management. So people who have created an account as a user will always have to add their first name again when ordering.

Next to that the countries fiels for users is not connected to the countries field for the shopping cart. Visitors that vcreate an account are not able to select a countries from a list. They need to do this in the shopping cart. It would be great to use the delivery countries list or something like that.

Als other modules should have better integration with users, newsletter and extranet have similar issues.


Replies

 
Nicolai Høeg Pedersen
Reply
It seems like you pageview returns null...

Can I see your entire Default.aspx.cs code?

 
Matthijs Hofstede
Reply

You mean this? It's in vb by the way

Imports
System

Imports System.Xml

Imports Dynamicweb

Imports Dynamicweb.Frontend

Partial Public Class _Default

    Inherits System.Web.UI.Page

 

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load

        'Initiate the pageview object that handles a Page view in Dynamicweb

        Dim Pageview As New Dynamicweb.Frontend.PageView()

 

        'Load data, templates and settings in the pageview object

        Pageview.Load()

 

        'Render the data of the pageview object and place the resulting HTML in the output-literal

        Dim pvCtrl As New Dynamicweb.Frontend.PageviewControl

        Output.Controls.Add(pvCtrl)

        pvCtrl.Pageview = Pageview

        pvCtrl.ParseControls()

    End Sub

 

End Class


 
Nicolai Høeg Pedersen
Reply
Hi Matthijs

My answer was for another thread! Sorry - this it what happens when I have too many windows open at the same time!

 
Matthijs Hofstede
Reply
Aha, we didn't know why you wanted this anyway.