Jump to content


Popular Content

Showing content with the highest reputation since 05/04/2020 in Posts

  1. 2 points

    Easy Admin Group - Login Issues

    uploaded for
  2. 2 points
    Hola Valquiria, Muchas Gracias. El término exacto que se usa en España cuando se trata de mercancía es albarán. Recibo tiene en España el uso como comprobante de haber recibido dinero, no mercancía. Comprobante es más universal, pero no se usa mucho para mercancías. Por lo cual el cambio puede que sea necesario en tus tierras, pero lo dejaría en manos de los usuarios de Latinoamérica para adaptarlo a su localización https://es.wikipedia.org/wiki/Albarán https://dle.rae.es/albarán https://dle.rae.es/recibo https://dle.rae.es/comprobante un saludo Rainer
  3. 2 points

    Easy Discount

    Hey Jim, Check this one by @swguy https://apps.oscommerce.com/QdusL&quantity-discounts-for-osc-phoenix This one works perfectly in my store (version It's an excellent add on. No core code changes required. There's also this one: https://apps.oscommerce.com/XpyA1&better-together-for-phoenix I haven't used that one recently, but it was working fine in later versions of Phoenix. Peter
  4. 2 points

    Site quick Find question

    Within the next few weeks, I'll be releasing a Supp Code which does something that would be almost ideal to be refactored into a Filtering system...
  5. 2 points
    @kgtee @ecartz KG, Matt, Thank you both for your help and advice. I had some challenges with this addon, but finally got it working. It is now available: Customer Feedback at Checkout For anyone else reading this thread, this is NOT a support thread for this addon.
  6. 2 points

    RMA Returns System for osC2.3.4BS

    Everything good. Business has been huge the past 12 months so I haven't had time to play with osC. Hope you are well.
  7. 1 point
    Uploaded Versión for OSCOM CE Phoenix Español para OsC CE
  8. 1 point

    HoneyPot Captcha

    Thanks for this module, I haven't had a single fake log in or contact since I installed it!! Regards Andy
  9. 1 point

    Discount Code BS

    This is a setting in Admin > Configuration > My Store.
  10. 1 point

    Discount Code BS

    Hi, That would be great if you have the time. Normally its only 1 penny out but for some reason that one above was more.. Tax rate here is 20%. Tax is applied to shipping. No other mods applied that could affect it , its a version. No extra order_total modules added. Module Version 5.1.2. BS Display Discount True Show shipping fee discounted false Base discount tax on prices excl. true Sort Order 3 Delete auto created tables when uninstalling False Not sure what you mean by 'Tax Decimals'. (20% = 0.2) Iain
  11. 1 point

    Error with manufacturers.php

    It says that the cache was corrupted and not reloading. There may have been a PHP update on your host that changed how count handled things in that case. I have a sort of vague recall that something used to be a zero that may now be a one. But since that code doesn't set the cache block, there's no way to fix it there. You might be able to fix it in whatever the $cache thing is, but I don't believe that's standard. I think that's an App you added. Because I recall the core caching as working differently. Of course, that's old enough that perhaps my recall is wrong. You commented out the code that checks if the cache is working and falls back to a database query. So it just always does the database query. Because the cache was returning that it was working even though it didn't seem to be.
  12. 1 point
    When I try editing the corrupted version of the file, I get either CRLFCRLF or LFLF depending on whether I do the replace before saving. A better replacement might be $file_contents = preg_replace("{\r+\n}", "\n", stripslashes($_POST['file_contents'])); But I can't really test it, as I believe that the CRCRLF is getting converted to CRLFCRLF prior to that point. I'll let @burt make the decision about whether it is better to push to core or not. And which version and when.
  13. 1 point

    Location of this button

    The text for the button is found in includes/langauges/english.php. Search for define('IMAGE_BUTTON_CHECKOUT', 'Checkout'); I changed mine to define('IMAGE_BUTTON_CHECKOUT', 'Secure Checkout')
  14. 1 point

    product Info page <del>old price </del>

    It's hidden in the language file: https://github.com/gburton/CE-Phoenix/blob/master/includes/languages/english/modules/content/product_info/cm_pi_price.php Note that that seems likely to change, as overridable templates require HTML to be in the templates rather than the language files. But it is currently in the language file.
  15. 1 point

    if special price is 0 show Quote button

    $add_to_cart = false; if (is_email_for_quote($product_info['products_price'])) { $products_price = show_email_for_quote($product_info); } elseif (($new_price = tep_get_products_special_price($product_info['products_id'])) && is_email_for_quote($product_info['specials_new_products_price'])) { $specials_price =show_email_for_quote($product_info['specials_new_products_price']); } else { $add_to_cart = tep_draw_button(MODULE_CONTENT_PI_BUY_BUTTON_TEXT, 'fas fa-shopping-cart', null, 'primary', array('params' => 'data-has-attributes="' . (($products_attributes['total'] > 0) ? '1' : '0') . '" data-in-stock="' . (int)$product_info['products_quantity'] . '" data-product-id="' . (int)$product_info['products_id'] . '"'), 'btn-success btn-block btn-lg btn-product-info btn-buy') . tep_draw_hidden_field('products_id', (int)$product_info['products_id']); } And then later, replace the add to cart code with if ($add_to_cart) { echo $add_to_cart; }
  16. 1 point
    thank you both. I got the hook working. now if I can just remove the model from breadcrumb without just commenting it out 😂😂 class hook_shop_siteWide_breadcrumb { function listen_injectAppTop() { global $oscTemplate, $breadcrumb,$languages_id; $crumb_query = tep_db_query("select products_name from " . 'products_description' . " where products_id = '" . (int)$_GET['products_id'] . "' and language_id = '" . $languages_id . "'"); if (tep_db_num_rows($crumb_query)) { $crumb = tep_db_fetch_array($crumb_query); } $breadcrumb->add($crumb ['products_name'], tep_href_link('product_info.php', 'products_id=' . (int)$_GET['products_id'])); } }
  17. 1 point

    Products Image Verify

    Try replacing every instance of $HTTP_GET_VARS with $_GET I.e. <?php require 'includes/application_top.php'; if (!function_exists('file_put_contents')) { function file_put_contents($filename, $data, $file_append = false) { $fp = fopen($filename, ($file_append ? 'a+' : 'w+')); if (!$fp) { trigger_error('file_put_contents cannot write in file.', E_USER_ERROR); return; } fputs($fp, $data); fclose($fp); } } require 'includes/template_top.php'; ?> <!-- body_text //--> <table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="100%"><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo HEADING_TITLE; ?></td> <td class="pageHeading" align="right"><?php echo tep_draw_separator('pixel_trans.gif', HEADING_IMAGE_WIDTH, HEADING_IMAGE_HEIGHT); ?></td> </tr> </table></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td valign="top"><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr class="dataTableHeadingRow"> <td class="dataTableHeadingContent"><?php echo TABLE_HEADING_PRODUCTS; ?></td> <td class="dataTableHeadingContent" align="left"><?php echo TABLE_HEADING_IMAGE_SIZE; ?></td> <td class="dataTableHeadingContent" align="right"><?php echo TABLE_HEADING_ACTION; ?>&nbsp;</td> </tr> <?php if ($sID !="" && file_exists(DIR_FS_CACHE . 'image_verify.cache')) { $fd = fopen (DIR_FS_CACHE . 'image_verify.cache', "r"); $iv_cache_contents = fread ($fd,filesize (DIR_FS_CACHE . 'image_verify.cache')); fclose ($fd); $verify_query_raw = "select p.products_id, p.products_image, pd.products_name from products p, products_description pd where p.products_id = pd.products_id and (" . $iv_cache_contents .") order by pd.products_name"; } else { if (file_exists(DIR_FS_CACHE . 'image_verify.cache')) { unlink(DIR_FS_CACHE . 'image_verify.cache'); } $verify_query_raw = "select p.products_id, p.products_image, pd.products_name from products p, products_description pd where p.products_id = pd.products_id order by pd.products_name"; } $verify_query = tep_db_query($verify_query_raw); while ($verify = tep_db_fetch_array($verify_query)) { if ( !isset($sInfo) && (!isset($_GET['sID']) || ($_GET['sID'] == $verify['products_id'])) ) { $sInfo = new objectInfo($verify); } //Checks Status of all 3 image sizes to make sure it is not blank, null or if file exists so we only print out products with missing images only. $image_status = 0; if ($verify['products_image'] != "" && $verify['products_image'] != "NULL") { if (file_exists(DIR_FS_CATALOG . 'images/' . $verify['products_image'])) { $image_status = 1; } else { $image_status = 0; } } else { $image_status = 2; } if ($image_status != 1) { if (file_exists(DIR_FS_CACHE . 'image_verify.cache')) { file_put_contents(DIR_FS_CACHE . 'image_verify.cache', " or pd.products_id = " . $verify['products_id'], 'append.php'); } else { file_put_contents(DIR_FS_CACHE . 'image_verify.cache', "pd.products_id = " . $verify['products_id']); } } if ( (is_object($sInfo ?? null)) && ($verify['products_id'] == $sInfo->products_id) && ($image_status != 1)) { echo ' <tr class="dataTableRowSelected" onmouseover="this.style.cursor=\'hand\'" onclick="document.location.href=\'' . tep_href_link('image_verify.php', '&sID=' . $sInfo->products_id) . '\'">' . "\n"; } else { echo ' <tr class="dataTableRow" onmouseover="this.className=\'dataTableRowOver\';this.style.cursor=\'hand\'" onmouseout="this.className=\'dataTableRow\'" onclick="document.location.href=\'' . tep_href_link('image_verify.php', '&sID=' . $verify['products_id']) . '\'">' . "\n"; } if ($image_status != 1) { ?> <td class="dataTableContent"><?php echo $verify['products_name']; ?></td> <td class="dataTableContent" align="left"><?php } switch ($image_status) { case 0: echo tep_image('images/icons/ms_error.png', KEY_OK, 20, 20); break; case 2: echo tep_image('images/icons/ms_warning.png', KEY_ERROR, 20, 20); break; } if ($image_status != 1) { ?></td> <td class="dataTableContent" align="right"> <?php if ( (is_object($sInfo)) && ($verify['products_id'] == $sInfo->products_id) ) { echo tep_image('images/icon_arrow_right.gif', ''); } else { echo '<a href="' . tep_href_link('image_verify.php', 'page=' . $_GET['page'] . '&sID=' . $verify['products_id']) . '">' . tep_image('images/icon_info.gif', IMAGE_ICON_INFO) . '</a>'; } ?>&nbsp;</td> </tr> <?php } } ?> </table></td> <?php $heading = []; $contents = []; if ($sID =="") { $heading[] = ['text' => '<b><center>PLEASE CLICK ON PRODUCT ROW<BR>FOR MORE OPTIONS</center></b>']; } else { $heading[] = ['text' => '<b><center>' . $sInfo->products_name. '</center></b>']; } $contents[] = ['text' => '' . tep_image('images/pixel_black.gif', '', '100%', 3)]; $contents[] = [ 'align' => 'center', 'text' => '<a href="' . tep_href_link('categories.php', '&pID=' . $sInfo->products_id . '&action=new_product') . '">' . tep_image_button('button_edit.gif', IMAGE_EDIT) . '</a> <a href="' . tep_href_link('categories.php', '&pID=' . $sInfo->products_id . '&action=delete_product') . '">' . tep_image_button('button_delete.gif', IMAGE_DELETE) . '</a>', ]; $contents[] = ['text' => '' . tep_image('images/pixel_black.gif', '', '100%', 3)]; $contents[] = ['text' => '' . tep_image('images/icons/ms_error.png', '', 20, 20) . KEY_ERROR]; $contents[] = ['text' => '' . tep_image('images/icons/ms_warning.png', '', 20, 20) . KEY_NOT_USED]; $contents[] = ['text' => '' . tep_image('images/pixel_black.gif', '', '100%', 3)]; $contents[] = ['text' => DELETE_WARNING]; $contents[] = ['text' => '' . tep_image('images/pixel_black.gif', '', '100%', 3)]; $contents[] = ['text' => EDIT_WARNING]; $contents[] = ['text' => '' . tep_image('images/pixel_black.gif', '', '100%', 3)]; if ( (tep_not_null($heading)) && (tep_not_null($contents)) ) { echo ' <td width="25%" valign="top">' . "\n"; $box = new box(); echo $box->infoBox($heading, $contents); echo ' </td>' . "\n"; } ?> </tr> </table></td> </tr> </table></td> <!-- body_text_eof //--> </tr> </table> <!-- body_eof //--> </body> </html> <?php require 'includes/template_bottom.php'; ?> <?php require 'includes/application_bottom.php'; ?> Also changed the location of the cache file. The previous version required the admin directory to be writable, which should not be necessary.
  18. 1 point

    Phoenix - Russian Language Pack

    The latest update of the Russian language, version on Github is uploaded. https://github.com/Agrosheriff/CE-Phoenix-
  19. 1 point

    Phoenix - Russian Language Pack

    Спасибо Fredi @Fredi за поддержку oscommerce !!!
  20. 1 point

    Phoenix - Russian Language Pack

    The latest update of the Russian language, version on Github is uploaded. https://github.com/Agrosheriff/CE-Phoenix-
  21. 1 point

    Phoenix - Russian Language Pack

    Full update and new edition of language files for Phoenix version in Russian. Many thanks to Yurius! He paid great attention and Time to testing language files, correcting errors and the style of presentation of text definitions. Additionally, Yurius created a definition Russification file in the store database configuration table. This add-on will almost completely Russify the pages of the administration of your store. The database update file is included in this Russian language update. https://apps.oscommerce.com/ub5yL&russian-for-phoenix&c=languages
  22. 1 point

    Phoenix - Russian Language Pack

    If you up it to Github (as a language branch, not a full download of Phoenix + Russian) I'll link to it from the Phoenix Readme.
  23. 1 point

    Australian Shipping Module

    @stefan1959 Running Frozen CE boot strap and I don't see any errors and all works ok I guess you are working on Phoenix? This was released after I finished doing all the mods and after this version went live Store pickup and local courier will only show if their postcode starts with a 5
  24. 1 point

    Australian Shipping Module

    Thanks, I have got all shipping methods for satchel converted over but the above could be useful in the future. I might fix coding and contact author as well to update. Thanks Steve screenshot below
  25. 1 point