:: Forums :: Discussions :: EasyShop - general
 
<< Previous thread | Next thread >>
EasyShop v1.2 RC6 - a few Questions/Problems
Moderators: nlstart
This thread is now closed
Author Post
NeoDeGenero
Registered Member #701
Joined:
Posts: 2
Hi, i ran into a few problems with EasyShop (using WAMP)

1. i can't see my "checkout" button with many of the default themes that comes with the latest e107
edit: well obviously i need to set up an paypal account for it, but is there a way around this? (see PS)
2. Am i able to set the amount of certain product that i want?
3. in Admin section, when i click on "ShopMonitor"
it just gives me a alot of code as below:


"; $text .= "
"; // Display active products header $text .= ""; // Display inactive products header $text .= ""; // Display active Product Categories header $text .= ""; // Display inactive Product Categories header $text .= ""; // Display number of images header // Build array with all images to choose from $sql->db_Select(DB_TABLE_SHOP_PREFERENCES); while($row = $sql-> db_Fetch()){ $store_image_path = $row['store_image_path']; } require_once(e_HANDLER."file_class.php"); $fl = new e_file; if($image_array = $fl->get_files(e_PLUGIN."easyshop/".$store_image_path, ".gif|.jpg|.png|.GIF|.JPG|.PNG","standard",2)){ sort($image_array); } $image_count = count($image_array); $text .= ""; $text .="
".EASYSHOP_MONITOR_01."
".EASYSHOP_MONITOR_02."     "; // Count active products $prod_count = $sql->db_Count(DB_TABLE_SHOP_ITEMS, "(*)", "WHERE item_active_status = '2'"); // If active product count is zero than display error message if(!$prod_count){$text .= "".EASYSHOP_MONITOR_03."";} else { $text .= $prod_count;} $text .="
".EASYSHOP_MONITOR_04."     "; // Count inactive products $text .= $sql->db_Count(DB_TABLE_SHOP_ITEMS, "(*)", "WHERE item_active_status = '1'"); $text .="
".EASYSHOP_MONITOR_05."     "; // Count active Product Categories $text .= $sql->db_Count(DB_TABLE_SHOP_ITEM_CATEGORIES, "(*)", "WHERE category_active_status = '2'"); // or die(mysql_error()); $text .="
".EASYSHOP_MONITOR_06."     "; // Count inactive Product Categories $text .= $sql->db_Count(DB_TABLE_SHOP_ITEM_CATEGORIES, "(*)", "WHERE category_active_status = '1'"); $text .="
Total number of images in folder ".$store_image_path."     "; // Display count number of images $text .= $image_count; $text .="
"; /* // Another table for future references e.g. order information $text .= " 
"; // Order info, Show orders waiting for approval $text .= ""; // Order info, show Total completed orders $text .= ""; // Order info, show Total offline orders $text .= ""; // Order info, show Total orders $text .= ""; $text .="
".EASYSHOP_MONITOR_07."
".EASYSHOP_MONITOR_08."     "; $sql2 = new db; $i = 0; $sql2->db_Select(DB_TABLE_SHOP_ORDERS, "*", "order_status<>'C' GROUP BY order_number"); while($row2=$sql2->db_Fetch()) { $i++; } $text .= $i; $text .="
".EASYSHOP_MONITOR_09."     "; $sql2 = new db; $i = 0; $sql2->db_Select(DB_TABLE_SHOP_ORDERS, "*", "order_status='C' GROUP BY order_number"); while($row2=$sql2->db_Fetch()) { $i++; } $text .=$i."
".EASYSHOP_MONITOR_10."     "; $sql2 = new db; $i = 0; $sql2->db_Select(DB_TABLE_SHOP_ORDERS, "*", "channel='offline' GROUP BY order_number"); while($row2=$sql2->db_Fetch()) { $i++; } $text .=$i."
".EASYSHOP_MONITOR_11."     "; $sql2 = new db; $i = 0; $sql2->db_Select(DB_TABLE_SHOP_ORDERS, "*", "order_id > 0 GROUP BY order_number"); while($row2=$sql2->db_Fetch()) { $i++; } $text .=$i."
"; */ // Close the HTML wrap table $text .=""; // Render the value of $text in a table. $ns->tablerender(EASYSHOP_MONITOR_00, $text); require_once(e_ADMIN."footer.php"); ?>



Please help ><


ps.
What i really want to do is set up a simple internal inventory order system on e107.
eg. If someone wants 50 phamplets on something, they can use this and request it, and the shipping department will get the request and dispatch it.
Back to top
 

Jump:     Back to top

Syndicate this thread: rss 0.92 Syndicate this thread: rss 2.0 Syndicate this thread: RDF
Powered by e107 Forum System