Jump to content

DimeNote

Members
  • Content count

    139
  • Joined

  • Last visited

Everything posted by DimeNote

  1. DimeNote

    [contribution] Simple Template System (sts)

    Does anyone know why these would be kicked out as errors?
  2. DimeNote

    [contribution] Simple Template System (sts)

    Hello, I'm not sure where to post this but I'm trying to sort through some errors kicked out by KissER from FWR Media. I am getting errors that read like the following: Error Type: [E_NOTICE] Undefined index: sts_debug Error Type: [E_NOTICE] Undefined index: sts_template Both of these errors reference the following code: function update_from_url () { // Allow Debugging control from the URL if ($_GET['sts_debug'] == MODULE_STS_DEBUG_CODE) { $this->display_debug_output = true; } // Defines constants needed when working with templates if ($_GET['sts_template']) { $this->template_folder = $_GET['sts_template']; } else { $this->template_folder = MODULE_STS_TEMPLATE_FOLDER; } } Any ideas as to what the problem may be? Thanks.
  3. Hello, My question involves the contribution "Select Specials" (http://addons.oscommerce.com/info/2044). I have added the code to make it work with SPPC but I'm wondering if there is a way to alter the code so that there is an option to set the special for all customer groups at once. As it is now I have to add the special for each individual customer group. Any ideas or suggestions? Thanks.
  4. DimeNote

    Select Specials for SPPC

    Does anyone know where I find some guidance on this? Thanks.
  5. DimeNote

    Select Specials for SPPC

    I'm wondering if it's even possible... anyone have any ideas on where I would begin? Thanks.
  6. Hello, Just wondering if someone could explain a bit of code for me...? I'm wondering what purpose this bit of code has: in product_listing.php we are asked to add if (isset($pw_mispell)){ //added for search enhancements mod ?> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr><td><?php echo $pw_string; ?></td></tr> </table> <?php } //end added search enhancements mod I don't understand what this does. Thanks.
  7. DimeNote

    Seperate Pricing Per Customer v3.5

    Alright, I think I may have something here: $sppc_query = "select p.products_id, p.products_model, pd.products_name, pg.customers_group_id, pg.customer_group_price from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd, " . TABLE_PRODUCTS_GROUPS . " pg where p.products_id = pd.products_id and p.products_id = pg.products_id and pg.customers_group_id = " . $customer_group_id . " order by p.products_model"; This seems to return all of the correct information in phpMyAdmin. Am I on the right track with this?
  8. DimeNote

    Seperate Pricing Per Customer v3.5

    Jan, I really appreciate the suggestions. So far I have a page (using privacy.php as a template) and I have added a check for the customers group id. If the id is set as zero then they are redirected to the homepage. Next up is the listing query. I have to admit I'm a bit nervous about this part as my index.php has a ton of scary looking code in it and I'm not entirely certain which section of that code pertains to the product listing. I'll keep working at it though and hopefully I can make some progress. Thanks again.
  9. DimeNote

    Seperate Pricing Per Customer v3.5

    I understand. Thanks for the reply. I guess I'll keep trying to merge code together until I get something usable. I've tried all of the quantity box contributions I could find but I can't get anything to work as expected. If anyone knows of a workable solution or has any suggestions please let me know. Thanks again. :)
  10. DimeNote

    ULTIMATE Seo Urls 5 - by FWR Media

    Robert, I received your email. I made a backup of the old files, uploaded the new files, and reset the cache. I also re-enabled gzip compression. All seems to be working as expected and I am no longer receiving the error message. I truly appreciate you taking the time to help me. I'm off to install KissER Error Handling & Debugging now. :) Thanks.
  11. DimeNote

    ULTIMATE Seo Urls 5 - by FWR Media

    I checked my email... no files. I'm not sure why but I sent you a PM with a different address to try. Thanks again.
  12. DimeNote

    Seperate Pricing Per Customer v3.5

    Hello, I'm looking for a mod (or seperate contribution) that will allow a customer to click on a link or go to a certain page where they will then be presented with a listing of only the products they have "special pricing" for and allow them to add these products to the cart. Has this been done? I apologize if this has been touched on elsewhere in this thread. If so, can someone kindly point me in the proper direction? Thanks for any help or suggestions.
  13. DimeNote

    ULTIMATE Seo Urls 5 - by FWR Media

    I have sent an email. Thank you for your help.
  14. DimeNote

    ULTIMATE Seo Urls 5 - by FWR Media

    Hello, I've just recently started getting the following error: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 5084747 bytes) in .../includes/modules/ultimate_seo_urls5/classes/Usu_Cache_FileSystem.php on line 32 I noticed that this was briefly mentioned earlier in this thread but I did not see a solution. I have roughly 12,000 products in about 100 categories (just an estimate). Is there something that can be done to correct this issue? Thanks.
  15. DimeNote

    ULTIMATE Seo Urls 5 - by FWR Media

    I changed the filenames as instructed and this fixed the problem. All Products SEO now works correctly. Thank you for a great contribution and thank you for taking the time to help me through this. Much appreciated.
  16. DimeNote

    ULTIMATE Seo Urls 5 - by FWR Media

    I have uninstalled Chemo's Ultimate SEO URLs (2.1d ORIGINAL updated) and installed Ultimate SEO URLs 5 by FWR Media (Version 1.0 [sTABLE] r119 [FULL PACKAGE]) and, as far as I can tell, things are looking good. The one issue that I have run into is that I'm getting an error when I click on my all-products.php link (from All Products SEO V 1.1). The error is showing lines like the following: Warning: USU5 could not find a valid base filename, please inform the developer. ' ' ' ' Unable to determine the page link! Any ideas as to what is going on here? If this has been addressed please kindly direct me to where to find the solution. Thank you to FWR for the great work.
  17. DimeNote

    Header Tags SEO

    Jack, When I update to the new 3.17 version I get the following error in includes/header_tags.php: Fatal error: Call to undefined function getcanonicalurl() Any ideas on what I may have missed? Thanks.
  18. DimeNote

    All Customers Report

    Jack, Any luck on finding the time to correct this? I'm curious to see it in action with the changes made... Thanks
  19. DimeNote

    Seperate Pricing Per Customer v3.5

    Hello, I'm having issues making SPPC work with the X-Sell v2-MS2 contribution... I can get the proper regular pricing to show up on my x-sell items for all customer groups but I cannot get the specials to show up correctly (ie. when I set a special for only "wholesale" it will show up for all groups on the x-sell items). Does anyone have a clue how to correct this? Thanks.
  20. DimeNote

    [Contribution] Cross Sell (X-Sell) Admin

    Sorry, I have no idea how to make the code show up right in the forums.
  21. DimeNote

    [Contribution] Cross Sell (X-Sell) Admin

    Hi, I may have found a workaround for the cache issue but I'm now I'm having issues with the SPPC pricing. I will also post this in the SPPC forum but I thought that there might be someone here that could help as well... I can get the proper regular pricing to show up on my x-sell items for all customer groups but I cannot get the specials to show up correctly (ie. when I set a special for only "wholesale" it will show up for all groups on the x-sell items). Does anyone have a clue how to correct this? This is the code from my includes/modules/xsell_products.php file: <?php /* $Id: xsell_products.php, v1 2002/09/11 // adapted for Separate Pricing Per Customer v4 2005/02/24 osCommerce, Open Source E-Commerce Solutions <http://www.oscommerce.com> Copyright © 2002 osCommerce Released under the GNU General Public License */ require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_XSELL_PRODUCTS); if ((USE_CACHE == 'true') && empty($SID)) { // include currencies class and create an instance require_once(DIR_WS_CLASSES . 'currencies.php'); $currencies = new currencies(); } // BOF Separate Pricing Per Customer if(!tep_session_is_registered('sppc_customer_group_id')) { $customer_group_id = '0'; } else { $customer_group_id = $sppc_customer_group_id; } global $customer_group_id; if ($HTTP_GET_VARS['products_id']) { if ($customer_group_id != '0') { $xsell_query = tep_db_query("select distinct p.products_id, p.products_image, pd.products_name, p.products_tax_class_id, IF(pg.customers_group_price IS NOT NULL, pg.customers_group_price, p.products_price) as products_price from " . TABLE_PRODUCTS_XSELL . " xp, " . TABLE_PRODUCTS . " p LEFT JOIN " . TABLE_PRODUCTS_GROUPS . " pg using(products_id), " . TABLE_PRODUCTS_DESCRIPTION . " pd where xp.products_id = '" . $HTTP_GET_VARS['products_id'] . "' and xp.xsell_id = p.products_id and p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' and p.products_status = '1' order by sort_order asc limit " . MAX_DISPLAY_XSELL); } else { $xsell_query = tep_db_query("select distinct p.products_id, p.products_image, pd.products_name, p.products_tax_class_id, products_price, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price from " . TABLE_PRODUCTS_XSELL . " xp left join " . TABLE_PRODUCTS . " p on xp.xsell_id = p.products_id left join " . TABLE_PRODUCTS_DESCRIPTION . " pd on p.products_id = pd.products_id and pd.language_id = '" . $languages_id . "' left join " . TABLE_SPECIALS . " s on p.products_id = s.products_id where xp.products_id = '" . $HTTP_GET_VARS['products_id'] . "' and p.products_status = '1' order by sort_order asc limit " . MAX_DISPLAY_XSELL); } // EOF Separate Pricing Per Customer $num_products_xsell = tep_db_num_rows($xsell_query); if ($num_products_xsell > 0) { ?> <!-- xsell_products //--> <?php $info_box_contents = array(); $info_box_contents[] = array('align' => 'left', 'text' => TEXT_XSELL_PRODUCTS); new contentBoxHeading($info_box_contents); $row = 0; $col = 0; $info_box_contents = array(); while ($xsell = tep_db_fetch_array($xsell_query)) { if (tep_not_null($xsell['specials_new_products_price'])) { $xsell_price = '<s>' . $currencies->display_price($xsell['products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])) . '</s> '; $xsell_price .= '<span class="productSpecialPrice">' . $currencies->display_price($xsell['specials_new_products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])) . '</span>'; } else { $xsell_price = $currencies->display_price($xsell['products_price'], tep_get_tax_rate($xsell['products_tax_class_id'])); } $text = '<table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td class="main" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . $xsell['products_name'] .'</a></td> </tr> <tr> <td align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $xsell['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $xsell['products_image'], $xsell['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a></td> </tr> <tr> <td class="main" align="center">' . $xsell_price . '</td> </tr> <tr> <td class="main" align="center"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params(array('action')) . 'action=buy_now&product_to_buy_id=' . $xsell['products_id'], 'NONSSL') . '">' . tep_image_button('button_buy_now.gif', TEXT_BUY . $xsell['products_name'] . TEXT_NOW) .'</a></td> </tr> </table>'; $info_box_contents[$row][$col] = array('align' => 'center', 'params' => 'class="smallText" width="33%" valign="top"', 'text' => $text) ; $col ++; if ($col > 2) { $col = 0; $row ++; } } new contentBox($info_box_contents); ?> <!-- xsell_products_eof //--> <?php } } ?>
  22. DimeNote

    [Contribution] Cross Sell (X-Sell) Admin

    Hello, I'm having a hard time understanding the cache system. I have modified x-sell to work with SPPC and now when testing this contribution I see that the x-sell products are not reflecting the correct prices to my different customer groups because of the cache system. Is there a way to not use the cache system for x-sell? If so, what lines of code need to be removed? Any guidance would be appreciated. Thanks.
  23. DimeNote

    All Products SEO

    Jack, Everything works great, thanks for all of your efforts! I was wondering if there was a way to combine the letters (A-C, D-F, G-I, etc.) in the letter navigation? Thanks.
  24. DimeNote

    All Products SEO

    Hi Jack, I'm having an issue with this contribution. When i add a new product it does not show up on the all-products page. It does not show up if I add the product manually or if I add the product using easy populate. Unfortunately, I have added about a handful of contributions since I installed All-Products SEO so I'm not sure what might have caused this to stop functioning. Is there a place that you have in mind that I could begin my search? Is there some sort of cache system this contribution uses that I need to clear? Thanks for any suggestions or feedback.
  25. DimeNote

    All Customers Report

    Sounds good. Thanks for your help and thanks for all of your time and efforts in helping making osCommerce what it is.
×