Aodhan Posted January 22, 2003 Share Posted January 22, 2003 Fixed the minor bug noted in the virtual mall thread. Previously entered products did not automatically select the store in the drop down box when editing them in the admin section. This contains the updated instructions to make this happen. Aodhan Quote Link to comment Share on other sites More sharing options...
arames Posted January 26, 2003 Share Posted January 26, 2003 Just a few question.... Under my store I want to sell: MoviesGames Watches Music CDs Books And of course under each Category there is for example, "Crimi Books", "Religion Books" and so on... the same for Music "Country", "Techno " ect... so is it possible with this contribution? p.s: I want to creat a store like http://www.amazon.com/ or http://www.adabwafan.com/ any help pleeeease :oops: Quote Link to comment Share on other sites More sharing options...
arames Posted January 26, 2003 Share Posted January 26, 2003 Still no answer to my question ... :cry: Quote Link to comment Share on other sites More sharing options...
rseigel Posted January 27, 2003 Share Posted January 27, 2003 It's Super Bowl Sunday. Don't count on it today. :wink: Quote Link to comment Share on other sites More sharing options...
arames Posted January 27, 2003 Share Posted January 27, 2003 Damn I completly forgot..... here in Germany they are more interested in Soccer :) Quote Link to comment Share on other sites More sharing options...
Parikesit Posted March 3, 2003 Share Posted March 3, 2003 All work but I recive an error when checkout: Parse error: parse error, unexpected T_IF in f:wwwroothtmlcvs20020620catalogcheckout_process.php This was: $store_index = $order->products[$i]['store_id'] if (is_array($store_totals[$store_index])) { //------- Stuff the store array with the data needed to create individual store emails------ $store_totals[$store_index]['store_products'] .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "n"; $store_totals[$store_index]['store_weight'] += ($order->products[$i]['qty'] * $order->products[$i]['weight']); $store_totals[$store_index]['store_tax'] += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty']; $store_totals[$store_index]['store_cost'] += $total_products_price; } else { $store_totals[$store_index]['store_id'] = $order->products[$i]['store_id']; $store_totals[$store_index]['store_products'] .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "n"; $store_totals[$store_index]['store_weight'] += ($order->products[$i]['qty'] * $order->products[$i]['weight']); $store_totals[$store_index]['store_tax'] += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty']; $store_totals[$store_index]['store_cost'] += $total_products_price; } Acctually, I do not really sure where I have to put above lines. I try several ways, but still have an error, like below: //------insert customer choosen option eof ---- $total_weight += ($order->products[$i]['qty'] * $order->products[$i]['weight']); $total_tax += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty']; $total_cost += $total_products_price; //HERE I PUT THE CODE OR below: //------insert customer choosen option eof ---- $total_weight += ($order->products[$i]['qty'] * $order->products[$i]['weight']); $total_tax += tep_calculate_tax($total_products_price, $products_tax) * $order->products[$i]['qty']; $total_cost += $total_products_price; $products_ordered .= $order->products[$i]['qty'] . ' x ' . $order->products[$i]['name'] . ' (' . $order->products[$i]['model'] . ') = ' . $currencies->display_price($order->products[$i]['final_price'], $order->products[$i]['tax'], $order->products[$i]['qty']) . $products_ordered_attributes . "n"; } //HERE I PUT THE CODE Thank's for help Quote recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
Parikesit Posted March 3, 2003 Share Posted March 3, 2003 Oh ya... I try in CVS#20020620 and aslo MS1 Parikesit Quote recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
Parikesit Posted March 4, 2003 Share Posted March 4, 2003 I have found the bug! You forget to add semicolon after $store_index = $order->products[$i][‘store_id’] in Mall_Instructions.doc: $store_index = $order->products[$i][‘store_id’]; Parikesit Quote recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
Parikesit Posted March 4, 2003 Share Posted March 4, 2003 Sorry, $store_index = $order->products[$i]['store_id']; Quote recent contributions: mySQLi extension for osc 2.X, OPI: advanced image handling (ajax, thumbnail, watermark, etc), and other contributions all here Link to comment Share on other sites More sharing options...
jaysin Posted April 19, 2003 Share Posted April 19, 2003 I I tried to Use this contribution but Have two errors 1) I am getting Parse error: parse error, unexpected $ in easyphpwwwcatalogcheckout_process.php on line 343 where as I only have ?> at that line. 2) In all the insertions of demonstration products, add a value of 1 after the last current value. Example: INSERT INTO products VALUES (1,32,'MG200MMS','matrox/mg200mms.gif',299.99, now(),null,'',23.00,1,1,1,0,1); I get error in Mysql saying unable to add column in row. I am trying to use this with MS1 Any Help :roll: [/b] Quote Link to comment Share on other sites More sharing options...
Guest Posted March 24, 2004 Share Posted March 24, 2004 Hiyas I installed the version 1.2 of this contrib on OSC MS2. just 2 problems 1. when i login into admin and click the "login" button it says page cant be displayed but if i refresh its ok from then on. My test store owners cant login at all. 2. when i try to create a admin (store owner) with permissions to only access a store i get this error Warning: implode(): Bad arguments. in C:\files\web sites files\mall\admin\administrators.php on line 21 Warning: Cannot modify header information - headers already sent by (output started at C:\files\web sites files\mall\admin\administrators.php:21) in C:\files\web sites files\mall\admin\includes\functions\general.php on line 18 this is the code from around line 21 in administrators.php if ($administrators_adm_type == 'all' ) { $aPages = '*'; } else { $aPages = implode( '|', $administrators_adm_pages ); } tep_db_query("update " . TABLE_ADMINISTRATORS . " set administrators_username = '" .tep_db_input($administrators_username) . "', administrators_password = '" . tep_db_input($administrators_password) . "', administrators_allowed_pages = '" . tep_db_input($aPages) . "', store_id = '" . (int)$store_id . "' where administrators_id = '". (int)$administrators_id . "'"); tep_redirect(tep_href_link('administrators.php', tep_get_all_get_params(array('cID', 'action')))); break; any ideas ? thanx heaps :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.