12-21-05 10:54 PM
A custom pipeline component seems like the best idea since you can check
what categories the items are from and issue a warning or error
accordingly. Also the pipelines will normally always get executed before
the order is placed thus allowing to have this check in a central location
which is easy to control.
Thanks,
Nihit Kaul[MSFT]
Commerce Server
http://blogs.msdn.com/nihitk
This posting is provided "AS IS" with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
--------------------
From: "Shai" <mistershyguy@gmail.com>
Newsgroups: microsoft.public.commerceserver.general
Subject: Add Limits to Basket Page (Suggestions?)
Date: 10 Nov 2005 12:52:51 -0800
Organization: http://groups.google.com
Lines: 12
Message-ID: <1131655971.899509.63610@g47g2000cwa.googlegroups.com>
NNTP-Posting-Host: 67.100.178.34
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1131655977 15055 127.0.0.1 (10 Nov 2005
20:52:57 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 10 Nov 2005 20:52:57 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1;
.NET CLR 1.1.4322; .NET CLR 1.0.3705),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g47g2000cwa.googlegroups.com; posting-host=67.100.178.34;
posting- account=ha3cGA0AAADpidRqA0iwod8MapV8i0bN
Path:
TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.sul.t-online.de!t-onli
ne.de!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.gigan
ews.com!postnews.google.com!g47g2000cwa.googlegroups.com!not-for-mail
Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.commerceserver.general:17145
X-Tomcat-NG: microsoft.public.commerceserver.general
My goal:
To create a limit on what items can be purchased (or even added) to the
basket. So for example, I have 2 categories, one of the categories I
limit up to 5 items to be purchased from it. I want it to check for
this limit in the basket and summary page.
Any ideas on how/what is the best way to achieve it without writing a
lot of custom code? Can I do something like this with campaigns or the
pipeline or any other existing component of Commerce Server?
Thanks!
Attachment:
This has been downloaded 0 time(s).
[ Post a follow-up to this message ]
|