Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

flom

Archived
  • Posts

    55
  • Joined

  • Last visited

Everything posted by flom

  1. I have three more questions upon PayPal IPN: 1. How can I insert the Name of the customer into the Mail-Subject? The following Code only works with other payments than PayPal: tep_mail('', SEND_EXTRA_ORDER_EMAILS_TO, EMAIL_TEXT_SUBJECT . ' ' . $address['firstname'] . ' ' . $address['lastname'] . ' (EC' . $insert_id . ')', $email_order, STORE_OWNER, STORE_OWNER_EMAIL_ADDRESS, $address['email_address']); Must I use other variables? I also tried these without success: $order->customer['firstname'] . ' ' . $order->customer['lastname'] 2. Comments of the customer are not submitted. The customer comment is overwritten by the PayPal Info like this: 3. Uncompleted PayPal orders are "reserved". When a customer wants to order by PayPal and aborts his payment the order gets a number and is stored. It can be seen in the customers account but the customer cannot finish the order, delete it or do anything with it. So this is baffling to the customer. What can be done? Thanks for any help.
  2. Yes, that's right!. Just replace it everywhere in the file: Around line 400: $handling = $order_total['ot_YOUR_MODULE_NAME_WITHOUT_ENDING']; Around line 450: $parameters['handling'] = number_format($order_total['ot_YOUR_MODULE_NAME_WITHOUT_ENDING'] * $currencies->get_value($my_currency), $currencies->get_decimal_places($my_currency));
  3. I found the failure. I am using another contribution than the one that is expected. The name of the module is ot_fixed_payment_chg and not ot_loworderfee. When changing this it works. Maybe this should be fixed if possible so that every kind of fee is added and not only the fee of the ot_loworderfee module. Please tell this to the developers. Thanks. :)
  4. Hello, I am using the PayPal IPN V. 2.3.3.0 by alexstudio. Quickly my problem: The fee for PayPal orders is not transfered to PayPal. How can I fix it? Aggregate is activated. Greetings, FloM
  5. Maybe a little late but I made another fix. Please see contributions. It is now possible to make standard settings for new date. Furthermore now when editing the correct data will be displayed. Have Fun. :)
  6. the changes were successfull and I uploaded the changed file: Google Analytics module
  7. if it works i will of course tell you and change the contribution :)
  8. i think i solved the problem: there is another function to be changed: $analytics_total change to str_replace(",", "", $analytics_total) hope it will work
  9. I guess i figured out a failure. An order of 1300 EUR is being shown as 1 EUR in Google Analytics. I therefore changed the following: number_format($items['final_price'], 2) replaced with str_replace(",", "", number_format($items['final_price'], 2)) so that 1,300.00 is changed to 1300.00. Unfortunately i mentioned that this did not solve the problem. Does anyone have the same problem and/or an idea how to fix this?
  10. Hi there, everytime i open the "sales report" i get an error: "Warning! Scale is too small! Please make the scale larger or make the graph taller." what's the problem? greets, flo
  11. i guess the 4 columns-thing has to be changed here somehow: file: /catalog/featured_products.php place: while ($featured_products = tep_db_fetch_array($featured_products_query)) { if ($new_price = tep_get_products_special_price($featured_products['products_id'])) { $products_price = '<s>' . $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</s> <span class="productSpecialPrice">' . $currencies->display_price($new_price, tep_get_tax_rate($featured_products['products_tax_class_id'])) . '</span>'; } else { $products_price = $currencies->display_price($featured_products['products_price'], tep_get_tax_rate($featured_products['products_tax_class_id'])); } ?> <tr> <td width="<?php echo SMALL_IMAGE_WIDTH + 10; ?>" valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '">' . tep_image(DIR_WS_IMAGES . $featured_products['products_image'], $featured_products['products_name'], SMALL_IMAGE_WIDTH, SMALL_IMAGE_HEIGHT) . '</a>'; ?></td> <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $featured_products['products_id']) . '"><b><u>' . $featured_products['products_name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . tep_date_long($featured_products['products_date_added']) . '<br>' . TEXT_MANUFACTURER . ' ' . $featured_products['manufacturers_name'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td> <td align="right" valign="middle" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_FEATURED_PRODUCTS, tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $featured_products['products_id']) . '">' . tep_image_button('button_in_cart.gif', IMAGE_BUTTON_IN_CART) . '</a>'; ?></td> </tr> <tr> <td colsp?an="3"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <?php } can u help please?
  12. in which file? and how can i set the sort order then in the admin-area? furthermore: how may i change it to 4 columns and 3 rows of displayed products?
  13. well i found out that there are no changes to my source code concerning the <booooody tag because of Simple Template System. may this also be the cause for the google code not to be executed?
  14. hi, my contrib doesn't work. guess its due to that some code isn't executed. the end of my checkout_success.php: as you can see for a test i changed <body to <boooooooooooody... but now look at the end of the source when accessing the page: <body is returned correctly and not wrong as i entered it... dunno what to do. what's wrong here? furthermore if the analytics.php was included i should at least see this: shouldn't i?
  15. thanks clement :) i was absent for some days. the html results of my checkout_success.php can be viewed here: http://www.oscommerce.com/forums/index.php?sho...c=180940&st=40# it is Post #55 greets, flo
  16. still no useful content at the end of my checkout_success.php ... doesn't anyone have an idea? it's my birthday! would be a nice gift if someone could tell me why! :D
  17. post your old htaccess file please. maybe you have to add "ReWrite Base" furthermore: may i somehow improve the quality of the thumbs? i'm not satisfied with my thumbs. :( take a look at http://www.muenkel-fine-arts.de/kaminbestecke-c-3.html
  18. hey guys... i made all the changes that are being told in the ionstallation instructions. in my source i can see only the following code at the end of the checkout_success.php: <!-- end currenciesbox //--> </font></p></td> </tr> </table> <br> <p> <!-- Google Code for Default Conversion Page --> <script language="JavaScript" type="text/javascript"> <!-- var google_conversion_type = 'landing'; var google_conversion_id = XXXXXXXXX; var google_conversion_language = "de"; var google_conversion_format = "1"; var google_conversion_color = "FFFFFF"; //--> </script> <script language="JavaScript" src="http://www.googleadservices.com/pagead/conversion.js"> </script> <noscript> <img height=1 width=1 border=0 src="http://www.googleadservices.com/pagead/conversion/XXXXXXXXX/extclk?script=0"> </noscript> </p> </body> </html> What's going wrong? trying to make it work for 2 or 3 days now :(
  19. sorry i have to disturb again :) 3) i added the include-code but when making an order and looking at the source code there is no passage with a <form> above the </body> tag. can u please tell me y?
  20. 1) furthermore when adding the code of your contrib i found out that it is exactly the same code as i added to my STS-template for google analytics for every site. you also mentioned it in your install notes. hope i didn't misunderstand it... so i guess i do not have to add it to checkout_success.php as well, right? 2) my id is xxxxxx-x instead of xxxx-x - can that be correct?
  21. hey, where is the difference between the "conversion target" (german translation) in the analytics section and the conversion tracking in the campaign-section? and which of these 2 possibilities are u talking about? greetz, flo
  22. just cant get it because i already installed email templates 1.1. can you please help me include it into my admin/mail.php: <?php /* ?$Id: mail.php,v 1.31 2003/06/20 00:37:51 hpdl Exp $ ?osCommerce, Open Source E-Commerce Solutions ?http://www.oscommerce.com ?Copyright (c) 2003 osCommerce ?Released under the GNU General Public License */ ?require('includes/application_top.php'); ?$action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : ''); ?if ( ($action == 'send_email_to_user') && isset($HTTP_POST_VARS['customers_email_address']) && !isset($HTTP_POST_VARS['back_x']) ) { ? ?switch ($HTTP_POST_VARS['customers_email_address']) { ? ? ?case '***': ? ? ? ?$mail_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS); ? ? ? ?$mail_sent_to = TEXT_ALL_CUSTOMERS; ? ? ? ?break; ? ? ?case '**D': ? ? ? ?$mail_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_newsletter = '1'"); ? ? ? ?$mail_sent_to = TEXT_NEWSLETTER_CUSTOMERS; ? ? ? ?break; ? ? ?default: ? ? ? ?$customers_email_address = tep_db_prepare_input($HTTP_POST_VARS['customers_email_address']); ? ? ? ?$mail_query = tep_db_query("select customers_firstname, customers_lastname, customers_email_address from " . TABLE_CUSTOMERS . " where customers_email_address = '" . tep_db_input($customers_email_address) . "'"); ? ? ? ?$mail_sent_to = $HTTP_POST_VARS['customers_email_address']; ? ? ? ?break; ? ?} ? ?$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']); // email template 1.1 ? ? ? ?require(DIR_WS_FUNCTIONS . 'email_templates.php'); ? ?tep_get_email_from($from, $from_email_name, $from_email_address); ? ?while ($mail = tep_db_fetch_array($mail_query)) { $email_text = tep_email_templates_replace_keywords($message, $mail['customers_email_address'], ''); tep_mail($mail['customers_firstname'] . ' ' . $mail['customers_lastname'], $mail['customers_email_address'], $subject, $email_text, $from_email_name, $from_email_address); ? ?} // ? ?tep_redirect(tep_href_link(FILENAME_MAIL, 'mail_sent_to=' . urlencode($mail_sent_to))); ?} this is the code comparison by ultraedit:
  23. where is the link for unsubscription added into the email text? cannot find it... would like to make it a table with orange border left and right but there is no way to do that in the admin-area.. guess i found the answer to my second question in newsletter_subscribers.php: $mimemessage->add_html_newsletter($this->header . "\n\n" . $this->contenta . "\n\n" . $this->unsubscribea . " " . '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . FILENAME_NEWSLETTERS_UNSUBSCRIBE . "?action=view&email=" . $mail['subscribers_email_address'] . '">' . HTTP_SERVER . DIR_WS_CATALOG . FILENAME_NEWSLETTERS_UNSUBSCRIBE . "?action=view&email=" . $mail['subscribers_email_address'] . '</a>' . "\n\n" . $this->unsubscribeb);
  24. could you please tell me how to do this or even better send me the files? greetz, flo
×
×
  • Create New...