Hi Marcus;
Wanted to ask if you encountered this:
Code: Select all
Call to undefined function: wf_get_info() in C:\Program Files\Apache Group\Apache2\htdocs\phpwcms_dev_123\include\inc_module\mod_cart\inc_lib\cart.class.php on line 73
I did a search for the function within my installation....and the only place the function is listed is in inc_lib/cart.class.php - basically the function is called here (not defined), ....might there be a file missing or a commented line of some sort.
Working in dev 1.2.3 (I commneted out session_name('hashID')
If you have any insights, please post.....
Cheers,
UPDATE: Was able to comment out the call to the function (seems that the original source -webforce has this bug too) and was able to bypass error being thrown. Did notice that price itself is created at article level. Was hoping that price could be available more at the 'database level'...that could be accessed globally within wcms, since I have a special forms-based requirement to list all items with checkboxes, kind of like an enquiry form rather than a shopping cart proper.
.....nonetheless the system does work.
Did have one question, which is rediection after adding item. At present this is not working (might be a quirk of my local installation.
Code: Select all
<form method=\"post\" action=\"" .$_SERVER["PHP_SELF"]."\">
so I changed to:
Code: Select all
<form method=\"post\" action=\"".$_SERVER['REQUEST_URI']."\">
and is now working, refreshing to same page.....
would be nice if article display indicates that the item was added....guessing this could be added to addCart () function, simply looking for preset Sessions ($item['qty']) based on article ID....
