Jump to content

Leaderboard


Popular Content

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

  1. 2 points
    ArtcoInc

    1064 error and worse ...

    @sickaporean Which version of Phoenix are you using? IIRC, this was an error introduced in 1.0.7.0, and was quickly fixed in 1.0.7.1. Malcolm
  2. 2 points
    Jack_mcs

    FAQ's BS

    A new version has been uploaded with these changes: Added an icon for Phoenix. Changes admin FAQ files to work with Phoenix 1.0.6.2.
  3. 1 point
    ecartz

    1064 error and worse ...

    The one and only important difference is in includes/modules/product_listing.php , so you can just copy that file from the download (either the second link that I posted or it's on the downloads page now). Or use the first link and delete the single line that it shows to delete. The only other file that has changed is the includes/version.php file. If you want, you can copy that over too. I don't know that update instructions have been posted yet, but they would essentially be to copy those two files.
  4. 1 point
    ecartz

    1064 error and worse ...

    Unfortunately, 1.0.7.0 is the version on the download page. The line to remove to fix that is at https://github.com/gburton/CE-Phoenix/commit/82d528731f600565d113614e0733a831c5a27f8a Alternately, download the entire https://github.com/gburton/CE-Phoenix/archive/master.zip and extract includes/modules/product_listing.php and copy it over.
  5. 1 point
    hungryfrank

    Easy Admin Group - Login Issues

    do you get the warnings when u try to add a admin group or anything else? how about when u go to other pages?
  6. 1 point
    ecartz

    1064 error and worse ...

    If you use phpMyAdmin to run select p.*, pd.*, m.*, 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, p.products_quantity as in_stock, if(s.status, 1, 0) as is_special from products_description pd, products p left join manufacturers m on p.manufacturers_id = m.manufacturers_id left join specials s on p.products_id = s.products_id, products_to_categories p2c where p.products_status = '1' and p.products_id = p2c.products_id and pd.products_id = p2c.products_id and pd.language_id = '1' and p2c.categories_id = '2' order by pd.products_name what does it say?
  7. 1 point
    hungryfrank

    Easy Admin Group - Login Issues

    @Fredi do you know where this folder is "override" and also I made a new file if u wanna to test it. this dose not need any core changes. haven't tested it one 1.0.7.x aMenu.php
  8. 1 point
    LeeFoster

    Google analytics dashboard

    I've recently been helping out with a wordpress website and there is a plugin that shows a basic version of the Google analytics page. Does anything similar exist for oscommerce? Is anyone working on an add-on for this?
  9. 1 point
    slidebone

    Google ads

    Thank you !!! I just joined Phoenix
  10. 1 point
    raiwa

    Discount Code BS

    Not updated yet. It's on the list.
  11. 1 point
    kgtee

    PC Pro Creator question

    I was curious to know what the PC Pro Creater can do. So, I went on to convert it to work on Phoenix 1.0.6.1. To my disappointment it is not really a useful app for me. Since I have done the conversion, anyone interested may have a look and try it. pc-pro-creator-phoenix_1061.zip
  12. 1 point
    I would do it right before the return rather than where you're doing it, for efficiency's sake and to make sure you sort every file. I think that you are implicitly sorting by path most of the time but not always. Try usort($result, function ($a, $b) { return strcmp($a['name'], $b['name']); }); return $result; That explicitly sorts by path. Or even better might be to move it outside the function entirely. foreach (tep_opendir(DIR_FS_CATALOG_LANGUAGES . $_GET['lngdir']) as $file) { to $files = tep_opendir(DIR_FS_CATALOG_LANGUAGES . $_GET['lngdir']); usort($result, function ($a, $b) { return strcmp($a['name'], $b['name']); }); foreach ($files as $file) {
  13. 1 point
    Fiber

    Dutch translation osC Phoenix 1.0.6.2

    https://apps.oscommerce.com/NShzV&vertaling-nederlands&c=languages
  14. 1 point
    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
  15. 1 point
    JcMagpie

    New themes for Phoenix

    So not everyone is happy to edit files in order to make changes ( “You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”) Not a problem just use this header_tag add-on and you can select the required theme in admin. It's about as simple as i can make it. Any other changes are down to the user. Remember you have 18 themes to select and each can be chnaged further using the color tweak add-on here JcM Color Tweak V1.1 so you have millions options to use on your site! Has been tested on Phoenix 1.0.2.2 only. Enjoy! JcM New Themes Header Tags-V1.0.zip
  16. 1 point
    JcMagpie

    New themes for Phoenix

    Sorry for posting in the other theme add-on's thread my mistake. moderators can remove if required. Just for a little fun added 10 more themes. Just copy over files and edit as required. Phoenix Boostrap 4 themes V1.1.zip
  17. 1 point
    @yoyo213 it should be possible to get an old shipping module working with Phoenix but it will need a little bit of coding. This is all assuming that the Auspost interface hasn't changed and the data going to and fro is the same, in the same format and using the same mechanism. There are a couple of areas I can think of off the top of my head: Table names used to be defined as constants, now they are hard-coded. To change them in the places they are used you will need to make sure of getting all the quotes right, which may be a bit too fiddly. You could work around it by putting some statements before the class declaration near the top of the file, eg if (!defined('TABLE_CONFIGURATION')) define('TABLE_CONFIGURATION','configuration'); and so on for any tables that are referred to. The other area is that for php7 you should update the constructor 'function' if it has the same name as the class, eg. if you have class auspost { .... function auspost() { ..... it should become class auspost { ... function __construct() { ..... There are a couple of possible other changes to php syntax for different versions but they're less likely to be present
  18. 1 point
    SCH_001

    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
  19. 1 point
    stefan1959

    Australian Shipping Module

    P.S. You maybe still on the normal Oscommerce, I'm converting over Community Edition. The code.. ("insert into " . TABLE_CONFIGURATION . " (configuration_title will cause a error as the /includes/database_tables.php file has been deprecated and was causing me headaches Thats why I did a workaround and defined in the languages file of the module define('TABLE_CONFIGURATION' , 'configuration'); define('TABLE_ZONES_TO_GEO_ZONES' , 'zones_to_geo_zones'); Bingo errors went away. But it should be really hardcode in the source code like this ("insert into configuration (configuration_title Steve
  20. 1 point
    stefan1959

    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
  21. 1 point
    SCH_001

    Australian Shipping Module

    Hi @stefan1959 What I did was use the flat rate shipping module and hacked it not sure if the code is 100% but works for me. It has the minimum and maximum weight which is where this module is shown and also shipping zone so you can setup international shipping. I have created multiple versions of it for 500g parcel post and then 3 kg parcel post and so on.... I would only used the mysql part of that file to give me the zones File below goes in /store/includes/modules/shipping and is called parcelsm.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ class parcelsm { var $code, $title, $description, $icon, $enabled; // class constructor function __construct() { global $order, $total_weight; $this->code = 'parcelsm'; $this->title = MODULE_SHIPPING_PARCELSM_TEXT_TITLE; $this->description = MODULE_SHIPPING_PARCELSM_TEXT_DESCRIPTION; if ( defined('MODULE_SHIPPING_PARCELSM_STATUS') ) { $this->sort_order = MODULE_SHIPPING_PARCELSM_SORT_ORDER; $this->icon = ''; $this->tax_class = MODULE_SHIPPING_PARCELSM_TAX_CLASS; $this->enabled = ((MODULE_SHIPPING_PARCELSM_STATUS == 'True') ? true : false); } if ( ($this->enabled == true) && ((int)MODULE_SHIPPING_PARCELSM_ZONE > 0) ) { $check_flag = false; $check_query = tep_db_query("select zone_id from " . TABLE_ZONES_TO_GEO_ZONES . " where geo_zone_id = '" . MODULE_SHIPPING_PARCELSM_ZONE . "' and zone_country_id = '" . $order->delivery['country']['id'] . "' order by zone_id"); while ($check = tep_db_fetch_array($check_query)) { if ($check['zone_id'] < 1) { $check_flag = true; break; } elseif ($check['zone_id'] == $order->delivery['zone_id']) { $check_flag = true; break; } } if ($total_weight > MODULE_SHIPPING_PARCELSM_MAX_WEIGHT or $total_weight < MODULE_SHIPPING_PARCELSM_MIN_WEIGHT) { $check_flag = false; } if ($check_flag == false) { $this->enabled = false; } } } // class methods function quote($method = '') { global $order; $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_PARCELSM_TEXT_TITLE, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_PARCELSM_TEXT_WAY, 'cost' => MODULE_SHIPPING_PARCELSM_COST))); if ($this->tax_class > 0) { $this->quotes['tax'] = tep_get_tax_rate($this->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); } if (tep_not_null($this->icon)) $this->quotes['icon'] = tep_image($this->icon, htmlspecialchars($this->title)); return $this->quotes; } function check() { if (!isset($this->_check)) { $check_query = tep_db_query("select configuration_value from " . TABLE_CONFIGURATION . " where configuration_key = 'MODULE_SHIPPING_PARCELSM_STATUS'"); $this->_check = tep_db_num_rows($check_query); } return $this->_check; } function install() { tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Parcel Post 500g Shipping', 'MODULE_SHIPPING_PARCELSM_STATUS', 'True', 'Do you want to offer parcel post 500g shipping?', '6', '0', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Shipping Cost', 'MODULE_SHIPPING_PARCELSM_COST', '5.00', 'The shipping cost for all orders using this shipping method.', '6', '0', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Tax Class', 'MODULE_SHIPPING_PARCELSM_TAX_CLASS', '0', 'Use the following tax class on the shipping fee.', '6', '0', 'tep_get_tax_class_title', 'tep_cfg_pull_down_tax_classes(', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, use_function, set_function, date_added) values ('Shipping Zone', 'MODULE_SHIPPING_PARCELSM_ZONE', '0', 'If a zone is selected, only enable this shipping method for that zone.', '6', '0', 'tep_get_zone_class_title', 'tep_cfg_pull_down_zone_classes(', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Minimum Weight (Kgs)', 'MODULE_SHIPPING_PARCELSM_MIN_WEIGHT', '0.1', 'Minimum weight (Kgs) that can be shipped with this method. This method will not be displayed if shipping weight is below it.', '6', '0', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Maximum Weight (Kgs)', 'MODULE_SHIPPING_PARCELSM_MAX_WEIGHT', '0.1', 'Maximum weight (Kgs) that can be shipped with this method. This method will not be displayed if shipping weight is above it.', '6', '0', now())"); tep_db_query("insert into " . TABLE_CONFIGURATION . " (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_SHIPPING_PARCELSM_SORT_ORDER', '0', 'Sort order of display.', '6', '0', now())"); } function remove() { tep_db_query("delete from " . TABLE_CONFIGURATION . " where configuration_key in ('" . implode("', '", $this->keys()) . "')"); } function keys() { return array('MODULE_SHIPPING_PARCELSM_STATUS', 'MODULE_SHIPPING_PARCELSM_COST', 'MODULE_SHIPPING_PARCELSM_TAX_CLASS', 'MODULE_SHIPPING_PARCELSM_ZONE', 'MODULE_SHIPPING_PARCELSM_MIN_WEIGHT','MODULE_SHIPPING_PARCELSM_MAX_WEIGHT', 'MODULE_SHIPPING_PARCELSM_SORT_ORDER'); } } ?> And this one goes in /store/includes/languages/english/modules/shipping and is called parcelsm.php <?php /* $Id$ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2002 osCommerce Released under the GNU General Public License */ define('MODULE_SHIPPING_PARCELSM_TEXT_TITLE', 'Parcel Post 500g with tracking'); define('MODULE_SHIPPING_PARCELSM_TEXT_DESCRIPTION', 'Parcel Post 500g'); define('MODULE_SHIPPING_PARCELSM_TEXT_WAY', ''); ?> Then if you want more options with different weight you copy the files to a new name and change all the PARCELSM to a new name like PARCELMED for 3kg parcel post I also found it very worth while changing the weight in osc to 3 decimal places that way you can use actual weights of items .150 Anyway hope this helps
  22. 1 point
    stefan1959

    Australian Shipping Module

    BTW I found I fixed alot of issues with these old modules on CE 1.0.1.0 buy adding to the languages file of the module, 2 lines define('TABLE_CONFIGURATION' , 'configuration'); define('TABLE_ZONES_TO_GEO_ZONES' , 'zones_to_geo_zones'); due to the fact there is no longer defined anywhere. Steve
  23. 1 point
    stefan1959

    Australian Shipping Module

    FYI: (I've just installed CE version and need the Australian shipping.) There is 2 modules. The Australian Shipping Module (BS compatible) and NEW Australia Post Shipping Modules (non-BS) . Original message was about the first module, the forum you pointed to is for the second module. I install the first module and works fine on CE 1.0.1.0 but missing the express satchel. I think I can convert a flat rate to do the job as I can't find anything to do the job. Steve
  24. 1 point
    raiwa

    Australian Shipping Module

    Hello Lyn @ce7, I'm sorry, but I'm not the author/maintainer of these shipping modules. I only updated them some time ago for BS and PHP7 compatibility. Please post your questions in the official support thread: https://forums.oscommerce.com/topic/398158-contribution-new-australia-post-shipping-modules-for-osc-23x/?page=4&tab=comments#comment-1767702 THe other generic questions should be posted in the general shipping modules thread. I just had a fast look and for Q1 you should remove the additional info around these lines: if ($insurance == '' && $handling == 0) { $auspost_addons = "(" . $method_service . ")"; } else { $auspost_addons = "(" . MODULE_SHIPPING_AUSPOST_DOM_COUR_TEXT_INCLUDE . $handling_details . ($handling > 0 && ($insurance != '' || $signature != '') ? MODULE_SHIPPING_AUSPOST_DOM_COUR_TEXT_PLUS : ':') . $signature_details . ($signature != '' && $insurance != '' ? MODULE_SHIPPING_AUSPOST_DOM_COUR_TEXT_PLUS : '') . $insurance_details . ")"; } $shipping_auspost_method = $auspost_addons; Best regards Rainer
  25. 1 point
    Solomono

    Our First templates

    Hello, friends! I`m Serhii, from Solomono. And I`m glad to introduse you our first templates: demo.solomono.net and clo.solomono.net This templates are completely diferent from standart oscommerce. Its php 7.1 ready, SEO ready, mobile friendly(bootstrap), has unlimited images for products, unlimited information pages, completely different admin panel (you can try if for free, just put your email on top of page here ), very fast attribute filter, and optimized DB queries and MANY other. Our main features comparing to default oscommerce: 1. Mobile ready! 2. Modern Adaptive Layout (with ability to edit main site colors, edit blocks in left column, main page and other places) 3. Unlimited Information pages! 4. High Site Speed (faster than standart oscommerce, opencart, magento, wordpress and other) 5. SEO READY (SEO-urls, editable meta tags for products, categories and main page, texts for categories pages, editable robots.txt, generating Sitemap.xml, html-sitemap, ) 6. Fast Onepage Checkout 7. Ajax-functions (adding to cart, wishlist, comparing, search, filtering, sorting, sliders and other) 8. All new Admin panel! 9. Unlimited images for products 10. CSV import-export ..and MANY other! https://solomono.net/advantages-a-104.htm Also you can change your site colors, phones, meta tags, footer information, mainpage modules directly from admin panel. Its easy to change website design, our version has template system sililar to BTS. Also we can move your old oscommerce website to our new versions with full DB importing (products, categories, manufacturers, attributes, orders, customers, admins and other) Look more about us: https://solomono.net/about-company-a-99.html Solomono on Envato: https://codecanyon.net/user/solomono Solomono on Oscommerce: https://www.oscommerce.com/Services&developers&solomono So, tell us your reviews and questions pls. If you want to order template or some help, we would like to help you: https://solomono.net/contacts-a-76.html
×