Jump to content

Demitry

Members
  • Content count

    352
  • Joined

  • Last visited

  • Days Won

    8

Everything posted by Demitry

  1. @domiosc hi Vicent, Thank you for that information. Actually, I redid the old Credit Card module (cc.php) for BS Edge. I have not tested it yet, but it should work for what I'm looking to do before actually getting a merchant account. hi Matt, I took a look at the customers database table and even in the latest version of Phoenix there is a column for credit card numbers. I'm not sure if these are now encrypted or as per Vicent, you still have to get a separate addon installed for that. Anyway, having these in the customers table does not kill the PCI compliance. I ran a PCI complaisance test on my BS Edge site on https://www.immuniweb.com and it came back with everything good except for the Content Security Policy, which goes in the main htaccess file. See screenshot below. @Jack_mcs hi Jack, From our prior conversation, you mentioned that the Credit Card module was removed for PCI non-compliance, however, I ran a test with that module redone for BS Edge on https://www.immuniweb.com and it came back clean for PCI compliance. I'm not sure if there is something else that was the cause, but I just wanted to let you know my findings.
  2. thanks Jack, I'll take a look at it. I'll see if they have some sort of a sandbox option for testing prior to going live, ..preferably one that is free to test. I really did not want to use authorize.net as the merchant account/gateway, but will see.
  3. Thank you for the explanation, Matt. I was not aware of all that. So, basically I need to sign up for a gateway / merchant account first, ..then install and modify the available osC credit card payment modules that is made for that account?
  4. hi Matt, I think that MS2.2 payment module stored CC numbers in the database, but not any CVV or CVC2. PCI compliance prohibits storing these numbers but not the CC numbers, otherwise sites like Amazon and eBay (and many others) would require you to enter your CC number each time you make a purchase. So, as I understand it, I have to select a merchant account first and then apply a module for that account from the payment modules list to be able to process cards? I don't think this was the case with MS2.2 ..What if I just want to use a CC module to test it and different features related to it without selecting a merchant account? What I am saying is that the payment gateway was separate from the CC module and you could previously install that module and manage it without actually processing payments via a gateway. Is this no longer the case?
  5. hi, I'm not sure if this is the best page to pose this question, but this forum page has more recent posts than some of the other ones I looked at. I'm working on BS Edge with PHP7.2 and am trying to figure out what credit card payment module to install. MS2.2 had the following payment module in /includes/modules/payment/cc.php ..however, BS edge and later versions do not have this file. So, ..do I update that file and install it in BS Edge or is there a simpler Credit Card module solution? Does anyone know?
  6. Because I do not use the Navigation Bar, I cannot say whether enabling the Hamburger menu button for the Navigational Bar would affect the display position of the Categories Menu button in the Horizontal Menu. I would say, that this is likely not the case. Again, I don't know because my modified version does not include the Navigation Bar. I have the three aforementioned modules that I imported into the Horizontal Menu from the Navigation Bar and those display in both desktop and mobile. And as long as it works, that's all that matters! On a side note, always test any changes you make to your site on both desktop and mobile. I primarily use FireFox due to its security features and because it does not scrape as much of my personal info as the other browsers do (plus, its faster). However, I usually also do cross-browser testing in Chrome, MS Edge, IE, and Safari. And, Google Chrome has a feature I often use to identify issue on a page via their More Tools > Developer Tools settings menu option. There, you can view your changes on select mobile devices as well. I mention this here not just FYI, but for anyone reading through these posts who's making code changes or installing new features on their site.
  7. This is a CSS setting for that button of position:absolute; You need to find the class that controls that Categories button and change the position setting to position:relative; This should work, but may need another tweak depending on the div structure and other related CSS.
  8. Yeah, that's strange that it works without the Extra Small (XS) module for mobile. Maybe based on the BootStrap nav class? Though, that module is really easy to install. Are you sure you did not install that XS module?,.. because I thought that Categories button for the menu dropdown is part of it. Mine is completely different, .. with lots of modifications. I installed it in 10/17 so its been a while.
  9. Make sure your Categories Menu XS is enabled. Go into your admin panel Modules>Content>Categories Menu XS and make sure it is installed and enabled. If that is enabled and you are still seeing that desktop horizontal menu, go into the template for the catmenu and look at the code that follows this line if (MODULE_CONTENT_HEADER_CATMENU_XS_STATUS == 'True') { That code is what determines hiding the desktop version of the horizontal menu when the screen width is smaller than desktop. As I mentioned before, my version is modified and I actually use some of the Navigation Bar modules in my Horizontal Menu (like Account, Cart, and Checkout). Therefore, it makes it a bit more challenging for me to test or replicate issues on my end without having a fresh install of each osC version.
  10. @Kurre If you used the second CSS script I posted, then it should work. If it does not, then just use what did work for you that Andrea posted. I appreciate you testing it.
  11. this is with the adjusted CSS? ..strange, it should not be doing that. What version of osC do you have?
  12. That's ok, you probably have a newer release of this addon. The point is, just replace all of the navbar-nav classes you find in that file, if there are any. Hey, just a minor correction to the CSS code block above. I missed that the last @media call was for min-width and placed my code above it, when it should be below it. So, here is the corrected CSS for this to work properly. Use this one instead. /* BOF: Horizontal Menu Links Centered */ .navbar-nav-h-menu { margin: 7.5px -15px; } .navbar-nav-h-menu > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; } .navbar-nav-h-menu > li > .dropdown-menu { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; } .navbar-fixed-bottom .navbar-nav-h-menu > li > .dropdown-menu { margin-bottom: 0; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .navbar-default .navbar-nav-h-menu > li > a { color: #777; } .navbar-default .navbar-nav-h-menu > li > a:hover, .navbar-default .navbar-nav-h-menu > li > a:focus { color: #333; background-color: transparent; } .navbar-default .navbar-nav-h-menu > .active > a, .navbar-default .navbar-nav-h-menu > .active > a:hover, .navbar-default .navbar-nav-h-menu > .active > a:focus { color: #555; background-color: #e7e7e7; } .navbar-default .navbar-nav-h-menu > .disabled > a, .navbar-default .navbar-nav-h-menu > .disabled > a:hover, .navbar-default .navbar-nav-h-menu > .disabled > a:focus { color: #ccc; background-color: transparent; } .navbar-default .navbar-nav-h-menu > .open > a, .navbar-default .navbar-nav-h-menu > .open > a:hover, .navbar-default .navbar-nav-h-menu > .open > a:focus { color: #555; background-color: #e7e7e7; } .navbar-inverse .navbar-nav-h-menu > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav-h-menu > li > a:hover, .navbar-inverse .navbar-nav-h-menu > li > a:focus { color: #fff; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu > .active > a, .navbar-inverse .navbar-nav-h-menu > .active > a:hover, .navbar-inverse .navbar-nav-h-menu > .active > a:focus { color: #fff; background-color: #080808; } .navbar-inverse .navbar-nav-h-menu > .disabled > a, .navbar-inverse .navbar-nav-h-menu > .disabled > a:hover, .navbar-inverse .navbar-nav-h-menu > .disabled > a:focus { color: #444; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu > .open > a, .navbar-inverse .navbar-nav-h-menu > .open > a:hover, .navbar-inverse .navbar-nav-h-menu > .open > a:focus { color: #fff; background-color: #080808; } @media (max-width: 767px) { .navbar-nav-h-menu .open .dropdown-menu { position: static; float: none; width: auto; margin-top: 0; background-color: transparent; border: 0; -webkit-box-shadow: none; box-shadow: none; } .navbar-nav-h-menu .open .dropdown-menu > li > a, .navbar-nav-h-menu .open .dropdown-menu .dropdown-header { padding: 5px 15px 5px 25px; } .navbar-nav-h-menu .open .dropdown-menu > li > a { line-height: 20px; } .navbar-nav-h-menu .open .dropdown-menu > li > a:hover, .navbar-nav-h-menu .open .dropdown-menu > li > a:focus { background-image: none; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > li > a { color: #777; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > li > a:focus { color: #333; background-color: transparent; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .active > a, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .active > a:focus { color: #555; background-color: #e7e7e7; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:focus { color: #ccc; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .dropdown-header { border-color: #080808; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu .divider { background-color: #080808; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > li > a:focus { color: #fff; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .active > a:focus { color: #fff; background-color: #080808; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:focus { color: #444; background-color: transparent; } } @media (min-width: 768px) { .navbar-nav-h-menu { margin: 0; } .navbar-nav-h-menu > li > a { padding-top: 15px; padding-bottom: 15px; } } /* this will center the menu links */ .navbar-nav-h-menu { width:100%; text-align:center; } .navbar-nav-h-menu > li { float:none; display:inline-block; } /* EOF: Horizontal Menu Links Centered */
  13. If you have this addon installed AND will use the Navigation Bar AND you want the Horizontal Menu to display the links centered, here are the changes to make. I put this together, but have not tested it. Therefore, I need someone to actually apply these 3 changes and let me know if this works. I searched through the last version of osC Flatline (Frozen) BootStrap CSS file to find all instances of .navbar-bar. I then combined them and changed all these .navbar-bar classes to .navbar-bar-h-menu which is going to be the new CSS class for the Horizontal Menu with centered links. That osC Flatline version is based on BootStrap 4, however, this should not affect anything if you have BS3 because this is only for the Horizontal Menu. First, back up your site files,.. as always! So that you could easily reverse these changes, if needed. Then, add the following CSS code to the end of your user.css file: /* BOF: Horizontal Menu Links Centered */ .navbar-nav-h-menu { margin: 7.5px -15px; } .navbar-nav-h-menu > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 20px; } .navbar-nav-h-menu > li > .dropdown-menu { margin-top: 0; border-top-left-radius: 0; border-top-right-radius: 0; } .navbar-fixed-bottom .navbar-nav-h-menu > li > .dropdown-menu { margin-bottom: 0; border-top-left-radius: 4px; border-top-right-radius: 4px; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .navbar-default .navbar-nav-h-menu > li > a { color: #777; } .navbar-default .navbar-nav-h-menu > li > a:hover, .navbar-default .navbar-nav-h-menu > li > a:focus { color: #333; background-color: transparent; } .navbar-default .navbar-nav-h-menu > .active > a, .navbar-default .navbar-nav-h-menu > .active > a:hover, .navbar-default .navbar-nav-h-menu > .active > a:focus { color: #555; background-color: #e7e7e7; } .navbar-default .navbar-nav-h-menu > .disabled > a, .navbar-default .navbar-nav-h-menu > .disabled > a:hover, .navbar-default .navbar-nav-h-menu > .disabled > a:focus { color: #ccc; background-color: transparent; } .navbar-default .navbar-nav-h-menu > .open > a, .navbar-default .navbar-nav-h-menu > .open > a:hover, .navbar-default .navbar-nav-h-menu > .open > a:focus { color: #555; background-color: #e7e7e7; } .navbar-inverse .navbar-nav-h-menu > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav-h-menu > li > a:hover, .navbar-inverse .navbar-nav-h-menu > li > a:focus { color: #fff; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu > .active > a, .navbar-inverse .navbar-nav-h-menu > .active > a:hover, .navbar-inverse .navbar-nav-h-menu > .active > a:focus { color: #fff; background-color: #080808; } .navbar-inverse .navbar-nav-h-menu > .disabled > a, .navbar-inverse .navbar-nav-h-menu > .disabled > a:hover, .navbar-inverse .navbar-nav-h-menu > .disabled > a:focus { color: #444; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu > .open > a, .navbar-inverse .navbar-nav-h-menu > .open > a:hover, .navbar-inverse .navbar-nav-h-menu > .open > a:focus { color: #fff; background-color: #080808; } /* this will center the menu links */ .navbar-nav-h-menu { width:100%; text-align:center; } .navbar-nav-h-menu > li { float:none; display:inline-block; } @media (max-width: 767px) { .navbar-nav-h-menu .open .dropdown-menu { position: static; float: none; width: auto; margin-top: 0; background-color: transparent; border: 0; -webkit-box-shadow: none; box-shadow: none; } .navbar-nav-h-menu .open .dropdown-menu > li > a, .navbar-nav-h-menu .open .dropdown-menu .dropdown-header { padding: 5px 15px 5px 25px; } .navbar-nav-h-menu .open .dropdown-menu > li > a { line-height: 20px; } .navbar-nav-h-menu .open .dropdown-menu > li > a:hover, .navbar-nav-h-menu .open .dropdown-menu > li > a:focus { background-image: none; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > li > a { color: #777; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > li > a:focus { color: #333; background-color: transparent; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .active > a, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .active > a:focus { color: #555; background-color: #e7e7e7; } .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:focus { color: #ccc; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .dropdown-header { border-color: #080808; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu .divider { background-color: #080808; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > li > a { color: #9d9d9d; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > li > a:focus { color: #fff; background-color: transparent; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .active > a:focus { color: #fff; background-color: #080808; } .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav-h-menu .open .dropdown-menu > .disabled > a:focus { color: #444; background-color: transparent; } } @media (min-width: 768px) { .navbar-nav-h-menu { float: left; margin: 0; } .navbar-nav-h-menu > li { float: left; } .navbar-nav-h-menu > li > a { padding-top: 15px; padding-bottom: 15px; } } /* EOF: Horizontal Menu Links Centered */ /includes/modules/content/header/cm_header_catmenu.php Find this line: if (empty($class)) $class = 'nav navbar-nav'; Change it to this: if (empty($class)) $class = 'nav navbar-nav-h-menu'; /includes/modules/content/header/templates/catmenu.php Find this line: echo '<ul class="nav navbar-nav"> Change it to this: echo '<ul class="nav navbar-nav-h-menu"> My module & class files are all modified for this addon, so you basically want to find any instance of navbar-nav class in the files for this addon and change them to navbar-nav-h-menu …and be sure to leave out the leading period (.) as those are mainly used in the CSS file. These changes apply to all the same attributes that the original navbar-nav class has, but they are separate from, and do not affect the Navigation Bar. Therefore, if you need to make formatting changes only to your Horizontal Menu, you should now be able to do that from this CSS block of code in the user.css file. This block of CSS code is more than required for the Horizontal Menu, however, this is as good as it gets for a quick solution. Let me know if this solution works for you.
  14. Ah,.. yeah, I do remember you mentioned that this change affects the top Navigation Bar. And hence, why the need to change the name of the classes. However, to do that (if using the Navigation Bar as well), you would need to copy and paste the entire block for .navbar-nav from the BootStrap CSS file into the user.css file. Then rename all of these classes (in the user.css file) to .navbar-nav-h-menu and then add the following code to the bottom of the user.css file (after the newly added .navbar-nav-h-menu classes). /* this will center the menu links */ .navbar-nav-h-menu { width:100%; text-align:center; } .navbar-nav-h-menu > li { float:none; display:inline-block; } Then go into the horizontal menu file and change all the navbar-nav classes to navbar-nav-h-menu and do the same in the class file for this addon (if there are any in that class file). It's a bit more involved but not difficult.
  15. Yes, I thought this was only regarding the links in the horizontal menu. I don't use the Navigation Bar, so never ventured to change those links.
  16. The classes for .nav and .navbar-nav are defined in the BootStrap css file so, changing the names of those classes removes the prior attributes assigned to them. I just added the following to my user.css file and it works as it should,... centering all the links in the horizontal menu. No need to change anything else. /* this will center the menu links */ .navbar-nav { width:100%; text-align:center; } .navbar-nav > li { float:none; display:inline-block; }
  17. No, actually I have version 2.5 ...I keep a spreadsheet of all the changes and addons I install and this is the latest one I have. That version 2.4 I got from the /admin/orders.php file top header part. I must not have updated that when moving to 2.5 Anyway, thanks Rainer. Looks like I need to just update everything to version 3.0.5 ...I just downloaded it and am on my way. Thanks again!
  18. So, I just read the compatibility and looks like version 3.0.5 is as high as I get? is that correct?
  19. Looks like version 2.4 And after looking at the addon download page the latest version is 4.0.0 ... so, I need to update. Is the latest version compatible for BS Edge or is it designed for Phoenix? ~~~~ Also, just a suggestion, ..to make the invoice link in the Order Update email clickable, as opposed to having the customer copy and paste it into a new browser window. Though you may already have that changed in the newer versions. //$link = $check_status['customers_guest'] != '1' ? EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link('account_history_info.php', 'order_id=' . $oID, 'SSL') . "\n" : ''; $link = $check_status['customers_guest'] != '1' ? EMAIL_TEXT_INVOICE_URL . ' <a href="' . tep_catalog_href_link('account_history_info.php', 'order_id=' . $oID, 'SSL') . '" target="new">' . tep_catalog_href_link('account_history_info.php', 'order_id=' . $oID, 'SSL') . '</a>' . "\n" : '';
  20. @raiwa hi Rainer, I have BS Edge on PHP7.2 and I cannot seem to get the Order Update emails to display the review links of the purchased products. So far, I’ve only been testing the registered customer account. I looked through this forum and could not locate anything in regards to this issue. Here is the code block for these links from my /admin/orders.php file. Do your review links display in the Order Update emails? Any idea of what I can do to get them to display? Thanks. // PWA guest checkout $check_status_query = tep_db_query("select customers_name, customers_guest, reviews_key, customers_email_address, orders_status, date_purchased from orders where orders_id = '" . (int)$oID . "'"); $check_status = tep_db_fetch_array($check_status_query); if ( ($check_status['orders_status'] != $status) || tep_not_null($comments) ) { tep_db_query("update " . TABLE_ORDERS . " set orders_status = '" . tep_db_input($status) . "', last_modified = now() where orders_id = '" . (int)$oID . "'"); $customer_notified = '0'; if (isset($_POST['notify']) && ($_POST['notify'] == 'on')) { $notify_comments = ''; if (isset($_POST['notify_comments']) && ($_POST['notify_comments'] == 'on')) { $notify_comments = sprintf(EMAIL_TEXT_COMMENTS_UPDATE, $comments) . "\n\n"; } // PWA guest checkout BEGIN if ( isset($_POST['add_reviews']) && ($_POST['notify'] == 'on') ) { include('includes/classes/order.php'); $order = new order($oID); $products_review_links = constant('MODULE_CONTENT_PWA_REVIEWS_' . strtoupper($language)) . ':' . "\n"; for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { if ($check_status['customers_guest'] == '1') { $products_review_links .= '<a href="' . tep_catalog_href_link('product_reviews_write_pwa.php', 'products_id=' . tep_get_prid($order->products[$i]['id']) . '&pwa_id=' . $check_status['reviews_key'], 'SSL', false) . '">' . $order->products[$i]['name'] . '</a>' . "\n"; } elseif ($check_status['customers_guest'] != '1') { $products_review_links .= '<a href="' . tep_catalog_href_link('product_reviews_write.php', 'products_id=' . tep_get_prid($order->products[$i]['id']), 'SSL', false) . '">' . $order->products[$i]['name'] . '</a>' . "\n"; } } } $link = $check_status['customers_guest'] != '1' ? EMAIL_TEXT_INVOICE_URL . ' ' . tep_catalog_href_link('account_history_info.php', 'order_id=' . $oID, 'SSL') . "\n" : ''; $email = STORE_NAME . "\n" . EMAIL_SEPARATOR . "\n" . EMAIL_TEXT_ORDER_NUMBER . ' ' . $oID . "\n" . $link . EMAIL_TEXT_DATE_ORDERED . ' ' . tep_date_long($check_status['date_purchased']) . "\n\n" . $products_review_links . "\n" . $notify_comments . sprintf(EMAIL_TEXT_STATUS_UPDATE, $orders_status_array[$status]); // PWA guest checkout END
  21. hi, I have BS Edge on PHP 7.2 and, ...I have a custom template layout. I am trying to figure out if there is a way to call individual modules within the oscTemplate block into different parts of my template. I know how the modules within a oscTemplate block can be managed via sort order and BS row width, but this does not work for my template structure. I could create a new module block and move those individual modules that I want in a different part of the template into that folder and then call that block into the template, but I would rather not create more module folders and instead, just pull individual modules out of the same module block and place them where I need them in my custom template. Is that possible? So, ..for example: the checkout_success.php page calls a block of modules in the /includes/modules/content/checkout_success/ folder using this code: $oscTemplate->getContent('checkout_success') In that content module folder are five individual modules and their related templates. I'm looking for a way to call each of these individually instead of as a whole block. Any help would be greatly appreciated.
  22. Thanks Kevin, but I don't use the Theme Switcher addon. And, I actually do need BootStrap for that page. I resolved this topic's issue by doing what I originally said,.. via separating the modules into two cm-folders and calling them each as a block in the related parts of my template.
  23. Demitry

    admin orders onclick change

    echo '</td>' . "\n" . '<td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" . '<td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true), true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . echo ' </tr>' . "\n"; For one thing you have two echo statements and the first one is not closed with a semicolon. My development software is showing two other syntax errors in this block that I compared to my code and could not find. So, I replaced those two lines and the errors went away. Try this for that same block I posted above. echo '</td>' . "\n" . '<td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n" . '<td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true), true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n" . '<td class="dataTableContent" align="right" valign="top"><strong>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax'], true) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</strong></td>' . "\n"; echo ' </tr>' . "\n";
  24. Demitry

    admin orders onclick change

    Thanks Peter, I was just going to ask you if you've had any issues with it. And, I have nothing in the error log as well. The utf8_unicode_ci in the orders_history_status table is something I did miss, but it works fine. I'll change it on the next update. As far as adding tracking related code to the checkout_process.php file, ..again, I'm not sure why that would be needed. The tracking number is not issued or processed during checkout.
  25. I am supporting the shop owners,.. that's why I have a ton of contributions and am one of less than a handful of people still spending their personal time on releasing new ones.
×