ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Customizing ProductCart
  New Posts New Posts RSS Feed - Force Number of BTO Items
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Force Number of BTO Items

 Post Reply Post Reply
Author
Message
steverguy View Drop Down
Groupie
Groupie


Joined: 05-April-2006
Location: United States
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote steverguy Quote  Post ReplyReply Direct Link To This Post Topic: Force Number of BTO Items
    Posted: 14-September-2010 at 1:24pm
I have a client who sells boxed lunches.  The Brown Bag Lunch contains 1 Turkey sandwhich, chips and your choice of a cookie or a soda (Coke, Pepsi, etc) - (you can have either a soda or a cookie, but not both).
 
You have to order at least 10 boxed lunches.  Each lunch can have a different soda/cookie selection.
 
I believe BTO is the best option for this.  Brown Bag Lunch would be the main item.  Cookies, Coke, Pepsi and other Drinks are BTO Items.
 
In the BTO Product editor, I set the minimum # of products to 10.
 
In the BTO Configuration page I enable check boxes and quantity fields - this way, a user can have 10 boxed lunches with 4 Cokes, 2 Pepsies and 4 cookies.  This functions correctly... kind of. 
 
However, what if the user wants 11 boxed lunches?  If that happens, the user needs to be reminded to select another BTO Item.  What if they order 10 boxed lunches, but select 11 bto items.  They need to be prompted to only choose 10 bto items.
 
Does this make sense?  I can write custom code for this - but I would be easier (for upgrading sake) if there was a solid way to do it leaving Product Cart as is.
 
Any suggestions would be appreciated!
Back to Top
ProductCart View Drop Down
Admin Group
Admin Group

ProductCart Team

Joined: 01-October-2003
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote ProductCart Quote  Post ReplyReply Direct Link To This Post Posted: 15-September-2010 at 1:07am
BTO now allows you to set the maximum number of items that you can select on the configuration page (E.g. select 20 chocolates for this 20-item chocolate box). So one way to accomplish what you are describing - without code modifications - would be to use that feature, and then create BTO products for different, pre-defined number of boxed lunches.

So you would have the following BTO products in your catalog (which you can quickly created by using the cloning feature):

10-pack Boxed Lunches
20-pack Boxed Lunches
...

Another solution - with some custom programming - is to introduce code that ensures that the ratio is correct between the item selections and the BTO quantity selected (e.g. enforce that "number of boxed lunches = (number of beverages + number of cookies)". You might be able to accomplish this with just some additional JavaScript, so it could be fairly non-intrusive in terms of future ProductCart updates.

We hope this helps!
The ProductCart Team

Home of ProductCart shopping cart software
Back to Top
intour View Drop Down
Senior Member
Senior Member


Joined: 30-June-2006
Location: United Kingdom
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote intour Quote  Post ReplyReply Direct Link To This Post Posted: 23-September-2010 at 5:45am
I implemented something very similar earlier this year.
 
It did require custom coding. If you want some more information please message me.
 
Nigel
Innerview
Productcart Platinum Reseller
Web Design/Hosting/Virtual Tours
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.047 seconds.