I would like to setup product data such that certain products can only
be bought is quantities of 5. How would I setup that data? |
Hi Stephen:
Do you want to display one price for each product or a single price for all 5 products? Regards, Ruth Stephen Rufle wrote: > I would like to setup product data such that certain products can only > be bought is quantities of 5. How would I setup that data? > |
I want a product ABC-001 to only be able to be bought when a quantity of
5, 10, or 15 ... is specified . Otherwise I want to show an error. Ruth Hoffman wrote: > Hi Stephen: > Do you want to display one price for each product or a single price > for all 5 products? > > Regards, > Ruth > > Stephen Rufle wrote: >> I would like to setup product data such that certain products can >> only be bought is quantities of 5. How would I setup that data? >> > > -- Stephen P Rufle [hidden email] H1:480-626-8022 H2:480-802-7173 Yahoo IM: stephen_rufle AOL IM: stephen1rufle |
Hi Stephen:
Not sure you can do that out-of-the-box unless you attached some kind of "Agreement" with the product. An agreement could stipulate the minimum quantity required. As for the error processing that goes along with product agreements, I'm not sure how that would work. Maybe someone else on the list has been successful in implementing this. Regards, Ruth Stephen Rufle wrote: > I want a product ABC-001 to only be able to be bought when a quantity > of 5, 10, or 15 ... is specified . Otherwise I want to show an error. > > Ruth Hoffman wrote: >> Hi Stephen: >> Do you want to display one price for each product or a single price >> for all 5 products? >> >> Regards, >> Ruth >> >> Stephen Rufle wrote: >>> I would like to setup product data such that certain products can >>> only be bought is quantities of 5. How would I setup that data? >>> >> >> > |
In reply to this post by Stephen Rufle-2
The easiest way is to create a product that represents five of the items (Product.quantityIncluded=5), and then each unit they order will mean 5 actual items fulfilled. That packaging can be done implicitly, or you could even use one of the Marketing Package product types and then associated this package product with the main/single product using a quantity of 5 on the ProductAssoc. If you want something where the user can only enter multiples of five otherwise they get an error, I think at this point you'd have to write some custom code (and a good error message). -David On Feb 22, 2010, at 12:58 PM, Stephen Rufle wrote: > I want a product ABC-001 to only be able to be bought when a quantity of 5, 10, or 15 ... is specified . Otherwise I want to show an error. > > Ruth Hoffman wrote: >> Hi Stephen: >> Do you want to display one price for each product or a single price for all 5 products? >> >> Regards, >> Ruth >> >> Stephen Rufle wrote: >>> I would like to setup product data such that certain products can only be bought is quantities of 5. How would I setup that data? >>> >> >> > > -- > Stephen P Rufle > [hidden email] > H1:480-626-8022 > H2:480-802-7173 > Yahoo IM: stephen_rufle > AOL IM: stephen1rufle > |
Maybe I misunderstood, but it looks like Stephen didn't necessarily want
to offer it in bundles of 5, but rather as a single item requiring that the user enters quantities in multiples of 5. If I misunderstood, sorry. Bundling, I agree, is the way to go in that case. Regards, Ruth David E Jones wrote: > The easiest way is to create a product that represents five of the items (Product.quantityIncluded=5), and then each unit they order will mean 5 actual items fulfilled. That packaging can be done implicitly, or you could even use one of the Marketing Package product types and then associated this package product with the main/single product using a quantity of 5 on the ProductAssoc. > > If you want something where the user can only enter multiples of five otherwise they get an error, I think at this point you'd have to write some custom code (and a good error message). > > -David > > > On Feb 22, 2010, at 12:58 PM, Stephen Rufle wrote: > > >> I want a product ABC-001 to only be able to be bought when a quantity of 5, 10, or 15 ... is specified . Otherwise I want to show an error. >> >> Ruth Hoffman wrote: >> >>> Hi Stephen: >>> Do you want to display one price for each product or a single price for all 5 products? >>> >>> Regards, >>> Ruth >>> >>> Stephen Rufle wrote: >>> >>>> I would like to setup product data such that certain products can only be bought is quantities of 5. How would I setup that data? >>>> >>>> >>> >> -- >> Stephen P Rufle >> [hidden email] >> H1:480-626-8022 >> H2:480-802-7173 >> Yahoo IM: stephen_rufle >> AOL IM: stephen1rufle >> >> > > > |
I do not think I want bundling.
I was thinking I could add a ProductAttribute association key:quantityMultiple, value: 5 for the products that are supposed to be bought in 5's. Then do a simple validation (quantity modulus quantityMultiple) == 0. ex. 10 mod 5 == 0 - no message 11 mod 5 == 1 - product must be bought in multiples of 5 Ruth Hoffman wrote: > Maybe I misunderstood, but it looks like Stephen didn't necessarily > want to offer it in bundles of 5, but rather as a single item > requiring that the user enters quantities in multiples of 5. If I > misunderstood, sorry. Bundling, I agree, is the way to go in that case. > > Regards, > Ruth > > David E Jones wrote: >> The easiest way is to create a product that represents five of the >> items (Product.quantityIncluded=5), and then each unit they order >> will mean 5 actual items fulfilled. That packaging can be done >> implicitly, or you could even use one of the Marketing Package >> product types and then associated this package product with the >> main/single product using a quantity of 5 on the ProductAssoc. >> >> If you want something where the user can only enter multiples of five >> otherwise they get an error, I think at this point you'd have to >> write some custom code (and a good error message). >> >> -David >> >> >> On Feb 22, 2010, at 12:58 PM, Stephen Rufle wrote: >> >> >>> I want a product ABC-001 to only be able to be bought when a >>> quantity of 5, 10, or 15 ... is specified . Otherwise I want to show >>> an error. >>> >>> Ruth Hoffman wrote: >>> >>>> Hi Stephen: >>>> Do you want to display one price for each product or a single price >>>> for all 5 products? >>>> >>>> Regards, >>>> Ruth >>>> >>>> Stephen Rufle wrote: >>>> >>>>> I would like to setup product data such that certain products can >>>>> only be bought is quantities of 5. How would I setup that data? >>>>> >>>>> >>>> >>> -- >>> Stephen P Rufle >>> [hidden email] >>> H1:480-626-8022 >>> H2:480-802-7173 >>> Yahoo IM: stephen_rufle >>> AOL IM: stephen1rufle >>> >>> >> >> >> > > -- Stephen P Rufle [hidden email] H1:480-626-8022 H2:480-802-7173 Yahoo IM: stephen_rufle AOL IM: stephen1rufle |
Hi Stephen:
The ProductAttribute would be an easy way to do this. I was thinking that you could use an Agreement to hold information about minimum quantities, quantity multiples and all the "terms" of purchase per product and then validate against the Agreement similar to validating against the ProductAttribute. Agreements give you lots more flexibility in setting up the validation. The downside is that you involve more Entities in the mix and things could get more complicated. I suppose it all depends on how flexible you want to make the validations. Regards, Ruth Stephen Rufle wrote: > I do not think I want bundling. > > I was thinking I could add a ProductAttribute association > key:quantityMultiple, value: 5 for the products that are supposed to > be bought in 5's. Then do a simple validation (quantity modulus > quantityMultiple) == 0. > > ex. > 10 mod 5 == 0 - no message > 11 mod 5 == 1 - product must be bought in multiples of 5 > > Ruth Hoffman wrote: >> Maybe I misunderstood, but it looks like Stephen didn't necessarily >> want to offer it in bundles of 5, but rather as a single item >> requiring that the user enters quantities in multiples of 5. If I >> misunderstood, sorry. Bundling, I agree, is the way to go in that case. >> >> Regards, >> Ruth >> >> David E Jones wrote: >>> The easiest way is to create a product that represents five of the >>> items (Product.quantityIncluded=5), and then each unit they order >>> will mean 5 actual items fulfilled. That packaging can be done >>> implicitly, or you could even use one of the Marketing Package >>> product types and then associated this package product with the >>> main/single product using a quantity of 5 on the ProductAssoc. >>> >>> If you want something where the user can only enter multiples of >>> five otherwise they get an error, I think at this point you'd have >>> to write some custom code (and a good error message). >>> >>> -David >>> >>> >>> On Feb 22, 2010, at 12:58 PM, Stephen Rufle wrote: >>> >>> >>>> I want a product ABC-001 to only be able to be bought when a >>>> quantity of 5, 10, or 15 ... is specified . Otherwise I want to >>>> show an error. >>>> >>>> Ruth Hoffman wrote: >>>> >>>>> Hi Stephen: >>>>> Do you want to display one price for each product or a single >>>>> price for all 5 products? >>>>> >>>>> Regards, >>>>> Ruth >>>>> >>>>> Stephen Rufle wrote: >>>>> >>>>>> I would like to setup product data such that certain products can >>>>>> only be bought is quantities of 5. How would I setup that data? >>>>>> >>>>>> >>>>> >>>> -- >>>> Stephen P Rufle >>>> [hidden email] >>>> H1:480-626-8022 >>>> H2:480-802-7173 >>>> Yahoo IM: stephen_rufle >>>> AOL IM: stephen1rufle >>>> >>>> >>> >>> >>> >> >> > |
Free forum by Nabble | Edit this page |