Jump to content

greasemonkey

Members
  • Content count

    1,368
  • Joined

  • Last visited

  • Days Won

    25

Everything posted by greasemonkey

  1. greasemonkey

    [Contribution] Ship In Cart

    You may want to test with the newer REST Canada Post module - their sellonline service is slated to be discontinued (not sure when). I have this working with http://addons.oscommerce.com/info/8887
  2. greasemonkey

    Shopping Cart as Tooltip, pls help

    Ya, this is an antique... and won't work with with boostrap. I believe this one will work (I've never tried it). http://addons.oscommerce.com/info/7657
  3. greasemonkey

    credit card payment with osCommerce

    I think this GPL "discussion" has hijacked the thread ????????????
  4. greasemonkey

    Search add-on Reviews

    @@ArtcoInc I use D... and it's the bomb.....
  5. greasemonkey

    canada.post.rest.rate.service.oscommerce.V2.3

    Updated full package here http://addons.oscommerce.com/info/8887
  6. greasemonkey

    canada.post.rest.rate.service.oscommerce.V2.3

    @@Druid6900 ok I found it... Please test.... and confirm and i will update the package. in includes/modules/shipping/canadapost.php Find (at line 242) if ($this->exclude_choices($basetype)) continue; $_type = $type; // changed to make handling percentage based if ($this->handling_type == "Percentage") { if ($_type) $methods[] = array('id' => $basetype, 'title' => $_type. ', '. $ddate, 'cost' => ((($this->handling_fee * $cost)/100) + $cost)); } else { if ($_type) $methods[] = array('id' => $basetype, 'title' => $_type. ', '. $ddate, 'cost' => ($this->handling_fee + $cost)); } } and replace with if ($this->exclude_choices($basetype)) continue; if ( $method == '' || $method == $basetype ) { $_type = $type; // changed to make handling percentage based if ($this->handling_type == "Percentage") { if ($_type) $methods[] = array('id' => $basetype, 'title' => $_type. ', '. $ddate, 'cost' => ((($this->handling_fee * $cost)/100) + $cost)); } else { if ($_type) $methods[] = array('id' => $basetype, 'title' => $_type. ', '. $ddate, 'cost' => ($this->handling_fee + $cost)); } } }
  7. greasemonkey

    canada.post.rest.rate.service.oscommerce.V2.3

    @@Druid6900 this is going to take a little work. For some reason the shipping session is not being set correctly.... no matter what options I choose the id is set in array correctly, but the title and cost are always Expedited - which is ID DOM.EP not DOM.XP as selected. I don't where that could be messed up.... is $_SESSION['shipping'] NOT set? Array ( [id] => canadapost [module] => Canada & US Post (1 box(es) to be shipped) [tax] => 13 [methods] => Array ( [0] => Array ( [id] => DOM.EP [title] => Expedited Parcel, 2016-09-02 [cost] => 8.09 ) [1] => Array ( [id] => DOM.XP [title] => Xpresspost, 2016-09-02 [cost] => 8.14 ) ) ) Array ( [id] => canadapost_DOM.XP [title] => Canada & US Post (1 box(es) to be shipped) (Expedited Parcel, 2016-09-02) [cost] => 8.09 )
  8. greasemonkey

    canada.post.rest.rate.service.oscommerce.V2.3

    @@Druid6900 this has been reported before... but I've never looked into it. I only use 1 option. I'll try and figure it out if I get a few minutes today.
  9. greasemonkey

    Pay Pal Express Checkout and Discount Coupons

    @@Sam-AUST sorry I've never used an order editor... No idea if it would work.
  10. greasemonkey

    Pay Pal Express Checkout and Discount Coupons

    @@Sam-AUST this is the only coupon code module I've found compatible with PP Express for community BS http://addons.oscommerce.com/info/9460 And for 2.3.x http://addons.oscommerce.com/info/7700
  11. greasemonkey

    Canada Post Automatic Labels

    Hi all, for those using Canada Post Automatic Labels, I preusme any version??? Canada Post did a major update over the weekend of Jan 5th 2013 and many of the est addresses have changed. I have spoke to Canada Post tech support last night and I'm waiting for a reply/fix/new est form addresses. This is causing Automatic Labels at fail step 3. Is anybody (or everybody) having this same problem? It would seem any address starting with "https://est" could be affected. What they referred to as EST Online Link to ship addresses. Example from line 365 of admin/ship_canadapost.php $response = cp_get_page($ch, 'https://est-oee.canadapost-postescanada.ca/shipping/estShipping.jsp?locale=en_CA&formId=' . $form_prefix . '0&isV1=true'); There is also similar code/addresses on lines; 457, 532, 664, 731, 751, 755, 777
  12. greasemonkey

    ULTIMATE Seo Urls 5 - by FWR Media

    @@mendoh this addon was not updated to work as a drop on top install with 2.3.4. It must be installed manually (editing the php files in your store) by following the instructions - which also have NOT been updated for 2.3.4. It does work, when installed correctly, in both 2.3.4 and the community bootstrap versions - and very well. Obviously this makes things difficult, however the original developer of this addon no longer comes around.... There are other URL rewritters that work just as well, are more supported, and have updated installs and instructions for 2.3.4. Search the addon area for SEO URLS.
  13. greasemonkey

    [Contribution] Discount Coupon Codes

    @@Dan Cole I moved on some time ago to http://addons.oscommerce.com/info/7700 ... because it was/is (I think) the only version that works with PayPal Express and then I updated it to work in BS (which I think you followed my notes here; http://forums.oscommerce.com/topic/402359-modding-up-a-234bs-gold/) I believe @@Tsimi version is based on this as well??? @@raiwa helped me get this working with free shipping coupon - which I don't use anymore....I now use a flat rate module modified to show $0.00 shipping at free shipping amount so customers can "upgrade" to paid shipping and receive it faster.
  14. @@auzStar that makes sense... I'll give it a try. I didn't know you could call a content mod more than once in the same file. ????????????????
  15. @@auzStar I have a conflict with this on my index page. I have several index content mods, in an index dir and I call them with... Around line 300. <div class="contentText"> <?php echo tep_customer_greeting(); ?> </div> <div class="row"> <?php echo $oscTemplate->getContent('index'); ?> </div> It would seem <div class="row"> <?php echo $oscTemplate->getContent('category'); ?> </div> Works for the sub-cats pages, but not the main index page (index.php)... If I move your call to getContent('category') after getContent('index') it works on main index page, however will now not work on subs.... Does this make sense? I've just made 2 copies of your addon... renaming one and moving to the index directory.
  16. @@auzStar sorry last reply.... it looks like the new_products query is not pulling correctly. $new_products_query = $this->get_data(); I presume because I'm using SPPC.... ???
  17. @@auzStar just testing.... looks very nice. Just a small addition - if you want to improve from the core... Add equal-height class to the cm_category_categories_images.php template. <div class="text-center equal-height"> Also, since you are at it.... Add an index module to the package display main cat image tiles on index (like what Jim did in the modular front page) or here is one I did.... (sorry.... can't seem to attach a zip anymore....). If not I will upload this mod separately.... Let me know. <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2014 osCommerce Released under the GNU General Public License */ class cm_i_main_cats { var $code; var $group; var $title; var $description; var $sort_order; var $enabled = false; function cm_i_main_cats() { $this->code = get_class($this); $this->group = basename(dirname(__FILE__)); $this->title = MODULE_CONTENT_MAIN_CATS_TITLE; $this->description = MODULE_CONTENT_MAIN_CATS_DESCRIPTION; if ( defined('MODULE_CONTENT_MAIN_CATS_STATUS') ) { $this->sort_order = MODULE_CONTENT_MAIN_CATS_SORT_ORDER; $this->enabled = (MODULE_CONTENT_MAIN_CATS_STATUS == 'True'); } } function execute() { global $oscTemplate, $languages_id; $content_width = MODULE_CONTENT_MAIN_CATS_CONTENT_WIDTH; ob_start(); echo '<div class="col-sm-' . $content_width . '">'; echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . (MODULE_CONTENT_MAIN_CATS_HEADING). '</a></div>'; $categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.categories_image, c.parent_id from " . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.parent_id = '" . (int)$current_category_id . "' and c.categories_id = cd.categories_id and cd.language_id = '" . (int)$languages_id . "' order by sort_order, cd.categories_name"); while ($categories = tep_db_fetch_array($categories_query)) { $cPath_new = tep_get_path($categories['categories_id']); include(DIR_WS_MODULES . 'content/' . $this->group . '/templates/main_cats.php'); } $template = ob_get_clean(); $oscTemplate->addContent($template, $this->group); } function isEnabled() { return $this->enabled; } function check() { return defined('MODULE_CONTENT_MAIN_CATS_STATUS'); } function install() { tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable New Products Module', 'MODULE_CONTENT_MAIN_CATS_STATUS', 'True', 'Do you want to enable this module?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Content Width', 'MODULE_CONTENT_MAIN_CATS_CONTENT_WIDTH', '12', 'What width container should the content be shown in? (12 = full width, 6 = half width).', '6', '1', 'tep_cfg_select_option(array(\'12\', \'11\', \'10\', \'9\', \'8\', \'7\', \'6\', \'5\', \'4\', \'3\', \'2\', \'1\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_CONTENT_MAIN_CATS_SORT_ORDER', '0', 'Sort order of display. Lowest is displayed first.', '6', '4', now())"); } function remove() { tep_db_query("delete from configuration where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_CONTENT_MAIN_CATS_STATUS', 'MODULE_CONTENT_MAIN_CATS_CONTENT_WIDTH', 'MODULE_CONTENT_MAIN_CATS_SORT_ORDER'); } } ?> <div class="col-sm-6 col-md-4"> <div class="thumbnail equal-height"> <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . tep_image(DIR_WS_IMAGES . $categories['categories_image'], $categories['categories_name'], SUBCATEGORY_IMAGE_WIDTH, SUBCATEGORY_IMAGE_HEIGHT) . '</a>';?> </div> <div class="caption text-center"> <?php echo '<h5><a href="' . tep_href_link(FILENAME_DEFAULT, $cPath_new) . '">' . $categories['categories_name'] . '</a></h5>'; ?> </div> </div> <?php define('MODULE_CONTENT_MAIN_CATS_TITLE', 'Main Categories Module'); define('MODULE_CONTENT_MAIN_CATS_DESCRIPTION', 'Shows the Main Categories thumbnails module on the index page.'); define('MODULE_CONTENT_MAIN_CATS_HEADING', '<div class="panel panel-default"><div class="panel-heading">Categories</div></div>'); define('MODULE_CONTENT_MAIN_CATS_BANNER_TEXT', 'Categories');
  18. @@auzStar gonna try this today.... Does require the modular front page addon?
  19. greasemonkey

    Easy Discount

    What about your order total module sort order? I'm not sure you mentioned it.... Subtotal should be 1 and this module should be 2....
  20. greasemonkey

    Paypal App return url

    For anyone coming across this thread.... https://www.mysite.c...aypal/login.php NO LONGER WORKS (for me at least). See this thread for the "correct" (or at least working) redirect_uri http://forums.oscommerce.com/topic/408956-login-with-paypal/
  21. @@auzStar just installed this addon... Love it. Thank you kindly!
  22. greasemonkey

    Quick Price Updates - official support

    @@apopular Hi Marcelo the solution is just up a couple posts; http://forums.oscommerce.com/topic/159022-quick-price-updates-official-support/?p=1734154 Use a program like notepad++ Using the find and replace feature "find" all instances of mysql_and replace them with tep_db_ So "mysql_query" now becomes "tep_db_query"
  23. greasemonkey

    Moneris, eSelect plus

    @@grantlouie it looks like this is answered in the original instructions from Moneris. Look in the PDF included in the folder "Original 2.2 files and instructions". and section;
  24. greasemonkey

    Moneris, eSelect plus

    Maybe post the all of the configuration (without the api token).
  25. greasemonkey

    Moneris, eSelect plus

    Can you post several lines above and below the added line?
×