Jump to content

Demitry

Members
  • Content count

    311
  • Joined

  • Last visited

  • Days Won

    8

Demitry last won the day on December 28 2018

Demitry had the most liked content!

2 Followers

Profile Information

Recent Profile Visitors

10,397 profile views
  1. 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!
  2. So, I just read the compatibility and looks like version 3.0.5 is as high as I get? is that correct?
  3. 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" : '';
  4. @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
  5. 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.
  6. 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";
  7. 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.
  8. 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.
  9. Cool, thanks man. I figured this was likely the case as soon as I saw "Community Edition."
  10. Ok, so a quick update,... I downloaded Phoenix v1.0.2.0 (Community Edition) and looked at the product_info.php page and related pi modules. It's pretty much the same as the BS Edge. So, I assume the new Product Information System is not in the "Community Edition." I also looked at the oscTemplate class (something I should have done from the start) and now understand it far better than I did before. After that I decided to test what Malcolm referred to and include the individual modules and their related language files in the Left Column and Right Column of my template. That did not work either and there were no errors in the error log. So, unless one of the Sr. developers has a quick working solution, I think my alternative is (as mentioned before), to just create another module block for the Right Column and move the individual modules I want to display in the Right Column to that module group folder.
  11. @Dan Cole Dan, thank you for the explanation and yeah, it does seem like something I could use. Though is that something I can integrate with BS Edge?, ..because I am really not up to starting from scratch with a newer version of osC. @ArtcoInc hi Malcolm, Actually, I thought of doing the same thing, but only after I created this page post, lol. I have not tried it yet and my thoughts were that the modules have to be ran through the oscTemplate. However, I am not sure if that makes any difference in terms of security or anything else. I just don't know how calling the module block contents through the oscTemplate actually works. Perhaps I need to explore that first.
  12. Demitry

    admin orders onclick change

    @Kevin.Dallas One more thing about the usability of creating a feature like this. I assume that you need to make changes once in a while to a tracking number due to an initial data-entry error. With your solution,.. changing it in the Order History Update section/log will not send an email to the customer to notify them of the correction. And, it will not date/time stamp that correction for your own records, so that you can go back and see when you made this change. Of course, you could hire a developer to have these features added as well, but why? All you have to do is post another Order Update with the correct tracking number and add a note saying that this is the correct tracking number so, please discard the one sent in the last update. This will record in your Order History Update section/log and it will send an email to the customer notifying them of the change. Better record keeping, no need to get into the database, and no need to pay a developer. Problem solved!
  13. Demitry

    admin orders onclick change

    @Kevin.Dallas Kevin, as I understand it,.. I think what you're looking for is the ability to edit the tracking number after you've submitted it via Order Status Update. Unfortunately my addon that Peter mentioned does not do this. You can enter it via the input field and it will be stored in the database for that particular Order Status Update, but to alter it after it was submitted with the Update button on that page, means having to go into the database. I suggest contacting the author of the addon you're using to see if they can do this for you. What I think you need is to have the tracking number field in the Order Status Update section be an input-box that displays the tracking number saved in the database and can then be edited using onChange event. Sorry I cannot be of more help.
  14. Lee, I believe that you’re referring to the same Product Information System that Dan mentioned. I’m currently in the dark when it comes to that particular topic. However, I completely support any and all initiatives that would make this software easier to customize …and especially, for the non-technical user.
  15. @Dan Cole I think the Product Information System that you’re referring to is part of the Phoenix release. I’m not familiar with it and this is the first I’m hearing of it. Though out of curiosity I’d love to know more about it.
×