Jump to content

milerwan

Members
  • Content count

    308
  • Joined

  • Last visited

  • Days Won

    7

milerwan last won the day on January 15 2018

milerwan had the most liked content!

1 Follower

About milerwan

  • Rank
    Osc fan
  • Birthday 12/14/1976

Profile Information

Recent Profile Visitors

11,997 profile views
  1. I have tested from your shop, it is very simple to connect and start conversation ! Very useful !
  2. @LeeFoster You mean this one ? : Facebook Messenger Chat Box Addon : https://apps.oscommerce.com/Apps&e18Iy&facebook-messenger-chat-box-addon Interesting, I will take a look on it !! Thank you ! 😄
  3. Hi, I'm searching for a free Live Chat solution for Oscommerce BS (and so on) to install... Could you tell me about your application experiences and tell me which one has the best integration choice for you? Thank you for your feedback ! 😊
  4. milerwan

    shipping cost values

    1 gram = 0.001 10 grams = 0.01 100 grams = 0.1 1 kilogram = 1 You have to change the setting of number of decimals after zero in phpmyadmin before because oscommerce is setting by default with only 2 decimals after zero.
  5. milerwan

    attribute prices

    A priori, there is no difficulty in defining a different final price in the 6 cases... Material : - steel - aluminium (+3.00) Size : - M04 - M06 (0.15) - M08 (0.30) At the end, you get the price you want for each combination (10 + 3 + 0.3 = 13.30). NB: If there is a very big problem with price escalation, it is better to create 2 separate product sheets.
  6. milerwan

    NEW! Complete Order Editing Tool!

    What is the name of the coupons module you use ?
  7. No, it is the shop owner that decides if prices must be displayed with or without tax. But you can add little codes to display near the price incl. tax, the price excl. tax. Here is a module that allows that : https://apps.oscommerce.com/83MkK&display-tax-below-price-for-osc-2-3-1 Personally I limited this type of display only to the product sheet (my own code, screenshot attachment).
  8. milerwan

    install 2.3 modules to Phoenix?

    @Lochlann 2.3 BS "shipping" modules, as "order_total" modules, must work on Phoenix, the only difference must reside in the upgrade of icons (if there is any), BS4 "grids" stucture, filenames and path constants like @raiwa said. Try to install a module and if there is a problem it will be necessary to rectify the points previously discussed.
  9. milerwan

    adding to specials and whats new boxes

    @multimixer is true, you need to add a new field in the products TABLE to increment product specifics... There is no other way to make it.
  10. Sorry it's because I haven't located the fix... Now I see it... You have modify this : $order_tax = 0; By this : $order_tax = $order->info['tax']; So yes, it is better than my fix.
  11. @raiwa I find a fix... To fix the @Omar_one issue when "$discount" amount is superior to "$order_subtotal", find this sentence : if ( tep_not_null($order_tax)) { $order->info['tax'] = $order_tax; } else { $order->info['total'] -= $discount; } or this one : if (!empty($order_tax)) { $order->info['tax'] = $order_tax; } else { $order->info['total'] -= $discount; } And add below this : // fix negative amount BOF if ($order->info['total'] < 0) { $order->info['total'] += $discount; } // fix negative amount EOF More simple method and works with or without tax added in total.
  12. So what was the fix you applied to solve the issue of @Omar_one ? By the way, I have taken a look on the "includes/modules/order_total/ot_shipping.php" file and find this sentence : $subtotal_correction += $order->products[$i]['final_price']; //use for tax calculation only products which have taxes But it seems the "$subtotal_correction" variable is alone on the script so it doesn't affect anything normally... A vestige of a past version that must be removed?
  13. Hi @raiwa Warning, I have tested your fix and I found a serious bug when the order is without VAT applied. In that case discount is not applied in total. Another way to solve the minor bug related is to apply a "Minimum Order Sub-Total" amount more than the amount of the discount and not equal. NB: Or not apply "Minimum Order Sub-Total".
  14. Yes it is screenshot but as I mentioned above the EU legislation requires that there is, on the one hand, an electronic signature and, on the other hand, at least a link to the "Terms & Conditions" at the time of the confirmation of order, so located in the "checkout_confirmation" page. I think we can keep legal agreements in the create_account page for "Privacy Policies" but for "T&C" it must be transferred to the checkout page in the form of an electronic signature.
  15. To create a signature insert with a modal link that displays the "T&C at checkout" for 2.3.4 BS, Edge and so on, here are the changes to make : 1. In "checkout_confirmation.php" file 1a. Find this sentence : require('includes/template_top.php'); ?> And replace by : require(DIR_WS_INCLUDES . 'template_top.php'); ?> <?php // Must agree to terms START ?> <script language="javascript"><!-- function check_agree(TheForm) { if (TheForm.agree.checked) { return true; } else { alert(unescape('<?php echo CONDITION_AGREEMENT_ERROR; ?>')); return false; } } //--></script> <?php // Must agree to terms END ?> 1b. Find this sentence : echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); ?> And replace by : // Must Agree to terms START // echo tep_draw_form('checkout_confirmation', $form_action_url, 'post'); echo tep_draw_form('checkout_confirmation', $form_action_url, 'post', 'onsubmit="return check_agree(this);"'); // Must Agree to terms END ?> 1c. Find this sentence : <div class="buttonSet"> <div class="text-right"> <?php And replace by : <?php // Must Agree to terms START ?> <br> <div class="pull-right"> <div class="panel panel-success"> <div class="panel-heading"><?php echo '<strong>' . HEADING_CONDITION_AGREEMENT . '</strong>'; ?><button type="button" style="margin-left:0px;" class="btn btn-info btn-xs pull-right" data-toggle="modal" data-target="#cgvModal"><i class="fa fa-eye"></i> <?php echo CONDITIONS; ?></button></div> <div class="panel-body"> <table width="100%"> <tr> <td class="small"><strong> <?php echo CONDITION_AGREEMENT; ?></strong> </td> <td align="right" width="26px" onclick="window.document.checkout_confirmation.agree.checked = !window.document.checkout_confirmation.agree.checked;"> <?php echo tep_draw_checkbox_field('agree','true', false, 'onclick="window.document.checkout_confirmation.agree.checked = !window.document.checkout_confirmation.agree.checked;"'); ?> <?php echo tep_draw_hidden_field('check_agreestatus', $value = 'true'); ?> </td> </tr> </table> </div> </div> </div> <!-- Modal Conditions--> <?php include(DIR_WS_MODULES . FILENAME_MODAL_CONDITIONS); ?> <!-- Modal Conditions--> <?php // Must Agree to terms END ?> <div class="clearfix"></div> <div class="buttonSet"> <div class="text-right"> <?php 2a. In "includes/languages/english/checkout_confirmation.php" file, add this at the end of the page : // Must Agree to terms define('HEADING_CONDITION_AGREEMENT', 'Electronic Signature'); define('CONDITIONS', 'T&C'); define('CONDITION_AGREEMENT', '"I have read the Terms and Conditions and I\'m agree to the terms."'); define('CONDITION_AGREEMENT_ERROR', "Please read our Terms and Conditions and declare accept them. If you do not do so, your order will not be processed."); // Must Agree to terms 2b. In "includes/languages/french/checkout_confirmation.php" file, add this at the end of the page : // Must Agree to terms define('HEADING_CONDITION_AGREEMENT', 'Signature &eacute;lectronique'); define('CONDITIONS', 'CGV'); define('CONDITION_AGREEMENT', '"Je d&eacute;clare avoir pris connaissance des conditions g&eacute;n&eacute;rales de vente et en accepter les termes."'); define('CONDITION_AGREEMENT_ERROR', "Vous devez lire nos conditions de vente et déclarer les accepter sans quoi votre commande ne pourra aboutir."); // Must Agree to terms 3. Create "includes/modules/modal_conditions.php" file with this : <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2010 osCommerce Released under the GNU General Public License */ require('includes/languages/' . $language . '/conditions.php'); ?> <!-- Modal --> <div class="modal fade" id="cgvModal" role="dialog"> <div class="modal-dialog"> <!-- Modal content--> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal">&times;</button> <h4 class="modal-title"><?php echo CONDITIONS; ?></h4> </div> <div class="modal-body"> <?php echo TEXT_INFORMATION; ?> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal"><?php echo TEXT_CLOSE_WINDOW; ?></button> </div> </div> </div> </div> It's finish ! I'll be happy to offer this code to @burt for Phoenix (need adaptation for BS4 of course) and so bring my contribution to the project.
×