E-commerce: Most Popular/most Bought Products List
Mar 9, 2010Im Searching for a tutorual to make a list of the most bought products on my e-commerce site. (toplist)
View 2 RepliesIm Searching for a tutorual to make a list of the most bought products on my e-commerce site. (toplist)
View 2 RepliesI am using a strongly-typed view to display a list of products, where every li-element gets a unique id:
<ul id="product-list">
<% foreach (var item in Model.Products)
{ %>
<li <%= "id="product_" + item.Id + """ %> >
<div class="item">
<%= item.Name %>
</div>
</li>
<% } %>
</ul>
Now I want to attach to the click-event of every single li-element, so that if the user clicks on a div-element, detailed product-informationen should be loaded asynchronously into a details-pane. I know how I can use jQuery to invoke an action-method ajax-style and also how to display the json-result which contains the product-details, BUT I have no idea, how I could attach the onclick-event to every single div, so that I can use the productId to load the details.
I am developing a website that display products and the users will be able to rate these products. At the end of the month a winner product will be highlighted on the website home page. What I need to know is how to determine the winner product if I have the following rating scenario, The user will rate for the product by choosing a value from 1 to 5 where 1 mean bad and 5 excellent.
If 10 users voted for the product A and the average rating was 4 and 1 user voted for product B and the average rating were 5 that mean product B will be the winner. I feel this is not the correct method to determine the winner. one has better method that take in consideration the number of voted users to determine the winner?
this is my last thread
[URL]
this is my code
<li><a href="Furniture.aspx?h_name=electric">Electric</a></li>
in Furniture.aspx will show all product that have H_name=electric
i have another Item
<li><a href="Furniture.aspx?h_name=?">show all</a></li>
i want when user click in this item on jquery menu in Furniture.aspx will show all product in this item H_name is'nt important i want show all product with different H_name
I am trying to justify writing a website in asp.net that has the potential to be as large as wikipedia. Are there any large websites content driven websites that have been written asp.net?
View 1 RepliesIs there a (free!) software/components that I can use to track how my web site is being used - which pages are most popular, how many times was the site visitied today, yesterday etc...
View 3 Repliesi have to choose the most popular venueselect max(count(Destination))as popular_venu from bookingthis shows me error.how do i solve this?nothr queriesselect max(count(Departure_time)from bookingwhere Departure_time>12:00:00i got error for both.please help me to sovle
View 5 RepliesAsp.net, php, jsp What other popular (used alot in production) languages for HTML pages generation are there?
View 4 RepliesI'm going to write an ASP.NET MVC 2 application using Domain Driven Design. I'm trying to figure out how to separate the Admin from the store front. I could create 2 MVC projects, but regarding the services for them, should they be in separate projects as well or could I use the CatalogManager, for example, for both, Admin and the store front, and mix up all the services?Currently I have a class library for each part of my domain (services, infrastructure, model, etc.)
View 1 RepliesI worked on an online store based . In this store i have a category for which there are almost 2000 products. So every time when there is some change in the price, it is very difficult to update the products with new price, descriptions, features etc.The manufacturer of this product is providing web services which can be linked with store owner's website who is selling their products.o is it possible to integrate e-commerce website with webservices API that are being provided by manufacturer ?
View 1 RepliesI'm currently working on an C#/ASP.NET project that will host several differents e-commerce websites, all running in the same application.I use LinqToSql (moving to PLINQO soon) to access my database. The database contains both informations on the website structure (pages, ...) and the products/orders/users data.
My question is, should I use only one database for all the websites, or sould I create a new database (same model) for every new website?I'm now using a single database (with SiteIDs in some tables) but I have a big security concern, I can't just backup/restore the database for ONE website if something goes wrong (e.g. somebody erase all the products on ONE website) and it's an important requirment of the application.
So I was wondering what are the good practices in that case? Is there big cons if splitting dbs?(I would have to make changes to several database instead of one in case of structural changes, but i guess i can make a db version/update system).How the existing CRMs are dealing with that?Is it a performance problem if a database server host a lot of different DataBases? A complex backup/restore tool would be better?
Subquestion:To make a website replication easy, I can also split the pure CMS data (Pages, Texts, ...) in one DB and the e-commerce data (products/categories/orders in another). It can be achieved by some select/insert functions but it would be easier by just copying a database of course.
I have worked mostly with PHP when creating web sites driven by dynamic content. However I am wanting to start writting more applications in ASP. So I have a copule of questions that I can't seem to find the exact answers I need.1) I'll be creating a website for a company and then later be adding an online ordering system for them - would I best be served by writting the entire site in MVC2 since I will be getting into an online ordering system?2) Does it make sense to create my own shopping cart system - or are there free packages out there in ASP.NET that I should be utilizing instead of rolling my own? I3)I am currently working in Visual Studio 2010 Beta 2 - this is using the .NET 4.0 framework - I thought it better to use this instead of my older Visual Studio 2005 Professional - if I can't afford the full package of VS 2010 once its released - will theexpress editions support all I need? 4)If I am building in 2010 will I have a problem getting the site hosted since that framework is still in Beta? And can you suggest a good web host to use for .NET hosting - I usually work with GoDaddy for all my hosting needs - but I'm not sure if anyonehas experience in how quickly they will update to the newest frameworks etc , or if I should be hosting somewhere else.
View 2 RepliesWe are working on an e-commerse application, we have requirement to set discount (10%) on purchase on a specific weekday. Ex. If any transaction made on Wednesday, it will get 10% discount on purchase amount.
Since the website trafic scatered to different geographical area the time should be not be bound to a specific location.
One of the approach which I thought, was to get the IP address of client then use some tool to find out the country and GMT (UTC) time. And based on that decide the exact weekday to provide discount.
But some of the issue with this approach are:
- Which tool to use to find out the IP address
- The tool like IP2Location are paid. Is there any free tool available? etc.
I am working on E-Commerce project based on Asp.Net. I need to implement Security in my Project. Which type of Security should i apply that is open source and in-build.
View 1 RepliesI have two e-commerce sites. One was built using ASP .net technology and the other one was built using open source codes.
Now I would like to allow shared shopping cart between the two sites. The customer will be able to add product from either site to the same shopping cart and check out.
Has anyone done this type of project before? It seems that there isn't any easy solution -- i.e. we would have to build a new shopping cart from group up for both sites.
I have got a new assignment for developping an e-commerce website. I need to accept online payment via all the common cards (Visa, MasterCard, etc). But am confuded about how I should implement it. I want to add direct payment with credit card to the website without passing by paypal.
P.S.: The website is targeted for UK customers only. Technology:ASP.NET, C#
Recently we've developed an E-Commerce web application for a client. We are at the stage before launch and the client is not happy to disclosing live merchant account details to us because they don't want us to potentially being able to see their clients' data.
Since we are going to maintain their website (running off their servers but we will still have access to the site files) I cannot see an easy solution to this other than trust.
How to implement and maintain E-commerce application when business don't want to disclose merchant details to developers?
What is the best and easiest-to-use video player for popular video extension in asp.net?
View 1 RepliesI have been messing around with a Shopping Cart Tutorial i found on NetTuts+ I would be keen to find out how get the products from a Databse rather than use the product class they have made for the tutorial.
View 7 RepliesI am having problems in getting product data when using different levels of categories. My knowledge of SQL is also very limited.
Here is what i have so far
TABLES
Categories
CategoryID (PK) int
CategoryName nvchar(max) allow null
ParentID int allow null
Data for this table
1,Soaps,null
2,Original Range,1
3,Premium Range,1
4,Speciality Range,1
5,Seasonal Collection,4
6,Selection,4
Products
ProductID (PK) int
ProductName nvarchar(max)
ProductDescription nvarchar(max) allow null
ProductPrice money
CategoryID int
Data for this table
1,Prod1,some text,0.25,6
2,Prod2,some text,0.25,6
I have some linq to sql in the page load event that populates a list view,
[Code]....
Now when the category passed in from the query string is 6 then the products with a category of are shown correctly but category 6 is a child category of 4 and 4 is a child of 1 so when i pass in 4 as the category i should still be retrieving the data for products 1 and 2.
ProductCategory
ProductSubCategory (foreign key with ProductCategory )
Product(foreign key with ProductSubCategory,ProductCategory)
1)add/edit/delete new ProductCategory
2)add/edit/delete new ProductSubCategory (With respect to ProductCategory )
3)add/edit/delete new Product (With respect to ProductCategory and ProductSubCategory )
I dont know the best way to do this.Preferably with some vb code.
I'm trying to pull different product meta tags from a database onto a page. The problem I have is my DefaultValue="59" is the only product to be displayed if I change this value to another product id it displays just that products meta tags.
Below is my code:
[Code]....
[Code]....
[Code]....
I have recently started to use Nhibernate and i am quite happy with it until i needed to BIND to ASP.NET controls. I was having major issues binding a gridview to a collection of Products (IList). In the end i was forced to right a small routine to convert my IList to a DataTable. Once it was in datatable it worked flawlessy.
Now has come the time to bind a standard Dropdownbox to 1 field of a collection (IList) of Products but it appears i am having issues again.So this has brought me to the conclusion that i must be doing something wrong?I can't believe that it isn't possible to BIND ASP.NET controls to a collection (IList) of a class (in my case products) that is returned from NHibernate.I would really appreciate any feedback anyone has on the situation... I am at a loss
how to implement filters on products as this is the first time i am doing this. This is very common in ecommerce websites which sell computer products (example bestbuy.com) where a client for example would click on Monitors category, upon clicking on monitors client is presented with all the monitors available. He then could filter the monitors using filters for example he clicks on a 19 Inch monitor filter and the monitors update to only display 19 Inch monitors.
how to make this as regards tables in database?
I need to display a list of products 1 below each other with a textbox, i will also need a checkbox that will hold the prodID. so i was thinking i need to do a loop but i am not sure how to do it. It needs to be like this
[checkbox(which will contain the prodID)] prodName Qty [textbox1] [textbox2]
so for each product in my products table i want to display it like above, now this is for a stock take module so the client will enter his values for each product in textbox1, when the client clicks the submit button, i will need to loop through the above products and calculate the difference if any so it will be (QTY - TEXTBOX1), if there is a difference the check the checkbox and display the difference in TEXTBOX2. so if the QTY = 10 and the client entered 8 in textbox1 then textbox2 should show you 2 and the checkbox should be checked. then the client will click the update button and it will loop through every product above and where the checkbox is checked, it should update the QTY of that product from the value entered in textbox1.