This is a to do list for the mini scan cart. Pushed up on 5/13/24. todo: we need line sorting in a number of places. method - sortCartLineItems - replace... session.myCart_st.myLineItems_array >> variables.localLineItems_array - replace... retQuote_st.quoteLine_array >> variables.localLineItems_array done - bulk_edit_cart.cfm done - bulk_cart_discount.cfm done - review_cart.cfm done - printable_cart.cfm done - submit_cart.cfm done - update_cart.cfm - saving quotes done - quote_to_cart.cfm done - printable_quote.cfm ***pdf/show_printable_quote.cfm - can't use session. ***shop/web_quote_order.cfm - can't use session. done - mini_quote.cfm done - print_limited_quotes.cfm duplicate_to_cart.cfm printable_invoice.cfm invoice_line_items.cfm ***pdf/show_printable_invoice.cfm - can't use session ***shop/web_invoice.cfm - can't use session mini_invoice.cfm print_simple_invoices.cfm print_limited_invoices.cfm black_and_white_printable_invoice.cfm invoice_profit_per_line.cfm todo: fully flip over to classic and run all of these pages. see list above. along those same lines... maybe flip between snow owl modern and snow owl classic as well. todo: like the frozen yogurt site... show what people are really using - it looks so cool to really see what people are using it for and doing. idea from shannon and abby. todo: prep the servers... put up files that need new code before they are really needed. somehow prep things and make sure that dependencies are okay. help prep as much as possible for suzi. todo: on the my cart favorites. if they are stacking buttons, allow them to create one button and then stack it where ever they need to. open that up and allow for one-to-many assignments. we may want to look at smart group button assignments (rules and assignments). we may want a similar table or multi-purpose that table to allow for the relationships. maybe do a sort of just the group buttons and allow for a quick checkbox to say yes, show it here as well. something like that. todo: on the my cart favorites buttons, when setting them up... if they choose a category, help them out with ajax to filter the other drop-downs (group buttons for stacking). request from suzi. todo: suzi and steve wants the merchant processing stuff added for the play site. i think that it is a converge acccount. todo: work with bryan on the bolding and indenting of the line items. todo: left a todo on the add_to_cart.cfm page. also left one on sort_cart_line_groupings.cfm. need to clean it up. todo: add the corp-wide settings for cart as a whole discounts to the split cart. todo: when clearing the cart, they just want it to go back into a blank cart. i could see a problem with that... (continues loop or trying to switch corps or logout). may show an option - go home or new cart. todo: the checkout page (payment page) is way too busy and big... make it more condense. todo: on the my cart favorite buttons... what if we created an option for a free form link button - it looks like all of the others but you can enter whatever link you want. that would be pretty cool. todo: on the my cart favorite buttons... help the display out a bit to lessen the scrolling. suzi has a bunch of category and those take up space. help it flow a little bit better. todo: to remove the line items... maybe a trash can button. they didn't like the little checkboxes. todo: refunds todo: just todays invoices - like the bottom of the invoice homepage. just a smaller mini homepage. todo: checkout - they want the amount to be set in the field. todo: on the cart line quantity. they would like a quick drop-down or a up/down button. think touch screen. todo: on the mini invoice. if we can tell that they are in split cart mode. maybe make the logo button a jump back into the split cart. todo: wish list. bryan had a request to get white papers on some of our accounting and how it all works. a person wanted to read up on stuff. basically a request for documents and content. todo: on the mini scan cart... add options for printable notes, non-printing notes, customer PO's, due dates, etc. Be able to change the cart type, the cart date, the salesperson(s), etc. todo: if you click on start cart and the cart already exists... maybe just go to the view cart vs showing an error. not sure? - new split cart stuff for the mini scan cart. new groupings and sorting options. new branch - BWM-mini-scan-cart-v8 - new as of 5/11/24 - BWM-mini-scan-cart-settings-v5-playing with russell - on 5/7/24 bryan's branch - BED-2460-settings - pulling code as of 5/1/24 - trying to mix branches - new table - line_items_group_[53] level_1_grouping - max 25 chars level_2_grouping level_3_grouping line_item_sort - added the same columns to all line item structs that i could find (for carts). just defaults for now. session.myCart_st.myLineItems_array[?].level_1_grouping - max 25 chars session.myCart_st.myLineItems_array[?].level_2_grouping session.myCart_st.myLineItems_array[?].level_3_grouping session.myCart_st.myLineItems_array[?].line_item_sort - global search for "addCartLineStruct" - it's a method that builds a new line item. - added new arguments to the method. arguments.level1Grouping arguments.level2Grouping arguments.level3Grouping arguments.lineItemSort - global search for "st.line_id =" - sub section within the section that builds the line items. - added all of these (above) to the cart line items. - created new holding values for setting the groupings. session.myCart_st.myInvoiceInfo_st.grouping_auto_number_value_1 = 1 session.myCart_st.myInvoiceInfo_st.grouping_auto_number_value_2 = 1 session.myCart_st.myInvoiceInfo_st.grouping_auto_number_value_3 = 1 session.myCart_st.myInvoiceInfo_st.grouping_value_1 = "" session.myCart_st.myInvoiceInfo_st.grouping_value_2 = "" session.myCart_st.myInvoiceInfo_st.grouping_value_3 = "" session.myCart_st.myInvoiceInfo_st.sort_value = 100 - created a new high-level session value called - set clear up at login session.useInvoiceLineGroupings - default = "no" - created a new high-level session value called - set clear up at login session.useNewCustomerSearch - default = "customer_search.cfm" - created a few new high-levl session values called - set clear up at login session.useLineGrouping1 = "no" session.lineGroupingTitle1= "" session.useLineGrouping2 = "no" session.lineGroupingTitle2= "" session.useLineGrouping3 = "no" session.lineGroupingTitle3= "" session.lineGroupingType1 = "open_entry" - do we need a default for a new cart? talking about the invoice/cart level groupings? not sure? - new settings. useInvoiceLineGroupings - use_invoice_line_groupings = "no" useLineGrouping1 - use_line_grouping_1 = "no" lineGroupingTitle1 - line_grouping_title_1 = "" lineGroupingType1 - line_grouping_type_1 = "open_entry" buttonHelperGroup1 - button_helper_group_1 = "" buttonListGroup1 - button_list_group_1 = "" did 2 and 3 already in the defaults... - while working with bryan... we ran into an issue where the loop was outputting the same values for some of the inputs - for example: qty_2 and qty_2. we may need to keep track of stuff. he was doing some custom sorting. - do some samples where we have the same sort number... how do we treat that? say multiple lines with a sort of 100 or something like that. - what about doing removals or killing line items - at the start, in the middle, at the end, randomly? we need to make sure that everything stays lined up (sort order and display). - if we remove items from a cart, we may have to re-evaluate the sort options. ------------------------ stuff from bryan... we may or may not use this session.lineGrouping_st session.selectedGroupDescriptor1 session.selectedGroupDescriptor2 session.selectedGroupDescriptor3 settings from bryan... default form fields. this was a good search... it returned a number of good records... in top_secret/ search for this... without the quotes.. "myLineItems_array = ArrayNew" - secure/add_unit_to_cart.cfm - secure/duplicate_to_cart.cfm - secure/quote_to_cart.cfm - secure/add_to_cart.cfm need to check retCartLine_st, retTransferCartLine_st - secure/review_cart.cfm - cfc/cart_4.cfc - thinking that we should keep the default line sort to 100 unless using groupings. - there are some functions that add lines after the fact... rounding or extra fees... maybe look at that. what about conversions between one sub and another (update_cart_3.cfm)? - when we start dealing with auto sorting... we may need some other session values. haven't prepped those yet. in our scratch file, we ended up with some other arrays that held the original values and some that held the mapped values (based on sorts). anyways, just making a note. we could also leave everything alone and only sort things if needed (manual or just in time). - wholesale cart for stock/units, transition invoice, internal repair, transfer... haven't tested those yet. i did check this and it works... not the smoothest for stock/unit stuff but i did check each of these types. - small error on showing the sorts for list look-ups - demo with suzi on 5/6/24 - possible bolds for mains, able to get back to the items and their subs. - need for a lable with all of the things - disolvable lables - levels of control for the users - on the my cart favorites... take out the jump links. (done) - the back button (on the split cart)- really fix it to be an up level (based on buttons) - they need a way to flip flop between customer invoices and counter sales (either a switch or a new link on the add customer record). - question... what if the users puts a value like sort order number 500? what if we are only in the 100 or 200 range. do we care or will it just put the 500 value at the very end, no matter what?