Jump to content

akasharkbow

Members
  • Content count

    50
  • Joined

  • Last visited

1 Follower

Profile Information

  1. akasharkbow

    New UPS XML Shipping Module available

    Hello there. I installed this module and it seems to be working OK. The only problem I get is when I ship from the US to Canada I get the following error: 270013: Invalid Shipment Contents Value. I did a search and noticed a few other people also got the same error number but I didn't see any sort of solution for it. Any ideas? Thanks for your help. David J.
  2. akasharkbow

    Multi_Vendor_Shipping new thread

    I think that is a great idea but you have the problem of people will think that because they are ordering both products from you then they will be shipped from one warehouse. Store owners will need to make sure that they word it properly so that people understand that they will need to make two selections here and an error message if they fail to select the shipping type for the second option. Is there a way to make it so that you selection a method of shipping for the first one and it also selects the same shipping option for the second item which chould be overridded if the customer chooses to? Does that make sense? I am only thinking it because people are generally stupid and don't read as it is. Cheers, David J.
  3. akasharkbow

    [Contribution]Paypal IPN - Devosc

    I was having the same problem and I fixed it by making sure that I had the proper email address that was registered with the paypal developers network. Hope it helps. David J.
  4. akasharkbow

    [Contribution]Paypal IPN - Devosc

    Hello there. I was sifting through the last several pages of the topic and thre was mention of version 2.9. I can't seem to find it. Has it been released? I am also getting the error in the order summery: No PayPal Transaction Information Available () Thanks so much for your help. Cheers, David
  5. Hello there. I search through this topic but I couldn't really find the answer. Evertime I edit an item and move it to another category through easy populate, it shows up in both categories so that I have the same item linked with multiple categories. Does anybody have any suggestions? Cheers, David H. Johnston
  6. akasharkbow

    Multi_Vendor_Shipping new thread

    No worries. I will keep an eye out for it. I found something that will work for the time being. Thanks again for your great work! Cheers, David
  7. akasharkbow

    Multi_Vendor_Shipping new thread

    Thanks so muc for letting me know. Thinking I made a giant mistake. I reinstalled it and still got the same error. The big problem I get is when I try to set up my shipping methods and it konks out. Here is a screen shot: There seems to be some language parts missing and I am missing the right colum to edit the shipping. Any ideas? Thanks for your help. David
  8. akasharkbow

    Multi_Vendor_Shipping new thread

    Hello all. I downloaded the latest version of the contribution but it gave me quite a bit of errors. Sifting through this conversation, I noticed several coding changes. Is there going to be an updated version posted with a summery of the changes? I would be willing to help with some of the payment for this if somebody can help me out. It is the final step in getting my store up and running. Cheers, David
  9. akasharkbow

    Browse by Categories

    Thanks for the reply. Yes, we have two main categories with sub and sub categories below them. The "Browse by Pattern" is going to end up similar to the other category except that we haven't added all the categories in yet so for now they are only what you see. I am using the latest version for your code and on that one particular one, I comments or removed the code to pull out the to category image and left just the text. I can't remember how I did it but I was making minor changes and checking how appeared and as soon as it went away, I moved on to a different section. You can see the table border=1 box if you look in between the categories. In this case go to the bottom below the vases categories and at the very very bottom under "Red & Lime". Cheers, David
  10. akasharkbow

    Browse by Categories

    Hello there. Thanks so much so much for your help. I changed the coding for you but I didn't help. I wanted to see where the table actually showed up so I added in a border=1 and the tables show up at the end of the category. You can view it her: www.dottipotts.com/store Cheers, David /* *tab-width=2 *indent=2 *width=132 */ ?> <!-- browse_categories !--> <?php require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_BROWSE_CATEGORIES); //DWD Comment: Select Heading Text for Content Box based on current category. if ( (!isset($browse_category_id)) || ($browse_category_id == '0') ) { $browse_category_id = 0; $browse_category_heading = BOX_HEADING_BROWSE_TOP_CATEGORIES; } else { $browse_category_heading = BOX_HEADING_BROWSE_SUB_CATEGORIES; } // Checks to see if current category level is top or sub. //DWD Comment: Select all categories of current level. $categories_query = "select c.categories_id, cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id ='" . $languages_id . "' and c.parent_id = '" . $browse_category_id . "' order by c.sort_order, cd.categories_name"; $arr_current_categories_query = tep_db_query($categories_query); //DWD Comment: Only show content box if there are categories at this level. if ((tep_db_num_rows($arr_current_categories_query) > 0) and (BRWCAT_ICON_MODE != 'off')) { //DWD Comment: Select parent category of current level. $parent_query = "select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = cd.categories_id and cd.language_id ='" . $languages_id . "' and c.categories_id = '" . $browse_category_id . "'"; $arr_parent_category_query = tep_db_query($parent_query); $parent_category = tep_db_fetch_array($arr_parent_category_query); if ($parent_category['parent_id'] > 0) { //DWD Fix -> Change: Browse to parent category link from 3rd level categories to 2nd level category. //DWD Comment: azer Bug Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 $content_box_text_parent = '<a href="' . tep_href_link(FILENAME_DEFAULT . '?cPath=' . $parent_category['parent_id'], '', 'NONSSL') . '">' . TEXT_BROWSE_PARENT_CATEGORY . $parent_category['categories_name'] . '</a>'; //DWD Fix End. } else if ($browse_category_id > 0) { $content_box_text_parent = '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . TEXT_BROWSE_TOP_CATEGORY . '</a>'; } else { // Top Category Level is 0, don't print back text. } $content_box_contents = array(); $content_box_contents[] = array('align' => 'left', 'text' => $browse_category_heading); new contentBoxHeading($content_box_contents, true, true); $content_box_contents = array(); $content_box_contents[][] = array('align' => 'left', 'params' => 'class="smallText" valign="top" colspan=2"', 'text' => $content_box_text_parent); $row = 1; $col = 0; while ($current_categories = tep_db_fetch_array($arr_current_categories_query)) { $cPath_cur = tep_get_path($current_categories['categories_id']); //DWD Comment: Apply Category Name Case setting to current category name. if (BRWCAT_NAME_CASE == 'same') { $current_category_name = $current_categories['categories_name']; } else { if (BRWCAT_NAME_CASE == 'upper') { $current_category_name = strtoupper($current_categories['categories_name']); } else if (BRWCAT_NAME_CASE == 'lower') { $current_category_name = strtolower($current_categories['categories_name']); } else if (BRWCAT_NAME_CASE == 'title') { $current_category_name = ucwords($current_categories['categories_name']); } else { //DWD Comment: Unknown Category Name Case. } } //DWD Comment: Select all Sub-Categories of Top-Category (Parent ID equal to Category ID). if (BRWCAT_SUBCAT_MODE != 'off') { //DWD Comment: Sort rows by Sort Order and then Name. $sub_query = "select c.categories_id, cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id='" . $languages_id . "' and c.parent_id ='" . $current_categories['categories_id'] . "' order by c.sort_order, cd.categories_name"; $arr_sub_categories_query = tep_db_query($sub_query); //DWD Comment: Split Sub-Category Mode in bottom or right/valign. $arr_sub_category_mode = explode(' ', BRWCAT_SUBCAT_MODE); //DWD Comment: Build Sub Category Links. $sub_category_links = '<center><table border=1 cellspacing="10" cellpadding="0">'; //akasharkbow: Change CellSpacing and CellPadding if (tep_db_num_rows($arr_sub_categories_query) > 0) { $sub_icons_per_row = 1; $sub_category_links .= '<tr>'; while ($sub_categories = tep_db_fetch_array($arr_sub_categories_query)) { $cPath_new_sub = $cPath_cur . '_' . $sub_categories['categories_id']; //DWD Fix -> Change: Use Bullet Setting from Configuration Table. //DWD Comment: azer Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299576 $sub_category_links .= ' <a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new_sub, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $sub_categories['categories_image'], $sub_category_name, SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a><BR><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new_sub, 'NONSSL') . '">' . $sub_categories['categories_name'] . '</A>'; //DWD Fix End. //DWD Comment: Spaceboy Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=298901 //DWD Comment: Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299903 if (BRWCAT_SUBCAT_COUNTS != '') { $products_in_category = tep_count_products_in_category($sub_categories['categories_id']); if ($products_in_category > 0) { $sub_category_links .= sprintf(' ' . BRWCAT_SUBCAT_COUNTS, $products_in_category); } } //DWD Fix End. //DWD Comment: Separate the current sub-category link from the next one. //DWD Comment: Separator depends on the sub-category mode. if ($arr_sub_category_mode[0] == 'right') { $sub_category_links .= '<br>'; } else { if ($sub_icons_per_row >= 2) { //akasharkbow: Use the value that better suits your content box width. $sub_category_links .= '</td></tr>'; $sub_icons_per_row = 2; } else { $sub_category_links .= '</td>'; $sub_icons_per_row++; } } // Inner If: Build Sub Category Links when Position is RIGHT. } // While Loop: Fetch all Query Rows. Each row is a Sub Category of current level Category. if ($sub_icons_per_row > 1) { $sub_category_links .= ' </tr>'; } $sub_category_links .= '</table></center>'; } // Middle If: Build Sub Category Links if they exist. } // Outer If: Build Sub Category Links if enabled by Configuration Settings. if ($arr_sub_category_mode[0] == 'right') { $table_cell_width = (100 / 1 / 2) . '%'; } else { $table_cell_width = (100 / 1) . '%'; } //DWD Comment: BRWCAT_ICON_MODE is set on Control Panel: Configuration->My Store. //DWD Comment: If Mode is set as image only then the category name will be displayed on top of sub-category links. //DWD Comment: azer Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 //DWD Comment: Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299903 if (BRWCAT_ICON_MODE == 'text') { $content_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', 'text' => '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '"><b>' . $current_category_name . '</b></a>'); } else if (BRWCAT_ICON_MODE == 'image only') { $content_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', 'text' => '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $current_categories['categories_image'], $current_category_name, SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>'); $sub_category_links = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '"><b>' . $current_category_name . '</b></a><br>' . $sub_category_links; } else if (BRWCAT_ICON_MODE == 'image with caption') { $content_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', 'text' => '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $sub_categories['categories_image'], $current_category_name, SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '"><b>' . $current_category_name . '</b></a>'); } else { // Unknown Browse by Categories Content Box Type. } // Checks Type of Content Box for Browse by Categories. if ($arr_sub_category_mode[0] == 'right') { $content_box_contents[$row][$col + 1] = array('align' => 'left', 'params' => 'class="smallText" valign="' . $arr_sub_category_mode[1] . '" width="' . $table_cell_width . '"', //DWD Fix -> Change: Show blank table cell when category has no sub-categories. //DWD Comment: azer Bug Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 'text' => ($sub_category_links == '' && BRWCAT_SUBCAT_MODE != 'off') ? ' ' : $sub_category_links); //DWD Fix End. $col = $col + 2; if ($col >= 1 * 2) { $col = 0; $row++; } } else { $content_box_contents[$row + 1][$col] = array('align' => 'left', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', //DWD Fix -> Change: Show blank table cell when category has no sub-categories. //DWD Comment: azer Bug Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 'text' => ($sub_category_links == '' && BRWCAT_SUBCAT_MODE != 'off') ? ' ' : $sub_category_links); //DWD Fix End. $col++; if ($col >= 1) { $col = 0; $row = $row + 2; } } // Inner If: Set Content Box contents based on Sub Categories Position } // While Loop: Grab all current level Categories. new contentBox($content_box_contents); } // Check if there are categories at this level. ?> <!-- browse_categories_eof !-->
  11. akasharkbow

    Browse by Categories

    I added in the code but I couldn't get it to work. I am not sure if something is canceling something else out so I posted my code below. I thought about your suggestion about having images three across. You are right, that wouldn't work so two across is perfect. Again, thanks for your help. David /* *tab-width=2 *indent=2 *width=132 */ ?> <!-- browse_categories !--> <?php require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_BROWSE_CATEGORIES); //DWD Comment: Select Heading Text for Content Box based on current category. if ( (!isset($browse_category_id)) || ($browse_category_id == '0') ) { $browse_category_id = 0; $browse_category_heading = BOX_HEADING_BROWSE_TOP_CATEGORIES; } else { $browse_category_heading = BOX_HEADING_BROWSE_SUB_CATEGORIES; } // Checks to see if current category level is top or sub. //DWD Comment: Select all categories of current level. $categories_query = "select c.categories_id, cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id ='" . $languages_id . "' and c.parent_id = '" . $browse_category_id . "' order by c.sort_order, cd.categories_name"; $arr_current_categories_query = tep_db_query($categories_query); //DWD Comment: Only show content box if there are categories at this level. if ((tep_db_num_rows($arr_current_categories_query) > 0) and (BRWCAT_ICON_MODE != 'off')) { //DWD Comment: Select parent category of current level. $parent_query = "select c.categories_id, cd.categories_name, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = cd.categories_id and cd.language_id ='" . $languages_id . "' and c.categories_id = '" . $browse_category_id . "'"; $arr_parent_category_query = tep_db_query($parent_query); $parent_category = tep_db_fetch_array($arr_parent_category_query); if ($parent_category['parent_id'] > 0) { //DWD Fix -> Change: Browse to parent category link from 3rd level categories to 2nd level category. //DWD Comment: azer Bug Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 $content_box_text_parent = '<a href="' . tep_href_link(FILENAME_DEFAULT . '?cPath=' . $parent_category['parent_id'], '', 'NONSSL') . '">' . TEXT_BROWSE_PARENT_CATEGORY . $parent_category['categories_name'] . '</a>'; //DWD Fix End. } else if ($browse_category_id > 0) { $content_box_text_parent = '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '">' . TEXT_BROWSE_TOP_CATEGORY . '</a>'; } else { // Top Category Level is 0, don't print back text. } $content_box_contents = array(); $content_box_contents[] = array('align' => 'left', 'text' => $browse_category_heading); new contentBoxHeading($content_box_contents, true, true); $content_box_contents = array(); $content_box_contents[][] = array('align' => 'left', 'params' => 'class="smallText" valign="top" colspan=2"', 'text' => $content_box_text_parent); $row = 1; $col = 0; while ($current_categories = tep_db_fetch_array($arr_current_categories_query)) { $cPath_cur = tep_get_path($current_categories['categories_id']); //DWD Comment: Apply Category Name Case setting to current category name. if (BRWCAT_NAME_CASE == 'same') { $current_category_name = $current_categories['categories_name']; } else { if (BRWCAT_NAME_CASE == 'upper') { $current_category_name = strtoupper($current_categories['categories_name']); } else if (BRWCAT_NAME_CASE == 'lower') { $current_category_name = strtolower($current_categories['categories_name']); } else if (BRWCAT_NAME_CASE == 'title') { $current_category_name = ucwords($current_categories['categories_name']); } else { //DWD Comment: Unknown Category Name Case. } } //DWD Comment: Select all Sub-Categories of Top-Category (Parent ID equal to Category ID). if (BRWCAT_SUBCAT_MODE != 'off') { //DWD Comment: Sort rows by Sort Order and then Name. $sub_query = "select c.categories_id, cd.categories_name, c.categories_image from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id = cd.categories_id and cd.language_id='" . $languages_id . "' and c.parent_id ='" . $current_categories['categories_id'] . "' order by c.sort_order, cd.categories_name"; $arr_sub_categories_query = tep_db_query($sub_query); //DWD Comment: Split Sub-Category Mode in bottom or right/valign. $arr_sub_category_mode = explode(' ', BRWCAT_SUBCAT_MODE); //DWD Comment: Build Sub Category Links. $sub_category_links = ''; if (tep_db_num_rows($arr_sub_categories_query) > 0) { $sub_icons_per_row = 1; while ($sub_categories = tep_db_fetch_array($arr_sub_categories_query)) { $cPath_new_sub = $cPath_cur . '_' . $sub_categories['categories_id']; //DWD Fix -> Change: Use Bullet Setting from Configuration Table. //DWD Comment: azer Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299576 $sub_category_links .= ' <a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new_sub, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $sub_categories['categories_image'], $sub_category_name, SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a><BR><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new_sub, 'NONSSL') . '">' . $sub_categories['categories_name'] . '</A>'; //DWD Fix End. //DWD Comment: Spaceboy Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=298901 //DWD Comment: Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299903 if (BRWCAT_SUBCAT_COUNTS != '') { $products_in_category = tep_count_products_in_category($sub_categories['categories_id']); if ($products_in_category > 0) { $sub_category_links .= sprintf(' ' . BRWCAT_SUBCAT_COUNTS, $products_in_category); } } //DWD Fix End. //DWD Comment: Separate the current sub-category link from the next one. //DWD Comment: Separator depends on the sub-category mode. if ($arr_sub_category_mode[0] == 'right') { $sub_category_links .= '<br>'; } else { if ($sub_icons_per_row < 3) { $sub_category_links .= ' '; $sub_icons_per_row = 1; } else { $sub_category_links .= '<br>'; $sub_icons_per_row++; } } // Inner If: Build Sub Category Links when Position is RIGHT. } // While Loop: Fetch all Query Rows. Each row is a Sub Category of current level Category. } // Middle If: Build Sub Category Links if they exist. } // Outer If: Build Sub Category Links if enabled by Configuration Settings. if ($arr_sub_category_mode[0] == 'right') { $table_cell_width = (100 / 1 / 2) . '%'; } else { $table_cell_width = (100 / 1) . '%'; } //DWD Comment: BRWCAT_ICON_MODE is set on Control Panel: Configuration->My Store. //DWD Comment: If Mode is set as image only then the category name will be displayed on top of sub-category links. //DWD Comment: azer Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 //DWD Comment: Feature Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299903 if (BRWCAT_ICON_MODE == 'text') { $content_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', 'text' => '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '"><b>' . $current_category_name . '</b></a>'); } else if (BRWCAT_ICON_MODE == 'image only') { $content_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', 'text' => '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $current_categories['categories_image'], $current_category_name, SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>'); $sub_category_links = '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '"><b>' . $current_category_name . '</b></a><br>' . $sub_category_links; } else if (BRWCAT_ICON_MODE == 'image with caption') { $content_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', 'text' => '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '">' . tep_image(DIR_WS_IMAGES . $sub_categories['categories_image'], $current_category_name, SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a><br><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_cur, 'NONSSL') . '"><b>' . $current_category_name . '</b></a>'); } else { // Unknown Browse by Categories Content Box Type. } // Checks Type of Content Box for Browse by Categories. if ($arr_sub_category_mode[0] == 'right') { $content_box_contents[$row][$col + 1] = array('align' => 'left', 'params' => 'class="smallText" valign="' . $arr_sub_category_mode[1] . '" width="' . $table_cell_width . '"', //DWD Fix -> Change: Show blank table cell when category has no sub-categories. //DWD Comment: azer Bug Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 'text' => ($sub_category_links == '' && BRWCAT_SUBCAT_MODE != 'off') ? ' ' : $sub_category_links); //DWD Fix End. $col = $col + 2; if ($col >= BRWCAT_ICONS_PER_ROW * 2) { $col = 0; $row++; } } else { $content_box_contents[$row + 1][$col] = array('align' => 'left', 'params' => 'class="smallText" valign="top" width="' . $table_cell_width . '"', //DWD Fix -> Change: Show blank table cell when category has no sub-categories. //DWD Comment: azer Bug Request Link -> http://forums.oscommerce.com/index.php?showtopic=65657&view=findpost&p=299469 'text' => ($sub_category_links == '' && BRWCAT_SUBCAT_MODE != 'off') ? ' ' : $sub_category_links); //DWD Fix End. $col++; if ($col >= BRWCAT_ICONS_PER_ROW) { $col = 0; $row = $row + 2; } } // Inner If: Set Content Box contents based on Sub Categories Position } // While Loop: Grab all current level Categories. new contentBox($content_box_contents); } // Check if there are categories at this level. ?> <!-- browse_categories_eof !-->
  12. akasharkbow

    Browse by Categories

    Interesting topic. What I decided to do origionally was to copy the file "browse_categories.php" and renamed it "browse_categories_index.php". I then adjusted the code so that the index page would only pull from the new file. Though probably not the mose efficient, it allowed me to play away and mess up the index page while the rest of the site still stayed excatally right. I will try your new code and let you know. how it turned out. Cheers, David
  13. akasharkbow

    Browse by Categories

    Hello there. I am modifying the index page so that it pulls the sub categories rather then the main category. You can see a demo here: http://www.dottipotts.com/store/ I only have two main categories with everything nested under it. That is why I want to pull the sub categories. I got it going. Right now it has the sub categories images listed below each other. I would rather have them sitting side by side in a table set up. I would love it if I could have it in a table with three rows. Eg. Category One Image 1 | Image 2 | Image 3 Image 4 | Image 5 | Image 6 Image 7 | Image 8 | Image 9 Category Two Image 1 | Image 2 | Image 3 Image 4 | Image 5 | Image 6 Image 7 | Image 8 | Image 9 Any help that you can give would be greatly appreciated. Cheers, David
  14. akasharkbow

    Browse by Categories

    Hello there. Great contribution. It installed really easy. I want to adjust the box so that it doesn't sit within the box. How do I go about doing that? I just want to get rid of the title bar and border. Here is the example: www.dottipotts.com/store Thanks so much for your help. Cheers, David
  15. Hello all. I have been searching but I couldn't find it. Maybe it is there but sore eyes... The module is working properly but I am having a few minor problems. I can't see the cc expiry date when I go into the customers order in the admin side. All the other fields show up. The expiry dates are showing up in phpmyadmin so I am guessing that it is just looking in the wrong place. Any ideas? Also, I enables the CVV part of the module but I can type in any number and it goes through. I was under the impression that would kick back an error if I did that. Also in the front end. When I activate all the validation options, I get the mini pop-up link for the CVV but when I knock off one of them, it disappears. Any ideas on that one? Thanks so much for your help. David
×