Jump to content

All Activity

This stream auto-updates     

  1. Past hour
  2. Today
  3. Fredi

    Article Manager v1.0

    Hello Jach, I cannot adapt the new version of the Article Manager for Phoenix version 1.0.7.9 Box Articles does not work correctly. I am trying to adapt the code, but the BoldTags function is not clear to me. What is the purpose of using this function? Is it possible to clean up the code from this function and make it standard in order to simplify the work with the module? Thank You.
  4. Is there not a section in the language files where this can be changed. Near the top in the english one in both admin and store front. I altered mine to the following and it seems to all be working fine. // look in your $PATH_LOCALE/locale directory for available locales // or type locale -a on the server. // Array examples which should work on all servers: // 'en_US.UTF-8', 'en_US.UTF8', 'enu_usa' // 'en_GB.UTF-8', 'en_GB.UTF8', 'eng_gb' // 'en_AU.UTF-8', 'en_AU.UTF8', 'ena_au' @setlocale(LC_ALL, ['en_GB.UTF-8', 'en_GB.UTF8', 'enu_gb']); const DATE_FORMAT_SHORT = '%d/%m/%Y'; // this is used for strftime() const DATE_FORMAT_LONG = '%A %d %B, %Y'; // this is used for strftime() const DATE_FORMAT = 'd/m/Y'; // this is used for date() const DATE_TIME_FORMAT = DATE_FORMAT_SHORT . ' %H:%M:%S'; const JQUERY_DATEPICKER_FORMAT = 'dd/mm/yy'; // see http://docs.jquery.com/UI/Datepicker/formatDate
  5. Yesterday
  6. FlagShipper

    Square Payments Plugin for osCommerce

    Trying to get this to work on 2.3.4BS. The weird thing is I was getting a blank screen from the tep_mail error however a customer managed to make a payment somehow. Try as I might all I got was a blank screen when I clicked confirm. Now that the tep_mail is cleared up I can see the error I'm getting is "Error: Your request was invalid and cannot be processed right now. Please try again later." I copied the IDs off the square page, entered valid cc info but can't get it to work ... any suggestions would be much appreciated
  7. At the moment, you have to delete the file. https://github.com/gburton/CE-Phoenix/blob/master/templates/default/includes/hooks/shop/siteWide/MATC.php
  8. How do i disable this agreement option on register and checkout Thanks
  9. Fredi

    Article Manager v1.0

    Error code... Line 137 in article_manager_db_handler.php $lines[] = "INSERT INTO configuration (" . $fields . ") VALUES ('Display Box Articles - All Topics Links?', 'ARTICLE_BOX_DISPLAY_TOPICS_LINKS', 'true', 'Display links to individual topics. Requires the Display Box Articles - All Topics Section option to be true. ', '" . $cfg_group_id . "', '" . ($sortID++). "', 'tep_cfg_select_option(array(\'true\', ', now(), NULL)"; Chnge to: $lines[] = "INSERT INTO configuration (" . $fields . ") VALUES ('Display Box Articles - All Topics Links?', 'ARTICLE_BOX_DISPLAY_TOPICS_LINKS', 'true', 'Display links to individual topics. Requires the Display Box Articles - All Topics Section option to be true. ', '" . $cfg_group_id . "', '" . ($sortID++). "', 'tep_cfg_select_option(array(\'true\', \'false\'), ', now(), NULL)";
  10. Our dear teachers! I would like to receive an answer ...
  11. The fix is the same. The exception is if you have such an old version of paypal that it doesn't use the cert. In that case you need to install the Paypal App (found in the addons section).
  12. I have the same problem but is in osco 2.2, and need fix.
  13. Jack_mcs

    Spam Accounts

    The Honey Pot addon will stop them. It also has a tool in admin to clear out fake accounts.
  14. ecartz

    Spam Accounts

    Three things: 1. They may be using this to send spam email. If the email address is for someone else but the personalized information is for "product/link they want to spam", they can use your email system to send their spam. 2. They may want you to read the messages. I.e. they are spamming you. 3. They may simply be paid to do this. Even if ineffective, they still get paid. There are several Captcha mods, including two from Burt for Phoenix. Apache includes the ability to block IP ranges. I think there may be mods that help you configure Apache.
  15. mhsuffolk

    Spam Accounts

    I use @burt Maths Captcha add on which stops all of them. Join the Phoenix Club at the top of the listing page and take advantage of the vast number of addons available.
  16. Zzyzx1234

    Spam Accounts

    Hi, The easiest way we found to stop it was to install some type of CAPTCHA system. What version for OSC are you using?
  17. lyonsperf

    Spam Accounts

    I have a website that is constantly getting spam customer accounts created from various foreign countries. I don't understand the reasoning in why they do this, but I have been manually removing them each day. Is there a way to block this, or a mod to verify the IP address with the country selected?
  18. raiwa

    Slim Checkout for BS

    Uploaded Version 1.3 Slim Checkout 1.3 Compatible with Phoenix 1.0.7.6+ Tested with Phoenix 1.0.7.9 PHP 7.0-7.4 - ht module changed to store module and updated to abstract executable module - tested under Phoenix 1.0.7.9 and PHP 7.4
  19. denverroofingco

    which payment module do you use in your shop ?

    I use PayPal for payment. because according to me it is secure and good.
  20. Last week
  21. final file. Now everything works so far. * Prices are displayed. * Prices for attributes are displayed. * The total price for individual shopping carts is displayed including the attribute prices. * Total amount for all carts is displayed. I have not installed the function to delete the shopping carts. If someone wants to do the work, please note that the session must also be deleted. Otherwise, the deleted products remain in the customer's shopping cart as long as the customer is logged in. osCommerce Bootstrap 2.3.4-1 EDGE <?php require('includes/application_top.php'); require('includes/classes/' . 'currencies.php'); $currencies = new currencies(); $cid = (isset($_GET['cid']) ? $_GET['cid'] : ''); $cartlist = array(); $customers_query = tep_db_query("select distinct customers_id from customers_basket"); while ($c = tep_db_fetch_array($customers_query)) $cartlist[] = $c['customers_id']; require('includes/template_top.php'); ?> <head> <link rel="stylesheet" type="text/css" href="../ext/bootstrap/css/bootstrap.min.css"> </head> <style> .margin_inner{padding:2px;padding-left:8px;} .pdl_box_margin{margin:10px;} .margin-box-inner{padding-top:10px;padding-bottom:10px;padding-left:5px;padding-right:10px;} .padding_inner{padding-top:6px;padding-bottom:6px;} .box-border-dark{border:1px solid transparent;border-radius:2px;border-color:#666666;} .bg-box-blue{background-color: #C6F3FF !important;border:1px solid transparent;border-radius:2px;border-color:#999999;} .bg-box-green{background-color: #DFF0D8 !important;border:1px solid transparent;border-radius:2px;border-color:#61AA42;} .bg-box-yellow{background-color: #FCF8E3 !important;border:1px solid transparent;border-radius:2px;border-color:#999999;} .bg-box-red{background-color: #F2DEDE !important;border:1px solid transparent;border-radius:2px;border-color:#990000;} .text-box-head-inner{color: #000000;font-size: 16px;font-weight:bold;} .text-box-aton-inner{color: #FF0000;font-size: 12px;font-weight:bold;} .text-box-atovan-inner{color: #000000;font-size: 12px;font-weight:bold;font-style: italic;} .text-box-smal-atovan-inner{color: #000000;font-size: 10px;font-style: italic;} .text-box-count-inner{color: #990000;font-weight:bold;font-style: italic;} .text-box-center{text-align: center;} .text-quant-price{color: #008CEA;font-size: 12px;font-weight:bold;} .text-getfree-price{color: #990000;font-size: 14px;font-weight:bold;} .text-attrib-price{color: #03A056;font-size: 12px;font-weight:bold;font-style: italic;} .text-price-attrib{color: #008CEA;font-size: 12px;font-weight:bold;font-style: italic;} .text-total-price{color: #000000;font-size: 16px;font-weight:bold;font-style: italic;} .text-price-total{color: #008CEA;font-size: 16px;font-weight:bold;font-style: italic;} .font-float-right{text-align: right} .font-effect-shadow-multiple{} </style> <div class="col-sm-12 pdl_box_margin pageHeading"><?php echo TABLE_HEADING_CART_TITLE; ?></div> <?php if (empty($cartlist)) { ?> <div class="col-sm-12 bg-box-red pdl_box_margin"><?php echo TABLE_HEADING_CART_EMPTY; ?></div> <?php }else{?> <?php $customers_query_raw = "select customers_id, customers_firstname, customers_lastname, customers_email_address from customers where customers_id in(" . implode(",", $cartlist) . ") order by customers_lastname, customers_firstname desc"; $customers_query = tep_db_query($customers_query_raw); $totalAll = 0; while ($customers = tep_db_fetch_array($customers_query)) { $customer_name = $customers['customers_firstname'] . '&nbsp;' . $customers['customers_lastname']; $customer_mail = $customers['customers_email_address']; $products_query = tep_db_query("select count(products_id) as total from customers_basket where customers_id = " . (int)$customers['customers_id']); $products = tep_db_fetch_array($products_query); $selected['count'] = $products['total']; $bsk_count_qty = $products['customers_basket_quantity']; $csct = $products['total']; $cart_data_query = tep_db_query("select * from customers_basket where customers_id = " . (int)$customers['customers_id']); $cdq = tep_db_fetch_array($cart_data_query); $ciddk = $cdq['customers_id']; $dr = substr($cdq['customers_basket_date_added'], 0, 4) . '-' . substr($cdq['customers_basket_date_added'], 4, 2) . '-' . substr($cdq['customers_basket_date_added'], 6, 2); ?> <div class="col-sm-12 margin-box-inner"> <div class="col-sm-12 bg-box-blue"> <div class="row bg-box-blue"> <div class="col-sm-4 padding_inner"><?php echo $customer_name; ?></div> <div class="col-sm-4 padding_inner"><?php echo TABLE_HEADING_CART_PROD_TOTAL . '&nbsp;' . $csct;?></div> <div class="col-sm-4 padding_inner"><?php echo tep_date_short($dr);?></div> </div> <?php $prod_query = tep_db_query("select * from customers_basket where customers_id = " . (int)$customers['customers_id']); $sum_price = 0; $sum_prod_price = 0; $attributes_price = 0; $attrib_sum_price = 0; while ($prod = tep_db_fetch_array($prod_query)) { $date_raw = substr($prod['customers_basket_date_added'], 0, 4) . '-' . substr($prod['customers_basket_date_added'], 4, 2) . '-' . substr($prod['customers_basket_date_added'], 6, 2); $prod_id = tep_get_prid($prod[products_id]); $name_query = tep_db_query("select pd.products_id, pd.products_name name, pd.products_description, p.products_id, p.products_price, p.products_model model, p.products_image image, p.products_tax_class_id tcid, s.status, IF(s.status, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status, s.specials_new_products_price, p.products_price) as final_price FROM " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd left join " . TABLE_SPECIALS . " s on pd.products_id = s.products_id WHERE pd.products_id = '" . $prod_id . "' and p.products_id = pd.products_id and pd.language_id = '" . (int)$languages_id . "'"); $pname = tep_db_fetch_array($name_query); $price = $pname['final_price']; $bsk_qty = $prod['customers_basket_quantity']; $sum_price = $sum_price + ($bsk_qty * $price); $sum_prod_price = $currencies->format($pname['final_price'] * $prod['customers_basket_quantity']); ?> <div class="row bg-box-yellow margin-box-inner"> <div class="col-sm-5"> <span class="text-box-head-inner"><?php echo $prod['customers_basket_quantity'] . ' x ' . $pname['name'] . '&nbsp;&nbsp;|&nbsp;' . $currencies->display_price($sum_prod_price, tep_get_tax_rate($pname['tcid']));?></span><br> </div> <?php $att_query = tep_db_query("select products_options_id, products_options_value_id from customers_basket_attributes where customers_id = " . (int)$customers['customers_id'] . " and products_id ='" . tep_db_input($prod['products_id']) . "'"); while ($att = tep_db_fetch_array($att_query)) { $attributes = tep_db_query("select popt.products_options_name, poval.products_options_values_name, pa.options_values_price, pa.price_prefix from products_options popt, products_options_values poval, products_attributes pa where pa.products_id = '" . (int)$prod['products_id'] . "' and pa.options_id = '" . (int)$att['products_options_id'] . "' and pa.options_id = popt.products_options_id and pa.options_values_id = '" . (int)$att['products_options_value_id'] . "' and pa.options_values_id = poval.products_options_values_id and popt.language_id = '" . (int)$languages_id . "' and poval.language_id = '" . (int)$languages_id . "'"); $attrib = tep_db_fetch_array($attributes); $attributes_price = $attrib['options_values_price']; // Preisanzeige für einzelne Attribute $attrib_sum_price += $currencies->format($attributes_price * $bsk_qty); ?> <?php if ($attrib['options_values_price'] == '0'){?> <div class="col-sm-12"><span class="text-box-head-inner"><?php if ($attrib['products_options_values_name'] > ' '){echo '<span class="text-box-aton-inner">' . $attrib['products_options_name'] . ': </span><span class="text-box-atovan-inner">' . $attrib['products_options_values_name'] . '</span><br>';}?></span></div> <?php }else{ ?> <div class="col-sm-12"><span class="text-box-head-inner"><?php if ($attrib['products_options_values_name'] > ' '){echo '<span class="text-box-aton-inner">' . $attrib['products_options_name'] . ': </span><span class="text-box-atovan-inner">' . $attrib['products_options_values_name'] . '&nbsp;&nbsp;</span><span class="text-box-smal-atovan-inner">( +' . $currencies->display_price($attributes_price, tep_get_tax_rate($pname['tcid'])) . '&nbsp;)</span><br>';}?></span></div> <?php } } // while ($att = tep_db_fetch_array($att_query)) { ?> </div><!-- Zeile 68 <div class="col-sm-12 margin-box-inner"> --> <?php } /* while ($prod = tep_db_fetch_array($prod_query)) { */ ?> <div class="col-sm-5 text-box-head-inner margin-box-inner"> <?php ?> <?php $totalAll += $sum_price + $attrib_sum_price; $tcart_formated = $currencies->format($sum_price + $attrib_sum_price); echo TABLE_HEADING_BASKET_TOTAL_PRICE . '' . $currencies->display_price($tcart_formated, tep_get_tax_rate($pname['tcid']));?> </div> </div> </div> <?php echo tep_black_line(); ?> <?php } /* while ($customers = tep_db_fetch_array($customers_query)) { */ ?> <div class="col-sm-12 text-box-head-inner margin-box-inner bg-box-red font-float-right"> <?php $totalAll_formated = $currencies->format($totalAll); echo TABLE_HEADING_BASKET_TOTAL_PRICE . '' . $currencies->display_price($totalAll_formated, tep_get_tax_rate($pname['tcid']));?> </div> <?php } /* }else{ */ ?> <?php require('includes/template_bottom.php'); require('includes/application_bottom.php'); ?>
  22. Omar_one

    ship2pay for 2.3.x

    its will be good if it will be a hooks . its work well now .. one issue .. that I can't delete the records as you see there is not delete button.. I will check it again ..I don't think its that important just delete the the records via phpmyadmin
  23. Omar_one

    ship2pay for 2.3.x

    thank you @ecartz 👍
  24. FlagShipper

    Integration code project

    I have osc2.3.4 at the moment, but would probably be better off upgrading to phoenix. Thanks ecartz
  25. ecartz

    Integration code project

    The better place to ask for osCommerce development is simple: https://forums.oscommerce.com/forum/79-commercial-support-inquiries/ For Phoenix, you should join the Phoenix Club and make use of the resources there: I could give you more specific help within the club.
  26. burt

    Integration code project

    For osCommerce or for Phoenix ?
  27. FlagShipper

    Integration code project

    I'll be working with a new payment processor this week that doesn't have an addon for osc yet. Anyone up for integrating it and what would it cost? If there's a better place to ask please let me know.
  28. MikeParman

    API for OSCommerce integration.

    Oh... Hi, Mark © Sorry for the late reply. Are there any guides or examples, what can help me?
  1. Load more activity
×