Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Chrison

Banned
  • Posts

    40
  • Joined

  • Last visited

Everything posted by Chrison

  1. I can't answer your other question (about categories), but you might want to take a look at the Email For Quote add-on as it's a rather elegant solution to handling products with a $0 price. When the user clicks on the link, they're presented with a mailto dialog to e-mail the store owner for a quotation for the product. As far as I can tell, this add-on works with the Modular Front Page add-on, or at least it does for my site. Hope that helps.... Regards, Chris
  2. Hi, Jim: Yet ANOTHER great add-on! Love it! I'm having one minor problem, though... the accordion menu box is missing a title! I see in catalog/includes/modules/boxes/bm_categories_accordion.php there's this line: $this->title = MODULE_BOXES_CATEGORIES_ACCORDION_TITLE; And in catalog/includes/languages/english/modules/boxes/bm_categories_accordion.php that variable is defined thusly: define('MODULE_BOXES_CATEGORIES_ACCORDION_TITLE', 'Categories Accordion'); But that title isn't showing up on the screen (see attached screenshot). I'm probably missing something really obvious and dumb, but your help in fixing it would be greatly appreciated. Thanks! Regards, Chris
  3. I'm looking for a similar solution, so I started to install the Restricted Delivery addon mentioned here. However, I quickly learned that this addon is for OSC 2.2 and I'm using OSC 2.3 instead! (SIGH!) Is anyone aware of an addon with this kind of functionality that works with OSC 2.3? Thanks for any and all help provided! Happy New Year! Regards,Chris
  4. Yes, it IS a small world! Nanaimo is a lovely city. I'm sure your friends who live here love it! Anyway, I'm sorry but I can't help you with your question. I only serve a small, local area, so I have created a CSV file with only the local postal codes. I can see how if you're going to do it for a whole country the CSV file would be huge and unmanageable. One thing you might want to check is whether your post office has functionality for looking-up postal codes and calculating shipping costs that could be incorporated into your site? I'm not sure if this is what you're looking for, but perhaps that might save you some time? Happy Holidays to you and your family! Regards, Chris
  5. I started installing this add-on last night. I obtained a VentureOne account and sent an e-mail to register for Electronic Shipping Tools as per the instructions. I haven't copied files to my server or modified files, yet, as I'll do that once I've gotten "the paperwork" out of the way. This morning, I received an e-mail from Canada Post informing me that they no longer issue Merchant ID's for EST as they have a new "Parcel Web" program. What now??? Will this add-on still work without the merchant ID Canada Post won't give me? I don't want to go through installing the new files and modifying existing files if this thing isn't going to work. Thanks for any help/suggestions offered! Regards, Chris
  6. I have installed this add-on to my OSC 2.3.1 site and it seems to be working as it should, at least in terms of processing discounts and gift vouchers. However, I've discovered a problem with another addon (PDF Datasheet) that's driving me nuts. when I try to load a datasheet, I'm getting this error message: [b]Notice[/b]: Undefined variable: gv_contents_string in [b]/home/chris400/public_html/crazychris.ca/store/includes/modules/boxes/bm_shopping_cart.php[/b] on line [b]112[/b] [b]Warning[/b]: Cannot modify header information - headers already sent by (output started at /home/chris400/public_html/crazychris.ca/store/includes/modules/boxes/bm_shopping_cart.php:112) in [b]/home/chris400/public_html/crazychris.ca/store/ext/tcpdf/tcpdf.php[/b] on line [b]8736[/b] [b]TCPDF ERROR: [/b]Some data has already been output to browser, can't send PDF file [b]Fatal error[/b]: Call to a member function store() on a non-object in [b]/home/chris400/public_html/crazychris.ca/store/includes/modules/ultimate_seo_urls5/main/usu5.php[/b] on line [b]78[/b] I have twice checked the modifications I made to bm_shopping_cart.php when installing CCGV but don't see anything that's obviously wrong, at least to my non-programmer eyes. I'm attaching a copy of bm_shopping_cart.php in the hopes that someone with more experience at php will take a look and spot the problem. As always, any help or suggestions on fixing this problem will be VERY much appreciated! Thanks! Regards, Chris
  7. Never mind. I never did figure out why this was happening, so I uninstalled this add-on and changed over to CCGV Credit Class Gift Voucher 6.0 instead. Happily, it installed without a hitch and works flawlessly. Thanks, anyway... Regards, Chris
  8. UPDATE: I have found the section of code that's breaking AJAX Attribute Manager, but for the life of me I can't figure out why?!?! :unsure: Here's the code in catalog/admin/includes/template_top that's causing a problem: <!-- AJAX Attribute Manager --> <?php if ((basename($_SERVER["SCRIPT_NAME"]) == FILENAME_CATEGORIES)) { require('attributeManager/includes/attributeManagerHeader.inc.php'); } ?> <!-- AJAX Attribute Manager end --> </head> <?php // Discount Code 3.1.1 - start if (basename($PHP_SELF) == FILENAME_DISCOUNT_CODES && isset($action) && $action == 'new') { echo '<body onload="onload();">'; } else { echo '<body onload="goOnload();">'; } // Discount Code 3.1.1 - end ?> If I take out the if/else statement for Discount Code and replace it with <body onload="goOnload();"> then AJAX Attribute Manager works fine. (I haven't checked to see if that breaks Discount Code, though.) But, if I leave that code in for Discount Code then AJAX Attribute Manager does not work even though the code is still outputting <body onload="goOnload();"> (I checked the page source)! To my non-programmer eyes the output that's going to the browser is exactly the same so shouldn't AJAX Attribute Manager work with the Discount Code if/else statement in there?!?!? Could someone please give me a hand with this as it's starting to drive me nuts! :( Thanks for any help/suggestions provided! Regards, Chris
  9. Hi, Burt! Sorry that I missed replying to your suggestion... Opps! :( I did install the validation addon I pointed to above, and it does work. IMHO, that's a better solution for my problem as it forces users to enter the postal code in the proper format (i.e. as approved by Canada Post) in the first place, instead of mucking with "fixing" improperly entered postal codes. Thanks for the suggestion, though. It might be helpful to someone else. Again, thanks for the wonderful add-on! It's now working great! :thumbsup: Regards, Chris
  10. Hi, everyone! With much agony, and by following the instructions in this thread, I have managed to get Shop by Price installed and more-or-less running on my store. (Quick side note: I agree with Sars that it would be nice if the developer would fix all these things and re-post the contribution!) Anyway... I found two problems, one that I was able to fix and the another one that's still driving me nuts. The problem I found and how to fix it: When the box loads, it displays "Shop by Price" in the input field instead of the values for the first price range (in my case "Under 10.00"). IMHO, this is confusing to the user (at least it was to me!) as it's not clear that this is where the user selects a price range they want to filter by. To change this... Find this in catalog/includes/languages/modules/boxes/shop_by_price.php: define('BOX_HEADING_SHOP_BY_PRICE', 'Shop by Price'); Change it to this: define('BOX_HEADING_SHOP_BY_PRICE', 'Under 10.00'); The problem I can't figure out how to fix: When the box is first loaded and displayed, the first price range (in my case "Under 10.00") is displayed (with the above fix) but is not active. In other words, the user sees "Under $10.00" but if he/she clicks on that nothing happens. If the user clicks on another price range and then clicks on "Under 10.00" then the program does work properly. Again, this is confusing to the user, IMHO, especially if the input field is displaying "Shop by Price" instead of the first price range (i.e. you haven't applied the above fix). So, could someone please figure-out how to get the first price range to be active (i.e. clickable) when the box is first loaded and post the solution here? I tried for several hours to figure it out but I'm just not that skilled at php programming. (I know enough to be able to break stuff, but not enough to fix it! LOL!) Thanks, in advance, for any help provided! Regards, Chris
  11. I'm bumping this one because it's still a problem. Can anyone help me figure this one out, please? Thanks! Regards, Chris
  12. Hi, all! I installed AJAX Attribute Manager awhile ago, and up until now it has worked flawlessly. (WONDERFUL add-in, btw!) But, suddenly it's stopped working. I have deleted and re-installed the admin/attributesmanager directory, triple-checked the coding in admin/categories.php and admin/includes/template-top.php and I just can't seem to figure out why it's not working. Attached is my current admin/categories.php and admin/includes/template-top files. Can anyone spot where I've gone wrong? It's probably something really dumb and I'm missing it because I've been staring at this code for hours. Thanks for any help or tips provided! Regards, Chris categories.php template_top.php
  13. I'm bumping this because I'm still having this problem. The backups do work, but I keep getting these error messages every day, and it's bugging the heck out of me. Any help in solving this would be greatly appreciated. Thanks! Regards, Chris
  14. Hi, Jim: That item that wasn't working did have a large image, but for some reason the add-on wasn't picking it up. I re-uploaded the image into the catalog and it worked. Also, I resized the store logo to the standard size. That's easier than mucking with the header to get it to work. In short, all's well now... thanks for your help! Regards, Chris
  15. No problem! I figured it out. This stuff is SO cool! I'm on cloud 9 about how my front page is coming along! Again, you ROCK dude! Regards, Chris
  16. Ta Da! That fixed it! I had to clean-up that line a bit to get it working (had some "" and other garbage in it), but once I got it declaring the global variables the query worked and my "blurb" text area now only displays when there's specials. Here's the final code for anyone that needs it: function execute() { global $oscTemplate, $language, $PHP_SELF, $cPath, $languages_id; if ($PHP_SELF == 'index.php' && $cPath == '') { $specials_products_query_raw = " select p.products_id from " . TABLE_PRODUCTS . " p join " . TABLE_PRODUCTS_DESCRIPTION . " pd on pd.products_id = p.products_id join " . TABLE_SPECIALS . " s on s.products_id = p.products_id where p.products_status = '1' and pd.language_id = '" . ( int ) $languages_id . "' and s.status = '1' limit 1 "; // print 'Specials Query: ' . $specials_products_query_raw . '<br />'; $specials_products_query = tep_db_query( $specials_products_query_raw ); print 'Specials Query: ' . $specials_products_query_raw . '<br />'; print 'Number of Specials: ' . tep_db_num_rows($specials_products_query) . '<br />'; if (tep_db_num_rows($specials_products_query) > 0) { // Set the text to display on the front page $body_text = '<!-- Text Main BOF -->' . PHP_EOL; $body_text .= ' <div class="contentText">' . PHP_EOL; $body_text .= constant( 'MODULE_FRONT_PAGE_TEXT_3_' . strtoupper( $language ) ) . PHP_EOL; $body_text .= ' </div>' . PHP_EOL; $body_text .= '<!-- Text Main EOF -->' . PHP_EOL; $oscTemplate->addBlock( $body_text, $this->group ); } } } WOO HOO! Thanks for the help! Regards, Chris
  17. Wow! You're quick with the responses today! (wink!) Yeah, I was trying to re-use the code from the Specials module, but wasn't having much success. I just tried your code, too, and now my text area isn't showing up at all, whether or not there's a special available. Here's the code I've currently got: function execute() { $specials_products_query_raw = " select p.products_id from " . TABLE_PRODUCTS . " p join " . TABLE_PRODUCTS_DESCRIPTION . " pd on pd.products_id = p.products_id join " . TABLE_SPECIALS . " s on s.products_id = p.products_id where p.products_status = '1' and pd.language_id = '" . ( int ) $languages_id . "' and s.status = '1' limit 1 "; // print 'Specials Query: ' . $specials_products_query_raw . '<br />'; $specials_products_query = tep_db_query( $specials_products_query_raw ); if (tep_db_num_rows($specials_products_query) > 0) { global $oscTemplate, $language, $PHP_SELF, $cPath; if ($PHP_SELF == 'index.php' && $cPath == '') { // Set the text to display on the front page $body_text = '<!-- Text Main BOF -->' . PHP_EOL; $body_text .= ' <div class="contentText">' . PHP_EOL; $body_text .= constant( 'MODULE_FRONT_PAGE_TEXT_3_' . strtoupper( $language ) ) . PHP_EOL; $body_text .= ' </div>' . PHP_EOL; $body_text .= '<!-- Text Main EOF -->' . PHP_EOL; $oscTemplate->addBlock( $body_text, $this->group ); } } } I'm not doing something right, but I'm just not sure what it is??? :unsure: Regards, Chris EDIT: I added these two lines to the code to output the query and result: print 'Specials Query: ' . $specials_products_query_raw . '<br />'; print 'Number of Specials: ' . tep_db_num_rows($specials_products_query) . '<br />'; This is what's printing out (there's one special, btw): Specials Query: select p.products_id from products p join products_description pd on pd.products_id = p.products_id join specials s on s.products_id = p.products_id where p.products_status = '1' and pd.language_id = '0' and s.status = '1' limit 1 Number of Specials: 0 Is that helpful?
  18. Hi, Jim: I know... I'm such a pest! However, I do have another question... I've added the "Specials" module, and I want to add a text area just above it with a "teaser" blurb about the specials. I have cloned "Text Main" and made the necessary changes to get it to display. However, I discovered that the "Specials" module only displays if there are, indeed, specials available, but my "teaser" blurb displays all the time. Can you explain to me how to modify my "teaser" text area module so that it, too, only displays when there are specials available? Thanks! Regards, Chris
  19. You're welcome! Actually, I stumbled on it by pure accident, but it sure is nice to know that it works that way. Thanks for that info. Hmmm... I do see your point. Maybe if I resize them so that they're smaller that would be better? My "beef" is that they're so darned big they kinda "take over" the banner, at least to me. Anyway, thanks again for creating such a fabulous add-on! I'm having a blast getting my main page looking exactly how I want it to. Btw, that tip about how to clone the text area sure is coming in handy too! You *rock* dude! :thumbsup: Regards, Chris
  20. One question, Jim... Is there a way to disable (or remove) the banner rotator control buttons? If not, it's not a big deal but I'd prefer just the banner with no controls. Thanks! Regards, Chris
  21. Tim, I'm not sure if you discovered this on your own or not, but I'll post it here in case someone else is looking for the answer... The OSC redirect function assumes the link is local if there's no "http://" at the front of the link. If you put "http://" at the beginning, then the redirect function knows it's an outside link. Or at least that's how it works on my site. Hope that's helpful... Regards, Chris
  22. I just wanted to say this is a GREAT add-on! I've been struggling to modify the main page to suit my taste and needs, and your add-on just made it SO much easier! Thank you! Thank you! Thank you! :thumbsup: Regards, Chris
  23. I'm bumping this one because it's still a problem for me. Does anyone have any suggestions? Btw, it appears to only happen when I click the "new confirmation" checkbox. If I just update, it works fine. Again, any help/suggestions would be greatly appreciated! Thanks! Regards, Chris
  24. Hmmm... for some reason, the site isn't letting me edit the above message. So, I'm sorry about a second post, but here's a quick update... For some reason or another, the add-on is working for one item but not another. See the following items: This one works: http://www.crazychris.ca/store/321-standard/321-bee-body-standard-yellow-p-81.html This one doesn't: http://www.crazychris.ca/store/balloon-gifts/small-floral-arrangement-p-29.html I have no idea why this would be the case?!?!? Btw, I also notice that the header is a bit mucked up. Is this because my store logo image might be too wide, or have I got another problem? Again, thanks for any help you can provide! Regards, Chris
  25. Hello! This looks like it will be an interesting add-on to my site, but I'm having troubles getting it going. I have installed it twice, each time following the instructions to the letter. I have only installed those modules listed as a starting point in the instructions (initialize, header, fonts, title, description, and product page link), and double-checked the sort order (they're in the order as I just listed them). However, when I click on a link on a product page I get the following errors: Notice: getimagesize() [function.getimagesize]: Read error! in /home/chris400/public_html/crazychris.ca/store/includes/modules/pdf_datasheet/pd_description.php on line 54 TCPDF ERROR: [image] Unable to get image: images/ Fatal error: Call to a member function store() on a non-object in /home/chris400/public_html/crazychris.ca/store/includes/modules/ultimate_seo_urls5/main/usu5.php on line 78 Any help you can provide to me to fix these problems would be greatly appreciated. Btw, I notice that the second error relates to another add-on I have installed (ultimate_seo_urls5). Is there an incompatibility between your module and that one? Again, thanks in advance for any help! Regards, Chris
×
×
  • Create New...