如何在ASP.NET中建立价格比较网站 [英] How to make a price comparision website in ASP.NET
问题描述
大家好,
我的一位客户想要开发一个网站来比较来自不同在线平台的产品价格,如Amazon.in,flipkart.com和snapdeal.com。我对这个概念不熟悉我已经读过大多数像亚马逊,flipkart和snapdeal这样的网站提供API来完成工作。
但是我无法理解如何管理网站中的产品主数据以及如何获取不同网站的特定产品代码。
例如亚马逊,flipkart和snapdeal等对同一产品有不同的产品代码。
如果小组中有人做过这样的事情,请分享概念
提前谢谢
我的尝试:
我有尝试了来自不同网站的少量API
客户不随身携带产品代码。
他们想要名字的东西。
例如我想把1磅的包装运到纽约;告诉我我的选择和费用(USPS; UPS; FedEx等)。
同样适用于你。
你需要做更多的研究。
有一张桌子上有你使用的提供者
< pre lang =sql> ProviderID,Provider
1 ,Amazon
2 ,无论
有一张你追踪的产品表
< pre lang =sql> ProductID,ProductName
1 ,Dyson 300 吸尘器
2 ,VAX 250 吸尘器
有一个存储提供商特定信息的表格
SkuID,ProviderID,ProductID,Price, ProductCode
1 , 1 , 1 , 300 ,A1234
2 , 2 , 1 , 295 ,W3547
3 , 1 , 2 , 250 ,A6548
4 , 2 , 2 , 249 ,W3325
您可以让人们搜索您的产品表然后加入SKU表以获取每个供应商的价格,代码等。
Hi All,
One of my client want to get a website developed to compare product prices from different online platform like Amazon.in, flipkart.com and snapdeal.com. I am new to this concept I have read that most websites like Amazon, flipkart and snapdeal provide APIs to get the job done.
But what I am not able to understand that how to manage the product master data in the website and how to get the specific product code for different sites.
for example Amazon, flipkart and snapdeal etc have different product code for same product.
If someone in the group have done anything like this please share the concept
thanks in advance
What I have tried:
I have tried few API's from different websites
Customers don't carry around "product codes".
They want something by "name".
e.g. I want to ship a 1 lb package to New York; show me my options and the costs (USPS; UPS; FedEx; etc).
Same applies to you.
You need to do more "research".
Have a table that has the providers you use
ProviderID, Provider 1, Amazon 2, Whatever
Have a table of the products you track
ProductID, ProductName 1, Dyson 300 Vacuum Cleaner 2, VAX 250 Vacuum Cleaner
Have a table that stores provider-specific info
SkuID, ProviderID, ProductID, Price, ProductCode 1, 1, 1, 300, A1234 2, 2, 1, 295, W3547 3, 1, 2, 250, A6548 4, 2, 2, 249, W3325
You would then let people search your product table then join the SKU table to get the prices, codes etc per vendor.
这篇关于如何在ASP.NET中建立价格比较网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!