Jump to content


  • Content count

  • Joined

  • Last visited

Profile Information

  • Real Name
  1. diZzyCoDeR

    [Contribution] U HTML Emails

    I think an update should be made to this, I made this snazzy change to how it works so as to not have to create a text-formatted email to accompany the HTML one. ...this bit changes from file to file, but it goes right before the tep_mail... function and replaces the other bits above it (for this contrib, that is) //--- Beginning of addition: Ultimate HTML Emails (modified by diZzyCoDeR 05/02/09 -=[http://blog.atgnaat.net]=---// if (EMAIL_USE_HTML == 'true') { require(DIR_FS_CATALOG_MODULES . 'UHtmlEmails/'. ULTIMATE_HTML_EMAIL_LAYOUT .'/orders.php'); $UHTML_html_text = $email; // this sets our default text email to what has been already figured out above by default $email = $html_email; // now set the main text to be the HTML that was just created by UHE //Save the contents of the generated html email to the harddrive in .htm file. This can be practical when developing a new layout. if(ULTIMATE_HTML_EMAIL_DEVELOPMENT_MODE === 'true'){ $TheFileName = DIR_FS_CATALOG . 'Last_mail_from_FILENAME.php.htm'; $TheFileHandle = fopen($TheFileName, 'w') or die("can't open error log file"); fwrite($TheFileHandle, $email); fclose($TheFileHandle); } } //--- End of addition: Ultimate HTML Emails ---// This works for me, as I said, you'll need to modify the implementation of your contrib to match this logic -- if you're not a programmer, just stick to the releases until this makes it in.
  2. diZzyCoDeR

    Quantity Price Breaks

    Roger. This is with a hosted server... they have a one-click install of OSC and are pretty tight about their security and often slightly behind in their apps. This is not the first time something standard has given me grief. Again, thanks for your help.
  3. diZzyCoDeR

    Quantity Price Breaks

    GONE! NO MORE ERROR! great responses & troubleshooting... tyvm now, is this a kludge or perm. fix? bug? why me? (just curious, maybe this will help someone else... (should it happen to anyone else)) love this contrib, btw
  4. diZzyCoDeR

    Quantity Price Breaks

  5. diZzyCoDeR

    Quantity Price Breaks

    Thanks for the reply. I'll double-check that code, here is output of the pf / pfs arrays from footer.php (is this appropriate info, or do u like me to install that OQD?) when I add an item w/o any price-break data: PriceFormatterStore Object ( [priceFormatterData] => Array ( [3] => Array ( [products_name] => Test [products_model] => 123456789-10 [products_image] => screenshot.png [products_id] => 3 [manufacturers_id] => 0 [products_price] => 15.7500 [products_weight] => 14.00 [products_quantity] => 400 [products_qty_blocks] => 1 [products_tax_class_id] => 1 [specials_new_products_price] => [discount_categories_id] => ) ) ) PriceFormatter Object ( [thePrice] => -1 [taxClass] => -1 [qtyBlocks] => 1 [price_breaks] => Array ( ) [hasQuantityPrice] => [hiPrice] => -1 [lowPrice] => -1 [hasSpecialPrice] => [specialPrice] => )
  6. diZzyCoDeR

    Quantity Price Breaks

    Umm, hope someone can help -- racking my brain on this one, really want it to work, cuz it's such a cool feature. Downloaded the latest QPBPP 1.3.5(?) and installed it -- I only have one other contrib, which is optional_realated_products. all seems well, except that I am getting this error when adding a product to the cart which DOES NOT have a price break assigned to it (just a straight up regular price on that product). Notice: Undefined index: price_breaks in /public/shop/includes/classes/PriceFormatter.php on line 109 ... this line of course is... $this->price_breaks = $price_formatter_data['price_breaks']; here are my particulars: Server Host: xxxxxxxxxxx Database Host: xxxxxxxxxxxxxx Server OS: Linux Database: MySQL 4.0.27-standard Server Date: 03/02/2009 14:11:36 Datebase Date: 03/02/2009 14:11:36 Server Up Time: HTTP Server: Apache PHP Version: 5.2.4 (Zend: 2.2.0) osCommerce 2.2-MS2 much appreciation, in advance.