Jump to content

edoscript

Members
  • Content count

    62
  • Joined

  • Last visited

Everything posted by edoscript

  1. edoscript

    [Addon] Facebook Pixel

    @BrockleyJohn Thank you for the app. I noticed that the "InitiateCheckout" is not included so I added to my site and here are the additions if you or someone can benefit from it. in includes/modules/header_tags/ht_facebook_pixel.php near line 48 I replaced function execute() { global $PHP_SELF, $oscTemplate, $customer_id, $currencies, $order, $product_check, $currency; with function execute() { global $PHP_SELF, $oscTemplate, $customer_id, $currencies, $order, $product_check, $currency, $cart_total; near line 159 replaced } elseif ( basename($PHP_SELF) == 'advanced_search_result.php' && MODULE_HEADER_TAGS_FB_SEARCH_EVENTS == 'True' && isset($_GET['keywords']) ) { $footer .= '<!-- Facebook Event Tracking --> <script> fbq(\'track\', \'Search\', { search_string: \'' . $_GET['keywords'] . '\', }); </script> <!-- End Facebook Event Tracking --> '; $oscTemplate->addBlock($footer, 'footer_scripts'); } with } elseif ( basename($PHP_SELF) == 'advanced_search_result.php' && MODULE_HEADER_TAGS_FB_SEARCH_EVENTS == 'True' && isset($_GET['keywords']) ) { $footer .= '<!-- Facebook Event Tracking --> <script> fbq(\'track\', \'Search\', { search_string: \'' . $_GET['keywords'] . '\', }); </script> <!-- End Facebook Event Tracking --> '; $oscTemplate->addBlock($footer, 'footer_scripts'); } elseif ( basename($PHP_SELF) == 'checkout_shipping.php' && MODULE_HEADER_TAGS_FB_INITIATE_CHECKOUT_EVENT == 'True' && $cart_total > 0 ) { $footer .= '<!-- Facebook Event Tracking --> <script> fbq(\'track\', \'InitiateCheckout\'); </script> <!-- End Facebook Event Tracking --> '; $oscTemplate->addBlock($footer, 'footer_scripts'); } Replaced 'MODULE_HEADER_TAGS_FB_PRODUCT_VIEWS' => array('title' => 'Product Views', 'desc' => 'Do you want to track product views?', 'value' => 'True', 'set_func' => 'tep_cfg_select_option(array(\'True\', \'False\'), '), with 'MODULE_HEADER_TAGS_FB_PRODUCT_VIEWS' => array('title' => 'Product Views', 'desc' => 'Do you want to track product views?', 'value' => 'True', 'set_func' => 'tep_cfg_select_option(array(\'True\', \'False\'), '), 'MODULE_HEADER_TAGS_FB_INITIATE_CHECKOUT_EVENT' => array('title' => 'Initiate Checkout', 'desc' => 'Do you want to track checkout initiations?', 'value' => 'True', 'set_func' => 'tep_cfg_select_option(array(\'True\', \'False\'), '), Meanwhile, in template_bottom.php before echo $oscTemplate->getBlocks('footer_scripts'); I added $cart_total = $cart->show_total(); if (!tep_session_is_registered('cart_total')) tep_session_register('cart_total');
  2. edoscript

    PHP 7

    @dr_lucas I was having the same issue. Thanks for the link.
  3. edoscript

    Optional Related Products, Version 4.0

    I installed the Version Phoenix 7.1, which I now see says for osCommerce CE Phoenix 1.0.2.x. Which version is for 2.3.4? Well I guess I can look within the versions and find the right version. Right? Or maybe I should upgrade to the latest version of osC.
  4. edoscript

    Optional Related Products, Version 4.0

    I have installed this module and activated both for products_info page and the shopping_cart page, however on the installation instructions steps I didn't see any reference to adding a code within product_info.php or shopping_cart.php pages to show the related products and it doesn't show nowhere within product info or the shopping cart pages. My osC version is v.2.3.4. Am I missing something? Thanks in advance.
  5. edoscript

    Email queuing system

    Can't wait to see it. Let me know if you need additional testers/debuggers. I may be able to help.
  6. edoscript

    Email queuing system

    For a slightly cleaner look. I have added the following line in my .htaccess file: RewriteRule ^orders/([^/\.]+)/?$ account_history_info.php?order_id=$1 [L] and in checkout_process.php I replaced: EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" . with: EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link('orders/' . $insert_id, '', 'SSL', false) . "\n" . to change the order details header from: Order Number: 401 Detailed Invoice: https://mywebsite.com/account_history_info.php?order_id=401 Date Ordered: Wednesday 17 April, 2019 Status: Pending to: Order Number: 401 Detailed Invoice: https://mywebsite.com/orders/401 Date Ordered: Wednesday 17 April, 2019 Status: Pending In case someone wants to use it.
  7. edoscript

    Email queuing system

    I came across to this great module today. Sounds very exciting. I have already created a test account on https://template.me.uk/outgoing and placed couple of orders. Meanwhile, how can I get access to the code to test it on my shop? Thanks in advance. - Ed
  8. edoscript

    Automatically send data feed to Froogle

    You are absolutely right, it say for testing only. However, since I needed it I worked on it and tested. The data is successfully uploaded to GMC. So I thought someone else may benefit from it too. Otherwise, thanks for the module. It works fine for me.
  9. edoscript

    Automatically send data feed to Froogle

    Couple of changes that may be useful if you plan to use the .csv file for the Google Merchant Center (GMC). GMC is using date format Y-m-d, so I changed the line define('OPTIONS_DATE_FORMAT', 'm-d-Y'); //change how the date is formatted to define('OPTIONS_DATE_FORMAT', 'Y-m-d'); //change how the date is formatted Since GMC requires the price field to have the curency specified (i.e. '19.99 USD'), near line 465 I replaced $row->price . "\t" . with $row->price . ' ' . OPTIONS_CURRENCY . "\t" . Near line 627 $csvStr = str_replace("\t", '", "', '"' . $output); $csvStr = str_replace("\n", "\"\n\"", $csvStr); $csvStr = substr($csvStr,0,-1); $csvStr = str_replace("\t", '", "', '"' . $output . '"'); I escaped the last line #$csvStr = str_replace("\t", '", "', '"' . $output . '"'); And finally I replaced the below three lines $fp = fopen( $csvFileLocn , "a" ); $fout = fwrite( $fp , $csvStr ); fclose( $fp ); with file_put_contents($csvFileLocn, $csvStr); I think that was it. Hope this will help someone.
  10. edoscript

    Automatically send data feed to Froogle

    was not being tested. So I changed it to if ( $row->prodStatus == 'a' ) { All is good now. I just found it came back to post it here and saw your reply. I just finished reading your comment and noticed that you actually guessed it right too. "Do you have at least one active product?" Thanks a lot.
  11. edoscript

    Automatically send data feed to Froogle

    @Jack_mcs Hello Jack, I have installed this nice module and it looks very promising. Thanks. My question is, I am getting a blank file with only the titles in it. (i.e. link title description price image_link id availability age_group brand condition expiration_date google product category gtin identifier exists adwords_labels mpn product_type upc I'm using osC v2.3.4. I tried debugging but can't find the problem comes from. I saw a post where you recommended replacing the line $myfetch_mysql = ($use_mysqli ? mysqli_fetch_object : mysql_fetch_object); with $myfetch_mysql = mysqli_fetch_object; or $myfetch_mysql = mysql_fetch_object; In my case the original line works same as mysqli_fetch_object, returning blank file with this output: Feed contains 0 products. File Completed: your-outfile.txt Use the following for easier viewing from this page. It is still in development and not meant for anything other than viewing. File Completed: your-outfile.csv Script timer: 0.003809 seconds. I am still looking through the pages on this topic to see if I can find the solution. Meanwhile, I would much appreciate your feedback on this. Thank you in advance. Here are my settings: define('SEO_ENABLED','true'); //Change to 'false' to disable if Ultimate SEO URLs is not installed define('FEEDNAME', 'your-outfile.txt'); //from your googlebase account define('DOMAIN_NAME', 'mysite.com'); //your correct domain name (don't include www unless it is used but do include the shops directory) define('FTP_USERNAME', 'username'); //created from within your googlebase account define('FTP_PASSWORD', 'password'); //created from within your googlebase account define('CONVERT_CURRENCY', '0'); //set to 0 to disable - only needed if a feed in a difference currecny is required define('CURRENCY_TYPE', 'USD'); //(eg. USD, EUR, GBP) define('DEFAULT_LANGUAGE_ID', $languages_id); //Change this to the id of your language if different than what is set as the default language in admin define('QUOTES_CATEGORY_NAME',''); //if the Quotes contribution is installed, enter the name of the quotes category here define('SKIP_CATEGORY_ID', ''); //don't list any categories (or their products) listed here - separate each id by a comma define('SKIP_PRODUCT_ID', ''); //don't list any products listed here - separate each id by a comma /*************** OPTIONS - IF ENABLED, ALSO SET THE SIMILAR OPTION FURTHER DOWN ******************/ define('OPTIONS_ENABLED', 1); define('OPTIONS_ENABLED_AGE_GROUP', 1); define('OPTIONS_ENABLED_ATTRIBUTES', 0); define('OPTIONS_ENABLED_BRAND', 1); //if set, see options for this setting below define('OPTIONS_ENABLED_CONDITION', 1); define('OPTIONS_ENABLED_CURRENCY', 0); define('OPTIONS_ENABLED_EXPIRATION', 1); define('OPTIONS_ENABLED_FEED_LANGUAGE', 0); define('OPTIONS_ENABLED_GTIN', 1); //if set, a database field named products_gtin must exist define('OPTIONS_ENABLED_GOOGLE_PRODUCT_CATEGORY', 1); //http://www.google.com/support/merchants/bin/answer.py?answer=160081 define('OPTIONS_ENABLED_GOOGLE_UTM', 0); // see 'OPTIONS_GOOGLE_UTM' below near line 72 define('OPTIONS_ENABLED_IDENTIFIER_EXISTS', 1); //set to 0 if required - https://support.google.com/merchants/answer/188494?hl=en define('OPTIONS_ENABLED_ISBN', 0); //if set, a database field named products_isbn must exist define('OPTIONS_ENABLED_LABEL', 1); define('OPTIONS_ENABLED_MADE_IN', 0); define('OPTIONS_ENABLED_MPN', 1); //if set, see options for this setting below define('OPTIONS_ENABLED_PRODUCT_MODEL', 0); //displays the product model define('OPTIONS_ENABLED_PRODUCT_TYPE', 1); define('OPTIONS_ENABLED_SHIPPING', 0); define('OPTIONS_ENABLED_INCLUDE_TAX', 0); //0 = no tax, 1 = uses google method, 2 = UK Vat define('OPTIONS_ENABLED_UPC', 1); //if set, a database field named products_upc must exist define('OPTIONS_ENABLED_WEIGHT', 0); //some of the following only work if the matching option is enabled above. define('OPTIONS_AGE_GROUP', 'Kids'); // Adult or Kids define('OPTIONS_AVAILABILITY', 'quantity'); //"in stock" - Include this value if you are certain that it will ship (or be in-transit to the customer) in 3 business days or less. //"available for order" - Include this value if it will take 4 or more business days to ship it to the customer. //"out of stock" - You’re currently not accepting orders for this product. //preorder - You are taking orders for this product, but it’s not yet been released. //if empty (no entry), the data will be loaded from the database. A field in the products description table named products_availability is required //if "quantity," the field will be populated via the quantity: 0 or less = out of stock, greater than 0 = in stock //if "status," the field will be populated via the status field. in or out of stock define('OPTIONS_BRAND', 'name'); //leave blank to load from the database field named products_brand, set to "name" to substitute the products name, manu to substitute the manufactueres name or model to substitute the products model define('OPTIONS_CONDITION', 'New'); //possible entries are New, Refurbished, Used or blank, which loads from the database field named products_condition define('OPTIONS_CURRENCY', 'USD'); define('OPTIONS_CURRENCY_THOUSANDS_POINT', ','); //this is the thousands point as in $1,000. define('OPTIONS_DATE_FORMAT', 'm-d-Y'); //change how the date is formatted define('OPTIONS_FEED_LANGUAGE', 'en'); define('OPTIONS_GOOGLE_UTM', '?utm_source=GoogleBase1&utm_medium=BaseFeed1&utm_campaign=products'); //see http://www.google.com/support/googleanalytics/bin/answer.py?hl=en&answer=55578 define('OPTIONS_GOOGLE_PRODUCT_CATEGORY', 'db'); //enter db to load from a database field named google_product_category enter or enter a specific google category - see taxomy - http://www.google.com/support/merchants/bin/answer.py?answer=160081 define('OPTIONS_GOOGLE_PRODUCT_CATEGORY_DEFAULT', '1253'); //enter the google category to be used if the database entry is empty define('OPTIONS_GTIN', ''); define('OPTIONS_ISBN', ''); define('OPTIONS_LABEL', ''); define('OPTIONS_MADE_IN', ''); // country code i.e. US - DEFAULT value was : define('OPTIONS_MADE_IN', 'US'); define('OPTIONS_MPN', 'model'); //leave blank to load from the database field named products_mpn, set to "name" to substitute the products name, manu to substitute the manufactueres name or model to substitute the products model define('OPTIONS_PRODUCT_TYPE', ''); //full means the full category path (i.e., hardware,printers), anything else, or blank, means just the products category (i.e., printers) //the following is for the shipping override option - enter multiple values separated by a comma //Format entries follow. A colon must be present for each field, whether it is entered or not. // COUNTRY - OPTIONAL - If country isn't included, we'll assume the shipping price applies to the target country of the item. If region isn't included, the shipping price will apply across the entire country. // REGION - OPTIONAL - blank for entire country, otherwise, us two-letter State (CA), full zip code (90210) or wildcard zip code (902*) // SERVICE - OPTIONAL - The service class or delivery speed, i.e. ground // PRICE - REQUIRED - Fixed shipping price (assumes the same currency as the price attribute) #define('OPTIONS_SHIPPING_STRING', 'US:FL:Ground:7.00'); //says charge shipping to US for residents of Florida at 5% and don't apply tax to shipping define('OPTIONS_SHIPPING_STRING', ''); # the above line was the DEFAULT value define('OPTIONS_TAX_RATE' , '10.25'); //default = 0 (e.g. for 20.0% tax use "$taxRate = 20.0;") //only used in the next line define('OPTIONS_TAX_CALC', (OPTIONS_ENABLED_INCLUDE_TAX == 2 ? (OPTIONS_TAX_RATE/100) + 1 : '1')); //UK. US tax rate - US is ignored since it is 1 //the following is for the tax override option - enter multiple values separated by a comma //Format entries follow. A colon must be present for each field, whether it is entered or not. // COUNTRY - OPTIONAL - country the tax applies to - only US for now // REGION - OPTIONAL - blank for entire country, otherwise, us two-letter State (CA), full zip code (90210) or wildcard zip code (902*) // TAX - REQUIRED - default = 0 (e.g. for 5.76% tax use 5.76) // SHIPPING - OPTIONAL - do you charge tax on shipping - choices are y or n define('OPTIONS_TAX_STRING', 'US:FL:10.25:n'); //says charge tax to US for residents of California at 10.25% and don't apply tax to shipping define('OPTIONS_UPC', ''); define('OPTIONS_USE_IMAGE_TABLE', '1'); //set to 1 to use the products_images table, which is only available in 2.3 shops define('OPTIONS_WEIGHT_ACCEPTED_METHODS', 'lb'); //Valid units include lb, pound, oz, ounce, g, gram, kg, kilogram. //the following allow skipping certain items define('OPTIONS_IGNORE_PRODUCT_PRICE', 1); //0 = include products with price of 0 in output, 1 = ignore products with price of 0 define('OPTIONS_IGNORE_PRODUCT_ZERO', 1); //0 = include products with qty of 0 in output, 1 = ignore products with qty of 0 /*************** END MASTER SETTINGS ******************/
  12. edoscript

    Login with Paypal

    @ArtcoInc Thanks for the update.
  13. edoscript

    PayPal App v5.018 Log In with PayPal is now dead

    Need help please. I noticed that on Admin>Modules>Content>"Login with PayPal" settings page when I check any of the checkboxes it is not being saved. I looked at the modules_content.php coding and couldn't find any problem. My account on developer.paypal.com is setup and everything looks good. I would appreciate any help.. Thank you in advance.
  14. edoscript

    PayPal App v5.018 Log In with PayPal is now dead

    BTW here is my default code in ../login/templates/paypal_login.php: <script type="text/javascript" src="https://www.paypalobjects.com/js/external/api.js"></script> <script type="text/javascript"> paypal.use( ["login"], function(login) { login.render ({ <?php if ( MODULE_CONTENT_PAYPAL_LOGIN_SERVER_TYPE == 'Sandbox' ) { echo ' "authend": "sandbox",'; } if ( MODULE_CONTENT_PAYPAL_LOGIN_THEME == 'Neutral' ) { echo ' "theme": "neutral",'; } if ( defined('MODULE_CONTENT_PAYPAL_LOGIN_LANGUAGE_LOCALE') && tep_not_null(MODULE_CONTENT_PAYPAL_LOGIN_LANGUAGE_LOCALE) ) { echo ' "locale": "' . MODULE_CONTENT_PAYPAL_LOGIN_LANGUAGE_LOCALE . '",'; } ?> "appid": "<?php echo MODULE_CONTENT_PAYPAL_LOGIN_CLIENT_ID; ?>", "scopes": "<?php echo implode(' ', $use_scopes); ?>", "containerid": "PayPalLoginButton", "returnurl": "<?php echo str_replace('&amp;', '&', tep_href_link(FILENAME_LOGIN, 'action=paypal_login', 'SSL', false)); ?>" }); }); </script>
  15. edoscript

    PayPal App v5.018 Log In with PayPal is now dead

    After making the above suggested changes, now (after entering PayPal credentials) I get the message "Log In with PayPal Have a PayPal account? Securely log in with PayPal to shop even faster!" on a blank page. And when I go back and click on login or try to checkout it keeps bringing back to the login.php page with the same message" Log In with PayPal Have a PayPal account? Securely log in with PayPal to shop even faster! Any idea? Thanks in advance.
  16. edoscript

    PayPal App v5.018 Log In with PayPal is now dead

    OK, I found the Admin Connect with PayPal settings under Admin>Modules>Content and both "Telephone Number" and "Seamless Checkout" are unchecked. I still have the same issue though, which is after entering PayPal credentials I get back to login.php page without logging in. I will try the changes suggested here. Thanks.
  17. edoscript

    Login with Paypal

    OK, I found the Admin Connect with PayPal settings under Admin>Modules>Content and both "Telephone Number" and "Seamless Checkout" are unchecked. I still have the same issue though, which is after entering PayPal credentials I get back to login.php page without logging in. I will try the changes suggested in peterbuzzin's post. Thanks.
  18. edoscript

    PayPal App v5.018 Log In with PayPal is now dead

    Hello Pete, I recently installed the "Connect with PayPal" App and after I enter the PayPal credentials I get back to my login.php page. I am looking at your posts and from within my Admin I don't see "Admin > PayPal App". Quite frankly I don't remember how I got my APP and I am guessing that my installation may not not be complete. Do you have the link to the PayPal App? I am thinking about reviewing it and if needed re-installing. My searches take to https://apps.oscommerce.com/fZMiN&paypal-app which is an older v5.010. Thanks in advance.
  19. edoscript

    Login with Paypal

    Thanks MrPhil, I am back and I just looked at it. Actually, peterbuzzin mentioned to un-check the "Telephone Number" and "Seamless Checkout" from within "Admin > PayPal App" which I don't see in my admin. Quite frankly I don't remember how I got my APP and I am guessing that my installation may not not be complete. Do you have the link to the PayPal App? I am thinking about reviewing it and if needed re-installing it. My searches take to https://apps.oscommerce.com/fZMiN&paypal-app which is an older v5.010. Thanks in advance.
  20. edoscript

    Login with Paypal

    While the most recent post in here is already over 2 years old, I wonder if anyone had the same issue that I am having. I have installed the "Login with PayPal" and everything seems to be good now, however after logging in with PayPal I end up on the login.php page again, and it doesn't show logged in and can't checkout. So I wonder if anyone has an idea as to how this should work or if I am missing anything. Thank you in advance.
  21. Thank you Rainer. I assume I need to look for the upgrade log and upgrade from 2.3.4 to 2.3.4.1 BS CE FROZEN and then do a clean installation of the latest PWA.
  22. Another minor modification that could be useful, or at least it is for me. If the guest decides to create an account then the guest key is removed from customer's account, however it is not removed from customer's order. So I have added a new line to do that in ht_pwa.php: if ( tep_session_is_registered('customer_is_guest') && isset($navigation->snapshot['page']) && $navigation->snapshot['page'] == 'checkout_success.php' ) { if ( defined('MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS') && MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS == 'True' && basename($PHP_SELF) == 'account.php' ) { // Unregister and remove guest from customers table if password is successful set tep_session_unregister('customer_is_guest'); tep_db_query("update customers set customers_guest = '0' where customers_id = '" . (int)$customer_id . "'"); tep_db_query("update orders set customers_guest = '0' where customers_id = '" . (int)$customer_id . "'"); Everything else looks good and work great. Great module. Thank you!
  23. So I have done some small modifications, including commenting out the hook line (which frankly I'm not familiar with): echo $OSCOM_Hooks->call('checkout_process', 'PwaCheckoutMailMod') in checkout_process.php, and now everything seems to be working fine. Except if the customer clicks on Proceed to set a password option on checkout_success.php page the account gets deleted. I did some debugging and noticed that in ht_pwa.php the $messageStack->output('account') is blank. Therefore the following condition is not satisfied: if ( defined('MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS') && MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS == 'True' && basename($PHP_SELF) == 'account.php' && strpos($messageStack->output('account'), 'alert-success') ) { and so the guest account is deleted here: } elseif ( basename($PHP_SELF) != 'download.php' && basename($PHP_SELF) != 'set_password.php' && substr(basename($PHP_SELF), 0, 😎 != 'checkout' ) { // else delete guest account $this->delete_guest_account(); } So my question: would it be a bad idea if I remove the strpos($messageStack->output('account'), 'alert-success') and modify the above condition? Modifying from: if ( defined('MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS') && MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS == 'True' && basename($PHP_SELF) == 'account.php' && strpos($messageStack->output('account'), 'alert-success') ) { to: if ( defined('MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS') && MODULE_CONTENT_CHECKOUT_SUCCESS_PWA_KEEP_ACCOUNT_STATUS == 'True' && basename($PHP_SELF) == 'account.php' ) { And my second question or why does the $messageStack->output('account') return blank value? Thank you in advance.
  24. Thanks Rainer, that makes sense now. My version is 2.3.4.
  25. Hello Rainer, I have removed the previous installation and I am reinstalling the PWA. It looks like the PWA Guest Checkout Documentation (the Word document) may need to be updated. Since I have massive changes to the original files I need to apply the PWA changes manually. So I would appreciate if you can give me an update. I have downloaded from: https://apps.oscommerce.com/5f3nn&purchase-without-account-bs the Purchase without account BS 3.0.5 dated: 24th February 2019 Thank you in advance. Here is what's confusing, you mentioned that the hook call should be in application_top.php at the very end, however on page 4-5 of the instruction it reads: 2.1.b. checkout_process.php; Find: // lets start with the email confirmation $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link('account_history_info.php', 'order_id=' . $insert_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; if ($order->info['comments']) { $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } Replace by: // lets start with the email confirmation $email_order = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" . EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link('account_history_info.php', 'order_id=' . $insert_id, 'SSL', false) . "\n" . EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n"; // PWA guest checkout echo $OSCOM_Hooks->call('pwa', 'PwaCheckoutMailMod'); if ($order->info['comments']) { $email_order .= tep_db_output($order->info['comments']) . "\n\n"; } P.S. Meanwhile, within modified_files folder I don't see the application_top.php file.
×