The following warnings occurred:
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 783 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 783 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $newpmmsg - Line: 40 - File: global.php(841) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(841) : eval()'d code 40 errorHandler->error
/global.php 841 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 909 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 909 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5024 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5024 errorHandler->error
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "additionalgroups" - Line: 7162 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 7162 errorHandler->error
/inc/functions.php 5044 is_member
/global.php 909 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1415 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1415 errorHandler->error
/inc/functions.php 1370 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Form Tools
using formtools to intregrate with a shopping cart - Printable Version

+- Form Tools (https://forums.formtools.org)
+-- Forum: Form Tools (https://forums.formtools.org/forumdisplay.php?fid=1)
+--- Forum: API (https://forums.formtools.org/forumdisplay.php?fid=17)
+--- Thread: using formtools to intregrate with a shopping cart (/showthread.php?tid=2547)



using formtools to intregrate with a shopping cart - vlscottsr - Aug 1st, 2013

I have a heavily involved order form which I am trying to use "session" to recycle the form if neccessary. Example - customer wants to order 2 items. They order the first item and it goes to the cart and now they want to order another item so they are taken back to the first page of the order form to "start over" and order the next item. The setup works when tested individually and when it used one time. There are 3 "pages" - the order form (1 page), passes info to the confirmation page (1 page) and if everything is correct, then passes the info to the shopping cart (1 page). The idea that I am interested in is this - to be able to set the "sessions" using the API on the first 2 forms and when it is sent to the cart that the "sessions" end so that when the customer goes back to "start" the process over, that "sessions" will recognize that it needs to set "session" again and so forth. The shopping cart would then be set with its own "session" seperate from the form per se. I know how to start and end sessions but with the API process, I want to be able to end the current sessions but still have it put through the info that is needed for the cart. Reasoning for the question is that the "cart" would take the place of the "thank you" page and being that it is still an active page and not a static page, I am not real sure how just simply processing it as the thank you page will work. Any comments on this idea would be greatly appreciated. Thank you for your most valueable time.