Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

antagraber

Pioneers
  • Posts

    16
  • Joined

  • Last visited

Profile Information

  • Real Name
    Antoni Agramunt i Bertolotti

antagraber's Achievements

  1. Hi, I've installed without problems, but now I'm stuck. I don't know how to set it up...: (which banner-group attach graphics and some other stuffs). I realized that some member refer to a User-Manual (that I'm sure it could help me out). But I am not able to find it neither. Would be please, possible to have it / or to know where I can find it? Thank you OSC 2.3.1
  2. I realize too late... I would NOT like to show. Sorry (I'm not able to edit my post).
  3. Hi, My store will sell expensive items, so I would like to show decimals for a price when showing the catalog i.e.: 2300,32 I know that prices are different if taxes applies or not or even if customer is logged on or not. But I'd like to be able to limit them when shown in the catalog. And to use them, as usual, when billing. Any suggestion. Thanks in ahead of time.
  4. Hi, Because I'd like to send emails to customers with files attached (doing from Administrator). And later on, to enhance my website giving the customers the opportunity to send me mails with attachments, I though to start by having the Add-On number (4583) (http://addons.oscommerce.com/info/4583) Although a simple Add On it works partially on my OSC 2.3.1. ... It sends the message but without the attachment. Despite I feel confident enough to do small coding, I'm not an expert in the subject. I would appreciate to have some advice from the experts in this forum about what could be wrong. In my 'future' website, to let the customers send information back to our designers, is a very useful functionality. So I will appreciate all your help on this simple stuff. I spend a whole day digging on this but....without success :-( This Add-On modifies the catalog\admin\mail.php file. The code updated to let send the attachment is: $from = tep_db_prepare_input($HTTP_POST_VARS['from']); $subject = tep_db_prepare_input($HTTP_POST_VARS['subject']); $message = tep_db_prepare_input($HTTP_POST_VARS['message']); //Let's build a message object using the email class $mimemessage = new email(array('X-Mailer: osCommerce')); if ($_FILES['userfile']['size'] > 0) { $attachment_name = $HTTP_POST_FILES['userfile']['name']; $attachment_type = $HTTP_POST_FILES['userfile']['type']; //$attachment_size = $HTTP_POST_FILES['userfile']['size']; //Just in case you want to check and limit the size new upload('userfile', DIR_FS_DOWNLOAD); $attachment_file = DIR_FS_DOWNLOAD . $attachment_name; $attachments = $mimemessage->get_file($attachment_file); $mimemessage->add_attachment($attachments, $attachment_name, $attachment_type); } // Build the text version $text = strip_tags($message); if (EMAIL_USE_HTML == 'true') { $mimemessage->add_html($message, $text); } else { $mimemessage->add_text($message); } $mimemessage->build_message(); while ($mail = tep_db_fetch_array($mail_query)) { $mimemessage->send($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], '', $from, $subject); } tep_redirect(tep_href_link(FILENAME_MAIL, 'mail_sent_to=' . urlencode($mail_sent_to))); I've also attached to this message the whole mail.php I use. Thank-you very much in ahead of time.
  5. Which in Europe is a pretty common request. Thanks.
  6. Hi Anna, I'm going to start with my first OC. I plan to run my website having Catalan language in addition to standard ones. Did you got any idea to go forward with your problem with the language. Did you got a whole and complete Catalan package? I was planning to create a new one. But after reading Jan Zonjee's message, perhaps it would make sense to use one of the existing. Do you have any advice/recommendation to share? Gràcies Antoni.
×
×
  • Create New...