Jump to content

Fredi

Members
  • Content count

    336
  • Joined

  • Last visited

  • Days Won

    4

Everything posted by Fredi

  1. Fredi

    Upgrading to the latest version

    In addition module: includes/modules/content/index/cm_i_category_images.php Line 83 tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Category Description Source', 'MODULE_CONTENT_CATEGORY_IMAGES_CAT_DESC_SOURCE', 'categories_description', 'This is the sort order used in the output.', '6', '15', 'tep_cfg_select_option(array(\'categories_description\', \'categories_htc_description\'), ', now())"); to tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) VALUES ('Category Description Source', 'MODULE_CONTENT_CATEGORY_IMAGES_CAT_DESC_SOURCE', 'categories_description', 'This is the sort order used in the output.', '6', '15', 'tep_cfg_select_option(array(\'categories_description\', \'categories_seo_description\'), ', now())"); Work OK.
  2. Fredi

    Upgrading to the latest version

    Thank You Matt.
  3. Fredi

    Upgrading to the latest version

    In another great version of Phoenix, an error appeared: 1054 - Unknown column 'categories_htc_description' in 'field list' What does this mean? What did I do wrong?
  4. Fredi

    Attribute Addon

    Guys, let's end this useless conversation.
  5. Fredi

    Attribute Addon

    All is correct. A standard online shop for selling apples, tomatoes and lemons is easy. This is standard. But modern online trading is difficult. Both simple goods and complex goods and services are sold through the Internet. If Phoenix wants to be competitive among other offers, it must very flexibly adapt to the needs of potential customers, software buyers.
  6. Fredi

    Attribute Addon

    My impression is that Phoenix does not solve any new problems. There is no new functionality. All work on the Phoenix consists in digging in fine details and rewriting the code so that it differs from the OsCommerce code. Phoenix coders write and they see it as it is convenient for them. The opinion of real and potential users is not interesting. It's good. This is the choice of encoders. But the software for the store will be chosen by the owner of the online store. The law of the market - the buyer is always right. A product can be successful if the customer likes it. There are hundreds of offers, both commercial and free, in the online trading software market today. The buyer has a large selection. Almost only those people who need to update the OsCommerce are interested in the Phoenix. Ignore my stupid words please. There are coders that write code for the kernel and Phoenix add-ons. They make decisions. They know the potential of the market. They spend their time for this work. In the decisions they make, the future of the Phoenix is encoded. I wish everyone great success!
  7. Fredi

    Attribute Addon

    Unfortunately, my products are very strongly associated with attributes. For example: Sprinkler. One sprinkler model has the following parameters: water consumption of 20, 35, 50, 70, 90, 110 liters per hour. This is easily solved using attributes. I wanted to apply this module - CCC for the greenhouse. This is not even a finished product, but a kind of pre-order. A greenhouse requires a large list of different equipment. The customer could tell me what configuration of the greenhouse he wants to build for himself. This is very similar to how the customer independently builds a computer - an addon - CCC. No problems. We simply won’t apply it on our site. Gentlemen, everything is OK. This mudul is uncritical for me. We can easily do without it.
  8. Fredi

    Attribute Addon

    I'll tell you the secret information. I support the OsCommerce since 2002. Is free. I gave money to support the Phoenix, but they were returned to me. They did not accept my support. So everything is OK! --------- Thank You @raiwa I will try your module again. Probably easier with the Attribute Manager, but the CCC module is really more suitable for me. Nobody deals with this module, so I will look for other options.
  9. Fredi

    Attribute Addon

    Hi Steve! If I were a coder, then I would have done it without your conversion. I am not a coder. You know it. And every time you offer me to code. You're doing fine! But about coding, better give your advice to coders. Or please you encode.
  10. Fredi

    Attribute Addon

    Such an addition will be very useful for my store.
  11. I try this on 1.0.5.3 The warning has disappeared. I was looking for how to fix this on different sites on the Internet. Zahid, there’s no point in messing around with this. Do you have a lot of work. You add new ones and upgrade old add-ons and it’s very good. Thanks so much for your work! I will test and inform you if there are problems.
  12. Thank You Zahid. I uze PHP v-7.3 and have error - undefined index. I tried to slightly change the 2 lines that you adjusted and now the page does not show a warning and you can change the number of days. if (isset($_POST['tdate']) == '') $tdate = ($_GET['tdate']); if (($_GET['tdate']) =='') $tdate = UNSOLD_DAYS; to if (!isset($_POST['tdate']) == '') $tdate = ($_GET['tdate']); if (!empty($_GET['tdate']) =='') $tdate = UNSOLD_DAYS;
  13. And one more wish: If I change the number of days, for example, to 100 or 365, this does not work. No change.
  14. Thank You Zahid! I added your add-on to my admin. Everything works well. But if you have error alerts enabled, there is 1. This is a repetition of a language constant. I fixed it like this: File admin\includes\boxes\reports_stats_unsold_carts.php Line 16 'title' => MODULES_ADMIN_MENU_REPORTS_UNSOLD_CARTS, Change to 'title' => ADMIN_MENU_REPORTS_UNSOLD_CARTS, Files admin\includes\languages\russian\modules\boxes\reports_stats_unsold_carts.php and admin\includes\languages\english\modules\boxes\reports_stats_unsold_carts.php Line 13 define('MODULES_ADMIN_MENU_REPORTS_UNSOLD_CARTS', Change to define('ADMIN_MENU_REPORTS_UNSOLD_CARTS', Everything works ok.
  15. Added Support ticket module in Marketplace Support ticket for Phoenix module. Compatibility: Phoenix Tested on OSCOM CE Phoenix 1.0.4.2 PHP 7.3 All credit goes to the original developer: Copyright (c) 2003 Henri Schmidhuber IN-Solution and all other contributers of previous versions. Many thanks to Lee Foster for his great participation in the modernization of this module. Code corrections have been made to adapt to php 7.3, for Phoenix and for the standard module menu in the Admin. The addon includes 2 languages: English and Russian. Full Package. Simply copy over the files and install and turn on the new add-on. Go to Modules -> Dashboard -> Install Module -> Support Tickets -> Install Module Set options through Modules -> Dashboard -> Support Tickets
  16. Fredi

    NEW! Complete Order Editing Tool!

    Yes, Zahid. Such an error occurs in many files of old modules. I am currently adapting Article Manager for Phoenix version 1.0.5.1 In this module you need to make many replacements tep_image_.... to tep_draw_button. In module Article Manager have meny other problems...
  17. Fredi

    NEW! Complete Order Editing Tool!

    It works! After the line 140 in file admin/orders.php add: Line 140: <p><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></p> ADD. <?php // google maps button begin $replace_array = array('%\,%', '%Nº%','%C\/%','%c\/%', '%nº%', '%planta%', '%piso%', '%dcha.%', '%izqa%', '%Dcha%', '%Izda%', '%Izq%','%izq%', '%º%', '%ª%'); $google_address = preg_replace($replace_array, '', $order->delivery['street_address']) . ', ' . $order->delivery['city'] . ', ' . $order->delivery['postcode'] . ', ' . $order->delivery['state'] . ', ' . $order->delivery['country']; echo '<a target="_blank" href="https://www.google.es/maps/place/' . $google_address . '">' . tep_draw_button('Google Maps', 'search') . '</a>'; // google maps button end ?> </fieldset> Only this code.
  18. Fredi

    NEW! Complete Order Editing Tool!

    There is a good idea and wish: Add (update and adapt) GoogleMaps to the Order Editor. This will be convenient for the store and for couriers who deliver products. https://apps.oscommerce.com/dRodV&google-maps-delivery-link-1-0 This requires changing the code, but is it possible to do this without changing the code with a hook? Google Maps delivery link 1.0 What it does: A button will be added below the Delivery Address in Admin - Orders It allows with one click to open Google Maps in a new browser tab and pass the delivery address into a search query. Like this you'll save some copy paste to check if the address is accurate. Compatibility: all OsCommerce 2.3 versions. Can be adapted changing the button code to image button for 2.2 versions. In: admin/orders.php With PayPal App: Find about line 226: <legend style="margin-left: -20px; font-weight: bold;"><?php echo ENTRY_SHIPPING_ADDRESS; ?></legend> <p><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></p> </fieldset> Replace by: <legend style="margin-left: -20px; font-weight: bold;"><?php echo ENTRY_SHIPPING_ADDRESS; ?></legend> <p><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></p> <?php // google maps button begin $replace_array = array('%\,%', '%Nº%','%C\/%','%c\/%', '%nº%', '%planta%', '%piso%', '%dcha.%', '%izqa%', '%Dcha%', '%Izda%', '%Izq%','%izq%', '%º%', '%ª%'); $google_address = preg_replace($replace_array, '', $order->delivery['street_address']) . ', ' . $order->delivery['city'] . ', ' . $order->delivery['postcode'] . ', ' . $order->delivery['state'] . ', ' . $order->delivery['country']; echo '<a target="_blank" href="https://www.google.es/maps/place/' . $google_address . '">' . tep_draw_button('Google Maps', 'search') . '</a>'; // google maps button end ?> </fieldset> No PayPal App: Find about line 136: <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td> </tr> </table></td> Replace by: <td class="main"><?php echo tep_address_format($order->delivery['format_id'], $order->delivery, 1, '', '<br />'); ?></td> </tr> <tr> <td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '1', '5'); ?></td> </tr> <tr> <td class="main"></td> <?php // google maps button begin $replace_array = array('%\,%', '%Nº%','%C\/%','%c\/%', '%nº%', '%planta%', '%piso%', '%dcha.%', '%izqa%', '%Dcha%', '%Izda%', '%Izq%','%izq%', '%º%', '%ª%'); $google_address = preg_replace($replace_array, '', $order->delivery['street_address']) . ', ' . $order->delivery['city'] . ', ' . $order->delivery['postcode'] . ', ' . $order->delivery['state'] . ', ' . $order->delivery['country']; echo '<td class="main"><a target="_blank" href="https://www.google.es/maps/place/' . $google_address . '">' . tep_draw_button('Google Maps', 'search') . '</a></td>'; // google maps button end ?> </tr> </table></td> NOTE: the $replace _array includes typical spanish street address cleanup. It removes stairs, floor and door numbering and other unnecessary details which prevent Google Maps to find the address. You can add more strings which should be stripped off for your needs. That's it.
  19. Fredi

    NEW! Complete Order Editing Tool!

    The design is modern. Have you adapted the module for bootstrap, or is this another version of the Admin?
  20. Fredi

    NEW! Complete Order Editing Tool!

    I no have thise problem. In directori admin/includes/lenguages/____/images/buttons/ I have byttons images
  21. Fredi

    NEW! Complete Order Editing Tool!

    If insert onli line foreach($this->modules as $value) { Parse error: syntax error, unexpected '{' in /home/---/public_html/admin/order_editor/order_total.php on line 29
  22. Fredi

    NEW! Complete Order Editing Tool!

    Parse error: syntax error, unexpected '{' in /home/---/public_html/admin/order_editor/order_total.php on line 29
  23. Fredi

    NEW! Complete Order Editing Tool!

    Thank You Zanid!
  24. Fredi

    NEW! Complete Order Editing Tool!

    28 reset($this->modules); 29 while (list(, $value) = each($this->modules)) { 30 include(DIR_FS_CATALOG_LANGUAGES . $language . '/modules/order_total/' . $value); 31 include(DIR_FS_CATALOG_MODULES . 'order_total/' . $value); 32 33 $class = substr($value, 0, strrpos($value, '.')); 34 $GLOBALS[$class] = new $class; 35 } 36 } 37 }
  25. Fredi

    NEW! Complete Order Editing Tool!

    Thanks a lot to everyone who helps! In principle, almost all the errors were corrected. There are no problems with language files. I corrected the error in line 1488 like this: Replace if (class_exists($class)) { to if (tep_class_exists($class)) { I think this fix can be used in other modules. But some errors remained .... Notice: Undefined variable: index in /home/-----/public_html/admin/order_editor/cart.php on line 47 I started to edit the order. Changed the delivery method. The module works fine, the delivery method has been changed, the shipping cost has changed, everything is OK, but new warnings have appeared: Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; order_total has a deprecated constructor in /home/-----/public_html/admin/order_editor/order_total.php on line 18 I changed the line 22 and the error disappeared. function order_total() { to function __construct() { Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/-------/public_html/admin/order_editor/order_total.php on line 29 How to solve this - I do not know. Thank you all for your support.
×