Jump to content
Latest News: (loading..)

kaganwine

Members
  • Content count

    4
  • Joined

  • Last visited

  1. kaganwine

    [Contribution] U HTML Emails

    Hey DuFF1, If you just want to send html emails with, or without this contribution you need to do 2 things. 1.) In the Administration area under Configuration, go to E-Mail Options, edit "Use MIME HTML When Sending Emails" to TRUE. 2.) Open admin/mail.php - around line 42 look for: $mimemessage->add_text($message); Replace it with: if (EMAIL_USE_HTML == 'true') {//Send html email $mimemessage->add_html($message); }else{//Send text email $mimemessage->add_text($message); } Save it and you're good to go. Then in your message you would use html tags in your message, i.e. <img src="http://www.example.com/myImage.jpg" />, <b>some bold text</b>
  2. kaganwine

    NEW! Complete Order Editing Tool!

    I was able to confirm it is the database setting. In the orders_products table change the products_quantity field type to decimal(3,1). Unfortunately, the invoices will show 1.0, or 2.0 for your whole numbers. But the database will now be able to store fractions.
  3. kaganwine

    NEW! Complete Order Editing Tool!

    Thanks for all the contributors who put so much work into this. It truly is an amazing add-on. Question about qty. I'm just skimmed the code, but I was wondering if qty can be changed to fractions / decimal. e.g. a grocery store is selling fruit at $1 per 1 pound. An order needs to be adjusted to qty .5 pounds of fruit. As it is right now, when you make the change in the ajax form, it will look like it's made the calculation, but as soon as you print, or go back into details, the qty will round itself up or down to the next whole number. In the example above, it will round itself up to 1. In the non-ajax form, as soon as you press update, the form will round itself, up or down, right away. Which leads me to believe the quantity type needs to be changed in the database. I'm going to start working on this now, but if anyway can confirm my thoughts, it would be much appreciated. Cheers.
×