Jump to content

fantomen

Members
  • Content count

    202
  • Joined

  • Last visited

1 Follower

About fantomen

  • Rank
    Fantomen

Profile Information

  • Real Name
    Hans
  • Gender
    Male
  • Location
    SWEDEN
  • Interests
    osCommerce 2.3.4.1 Frozen

Recent Profile Visitors

2,785 profile views
  1. Hi MrPhil, thank you for your reply. This sounds very very very interesting. Regarding manual decisions, I set a % markup for each category and does not need to set a % markup for each product. On some special products that I would like to have a very competitive price on, then I always set a low % markup for each of these products. Regarding categorizing new products I do this manually because I do not know any other way to do it.
  2. Hi Gyakutsuki, thank you for your reply. This sounds interesting but can you be more specific to tell me what apps I need to be able to update products, prices and number in stock automatically that is compatible with my oscommerce version Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip Installed Version: osCommerce Online Merchant v2.3.4.1 CE Odoo.com have many apps: https://www.odoo.com/pricing and when I click on the e-commerce app there is 3 apps marked automatically. As I understand from this it seem to be working only with Odoo.com own webshop and not for oscommerce?
  3. Hi Smoky Barnable, thank you for your reply. Regarding your advice to use this module: https://apps.oscommerce.com/YfzFh&alternative-administration-system-v0-3 I have been reading about this module and I think the developer of this module have made an incredible good module with all the these features. Almost too good to be true. If I did not watch the demonstration movie on youtube I would not belive it was true. Alternative Administration System Version: 0.3, Created by John Barounis , www.alternative-administration-system.com I just say amazing work this developer have done when he created this module. But will it function with my oscommerce reponsive version? My installed Version: osCommerce Online Merchant v2.3.4.1 CE Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip I think this module is more of the kind of module I am looking for to solve my issue to keep the stock and prices updated. The function I miss with this module is that it does not automatically add new products. https://apps.oscommerce.com/EhAln&get-price-quantity-xml-update-feed-v2-1 This is how I work now to add products in short terms: I use FileZilla https://filezilla-project.org/ to download the pricefile in .txt or .csv format from the distributor. Then I open the pricefile in Excel. Then I add a number of columns to be able to calculate prices to end consumers. This takes very long time to do with 22 000 products. A smart software that would help me to mass change prices in procent and in my currency SEK and in a certain category would help a lot. Of course this can be done in Excel but first I have to sort all products in the correct categorys and to do this takes very much time. And next day the distributor have added a couple of hundred new products and no category to be found. Then new headache to start to categorize all new products to the correct category. Some smart software to mass sort products into the correct category would help. Then I make new prices for the end consumer and make sure that the stock values are added and all other information like product descriptions and much more. Then I import the file with Easy Populate into my webshop. The highest wishlist is to have a connection in real time to the distributor to keep products and stock and prices updated but there need to be a step in between so that I can add my prices to the endconsumer. I can also connect to the distributor via api solution and get an .xml file of all the products. Maybe someone on this forum have any solution on how to make all this work in a much more easy and time saving way?
  4. Hi Gyakutsuki, thank you for your reply. I can not find any product from Odoo here https://www.odoo.com/ that will update stock and prices automatically. Perhaps I am looking at the wrong website?
  5. Hi JcMagpie, thank you for your reply. I will have a look at your module link you sent me.
  6. Hi MrPhil, thank you for your reply. I have already installed Easy Populate and many thanks to JcMagpie who have helped me to get Easy Populate to function with my installed version FROZEN: osCommerce Online Merchant v2.3.4.1 CE With Easy Populate I can import many thousand products to my webshop. When having more than 15 000 products in a webshop it is a must to have some form of automatic update of stock quantity, prices and products. And when categorizing all the products in Excel and then when supplier changes prices and add new products it is a must to have a tool to update this automatically. I can get the pricelist from the distributor/supplier in .xls or in .xml format. Is there someone who have buillt a module for automatic updating stock and prices and products from the distributor/supplier? I have found this module that is interesting: https://apps.oscommerce.com/EhAln&get-price-quantity-xml-update-feed-v2-1 Is this module working for my installed version FROZEN: osCommerce Online Merchant v2.3.4.1 CE ?
  7. Is there a module for automatic updating stock, products and prices? Example one distributor have around 22 000 products and the other distributor have more than 40 000 products. With so many products it is not so easy to update products, prices and how many in stock and product pictures. Perhaps there is some software module or modules to make this job more easy to update all the products? My installed version FROZEN: osCommerce Online Merchant v2.3.4.1 CE Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip
  8. When I click on this button View Update An update is available for this App! View Update Manage API Credentials Enter your PayPal API Credentials and start selling with PayPal. Manage Your API Credentials After I have clicked on View Update then I can see this page: Apply Update v5.000 (11 Nov 2016) Use PayPal API 204. Add Merchant Account ID field to Manage Credentials page. PayPal Express Checkout: Enable In-Context checkout flow by default. PayPal Express Checkout: Add configuration parameters to control Checkout with PayPal button color, shape, and size. Remove country restrictions for API Retrieval service. General improvements and bugfixes. v5.001 (19 Feb 2017) Fix getIdentifier() usage in the PayPal Payments Standard module. v5.010 (1 Mar 2017) Add new general App parameter to test and use the default server configured SSL version when performing API requests to PayPals servers or force TLS v1.2 connections. (TLS v1.2 connections are required from June 30, 2017) Use the customer address suburb value as the street2 parameter value for Payments Standard, Express Checkout, Direct Payment, and Hosted Solution. Payments Standard: If "receiver_email" is not returned back to the store, fallback to "business" to verify the transaction with. Payments Standard: Disable the module if the App API Credentials or module PDT configuration parameters have not been entered. Either is now required to be able to verify the transaction when the customer returns back to the store after payment is made. Payments Standard: Strip extra slashes that were being logged. Payments Standard: Remove deprecated NO_NOTE and PAGE_STYLE parameters. (deprecated Sept. 2016) Express Checkout: Remove deprecated ALLOWNOTE and PAGESTYLE parameters. (deprecated Sept. 2016) Update osCommerce links from http to https. v5.011 (4 Mar 2017) Added compatibility layer for v2.3.4 BS Community Edition. v5.014 (5 Mar 2017) Express Checkout: Update checkout.js javascript to v4. Display EC requirement notice on the DP configuration page if EC is not enabled. Always show the View button on the PayPal App Log page. v5.016 (11 Mar 2017) Express Checkout: Pass the in-store selected shipping rate to the Instant Update Callback request and keep the shipping rate selected when the available shipping rates are displayed. Express Checkout: If a shipping rate has been selected in-store (eg, the customer did not use the "PayPal Check out" button on the shopping cart page but went through the in-store checkout procedure and selected Express Checkout as the payment method), keep the selected shipping rate when returning back to the store checkout confirmation page. The online update packages for v5.011 and v5.014 contained a hardcoded "admin/" path to update the "admin/paypal.php" file - if a custom administration directory name is used, please delete the "admin/" directory, this should only contain one "paypal.php" file which the v5.011 and v5.014 online update packages created. v5.018 (12 Mar 2017) Express Checkout: Allow a custom stylesheet to be loaded to help with the styling and positioning of the checkout buttons shown on the shopping cart page. Express Checkout: Add "id" to the checkout button html tags used on the shopping cart page. When I click on Apply Update button then I see this: Check for Updates Applying Updates Downloading v5.000 … Applying v5.000 … Error: Could not apply v5.000! An error occured during this update. [24-Mar-2019 20:37:34] **** ERROR: Could not update the following files. Please update the file and directory permissions to allow write access. [24-Mar-2019 20:37:34] /web/t1.zmm.se/public_html/includes/modules/payment/paypal_express.php [24-Mar-2019 20:37:34] /web/t1.zmm.se/public_html/includes/modules/payment/paypal_standard.php I have checked the rights on these 2 files and they both have the rights set to: 777 So what to do next?
  9. How to install Paypal to Frozen osCommerce Online Merchant v2.3.4.1 CE
  10. fantomen

    City Ajax auto complete

    What changes is needed for this module to function with my installed version FROZEN: osCommerce Online Merchant v2.3.4.1 CE ? City Ajax Auto Complete https://apps.oscommerce.com/cTiQG&amp;city-ajax-auto-complete I paste the instructions in english language here: I have used chrome auto translate to translate from French to English language. City Ajax Auto Complete 1 ::: Features --------------------------------------------- ---------------- This contribution allows the self-completion of the city, region and country fields via the postal code indicated by the customer on the create_account.php page. A javascript code allows the arrival on the page to automatically detect the visitor's country and automatically selects it in the drop-down list of countries. Then the customer completes the registration form, when he completes his postal code the script automatically searches for the city and region concerned by this postal code and enters it in the fields concerned, if several possibilities of cities are found then a list with all cities is placed below the city field it remains only to make its choice. This script was found on the internet on the following page: Address Autocomplete with JSON webservice http://www.geonames.org/export/ajax-postalcode-autocomplete.html This webservice contains all the data of countries, postal codes and cities and avoids having to create a table containing all these data and avoids overloading our database with the thousands of information necessary for auto-completion, this makes this contribution usable by any user of oscommerce in any country. 2 ::: Files --------------------------------------------- ---------------- 3 new files and 1 image to upload. catalog / js / city_ajax.js catalog / js / geonamesData.js catalog / js / jsr_class.js catalog / images / progress_arrow.gif 3 files to modify. Catalog / create_account.php catalog / includes / functions / html_output.html catalog / includes / functions / general.php 3 ::: Installation --------------------------------------------- ---------------- Step 1: Upload File Upload new files with the folder "js" into the "catalog" directory of your site like this: "catalog / js". Upload the progress_arrow.gif file to the "catalog / images /" folder like this: "catalog / images / progress_arrow.gif". Step 2: In catalog / stylesheet.css Open the catalog / stylesheet.css file Add the following code at the end of the file: /* City_Ajax_Auto_Complete */ #suggestBoxElement { border: 1px solid #8FABFF; visibility:hidden; text-align: left; white-space: nowrap; background-color: #eeeeee; cursor: pointer; } .suggestions { font-size: 11; background-color: #eeeeee; } .suggestionMouseOver { font-size: 11; background: blue; color: white; } /* City_Ajax_Auto_Complete */ Step 3: In catalog / includes / functions / html_output.php search for the following function: //// // Creates a pull-down list of countries function tep_get_country_list($name, $selected = '', $parameters = '') { $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); $countries = tep_get_countries(); for ($i=0, $n=sizeof($countries); $i<$n; $i++) { $countries_array[] = array('id' => $countries[$i]['countries_id'], 'text' => $countries[$i]['countries_name']); } return tep_draw_pull_down_menu($name, $countries_array, $selected, $parameters); } Replace with: //// // Creates a pull-down list of countries function tep_get_country_list($name, $selected = '', $parameters = '') { $countries_array = array(array('id' => '', 'text' => PULL_DOWN_DEFAULT)); $countries = tep_get_countries(); for ($i=0, $n=sizeof($countries); $i<$n; $i++) { $countries_array[] = array('id' => $countries[$i]['countries_iso_code_2'], 'text' => $countries[$i]['countries_name']); } return tep_draw_pull_down_menu($name, $countries_array, $selected, $parameters); } Step 4: In catalog / includes / functions / general.php 1. search for the following function: //// // Returns an array with countries // TABLES: countries function tep_get_countries($countries_id = '', $with_iso_codes = false) { $countries_array = array(); if (tep_not_null($countries_id)) { if ($with_iso_codes == true) { $countries = tep_db_query("select countries_name, countries_iso_code_2, countries_iso_code_3 from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "' order by countries_name"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name'], 'countries_iso_code_2' => $countries_values['countries_iso_code_2'], 'countries_iso_code_3' => $countries_values['countries_iso_code_3']); } else { $countries = tep_db_query("select countries_name from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "'"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name']); } } else { $countries = tep_db_query("select countries_id, countries_name from " . TABLE_COUNTRIES . " order by countries_name"); while ($countries_values = tep_db_fetch_array($countries)) { $countries_array[] = array('countries_id' => $countries_values['countries_id'], 'countries_name' => $countries_values['countries_name']); } } return $countries_array; } 2. Replace with: //// // Returns an array with countries // TABLES: countries function tep_get_countries($countries_id = '', $with_iso_codes = false) { $countries_array = array(); if (tep_not_null($countries_id)) { if ($with_iso_codes == true) { $countries = tep_db_query("select countries_name, countries_iso_code_2, countries_iso_code_3 from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "' order by countries_name"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name'], 'countries_iso_code_2' => $countries_values['countries_iso_code_2'], 'countries_iso_code_3' => $countries_values['countries_iso_code_3']); } else { $countries = tep_db_query("select countries_name from " . TABLE_COUNTRIES . " where countries_id = '" . (int)$countries_id . "'"); $countries_values = tep_db_fetch_array($countries); $countries_array = array('countries_name' => $countries_values['countries_name']); } } else { $countries = tep_db_query("select countries_id, countries_iso_code_2, countries_name from " . TABLE_COUNTRIES . " order by countries_name"); while ($countries_values = tep_db_fetch_array($countries)) { $countries_array[] = array('countries_id' => $countries_values['countries_id'], 'countries_iso_code_2' => $countries_values['countries_iso_code_2'], 'countries_name' => $countries_values['countries_name']); } } return $countries_array; } Step 5: In catalog create_account.php 1. Search: $country = tep_db_prepare_input($HTTP_POST_VARS['country']); 2. Replace with: $input_country = tep_db_prepare_input($HTTP_POST_VARS['country']); $country_query = tep_db_query("select countries_id, countries_iso_code_2 from " . TABLE_COUNTRIES . " where countries_iso_code_2 = '" . tep_db_input($input_country) . "'"); $country_result = tep_db_fetch_array($country_query); $country = $country_result['countries_id']; 3. Search: <link rel="stylesheet" type="text/css" href="stylesheet.css"> 4. Add just below: <script type="text/javascript" src="js/geonamesData.js"></script> <script type="text/javascript" src="js/jsr_class.js"></script> <script type="text/javascript" src="js/city_ajax.js"></script> 5. Search: <body> 6. Replace with: <body onload="setDefaultCountry();"> 7. Search: <td class="main"><?php echo tep_draw_input_field('postcode') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> 8. Replace with <td class="main"><?php echo tep_draw_input_field('postcode','','onblur="postalCodeLookup();"') . ' ' . (tep_not_null(ENTRY_POST_CODE_TEXT) ? '<span class="inputRequirement">' . ENTRY_POST_CODE_TEXT . '</span>': ''); ?></td> 9. Search: <td class="main"><?php echo tep_draw_input_field('city') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?></td> 10. Replace with: <td class="main"><div style="position: relative; z-index: 24;"><?php echo tep_draw_input_field('city','','onfocus="postalCodeLookup();" onblur="closeSuggestBox();"') . ' ' . (tep_not_null(ENTRY_CITY_TEXT) ? '<span class="inputRequirement">' . ENTRY_CITY_TEXT . '</span>': ''); ?><div style="position: absolute; width: 256px; top: 20px; left: 0px; z-index:25; visibility: hidden;" id="suggestBoxElement"></div></div></td> Step 6: Finished !! The installation is finished !! I am interested to get this module to function with the responsive version FROZEN: osCommerce Online Merchant v2.3.4.1 CE. All answers are interesting.
  11. Thank you for your reply. I have learned the hard way that it is waste of my time to try to install any contribution that is made for the old non responsive 2.2 because I am not a programmer when I have a responsive installed FROZEN: osCommerce Online Merchant v2.3.4.1 CE. I just try to install the addons that is made for FROZEN: osCommerce Online Merchant v2.3.4.1 CE
  12. Thank you so much to everyone who has answered my questions. I feel this is going beyond my knowledge level and I have to wait until someone makes a contribution to work with Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip to be able to edit the information in Shipping & Returns, Privacy & Cookie Policy and in Terms & Condition from the admin panel.
  13. Hi Smoky Barnable, thank you for your reply Regarding the contribution: Edit pages via Admin https://apps.oscommerce.com/8h0g3&amp;edit-pages-via-admin-shipping-conditio Have you been able to follow these instructions here below that is taken from the instructions in this module and succeeded to install this module to FROZEN: osCommerce Online Merchant v2.3.4.1 CE ? Is this module compatible with FROZEN: osCommerce Online Merchant v2.3.4.1 CE ? Modified site install CKEditor Installation This file guides you to install the Edit Page add-on with CKEditor FULL version for a modified site. Assumptions: *This add on assumes that your site is inside the catalog folder and that your admin folder is called admin, if this is not the case you need to make changes before you start. Existing Files to edit catalog / conditions.php catalog / shipping.php catalog / privacy.php catalog / contact_us.php catalog / includes / database_tables.php catalog / admin / includes / column_left.php (for versions lower than 2.3.4) catalog / admin / includes / filenames.php catalog / admin / includes / database_tables.php catalog / admin / includes / application_top.php catalog / admin / includes / template_top.php catalog / admin / includes / functions / html_output.php catalog / admin / includes / english / english.php Modified Site Installation instructions. Step 1: backup Backup all files before going any further! Step 2: Insert the Database settings These setting can be found on the left menu. Step 3: upload Select the folder EDIT PAGES / Modified stores / with ckeditor Modified site / catalog Upload it to your website making note of * above. Step 4: catalog / conditions.php Open /catalog/conditions.php FIND require(DIR_WS_INCLUDES . 'template_top.php'); ADD AFTER Select All // Linuxuk Edit Pages begin $linuxuk_cond_info_query = tep_db_query("select * from " . TABLE_LINUXUK_EDIT_COND . " where linuxuk_edit_cond_language_id = " . $languages_id ); $linuxuk_cond_info = tep_db_fetch_array($linuxuk_cond_info_query); // Linuxuk Edit Pages end FIND <?php echo TEXT_INFORMATION; ?> REPLACE WITH Select All <?php echo $linuxuk_cond_info['linuxuk_edit_cond_description']; ?> SAVE AND CLOSE THIS FILE Step 5: catalog / privacy.php Open /catalog/privacy.php FIND require(DIR_WS_INCLUDES . 'template_top.php'); ADD AFTER Select All // Linuxuk Edit Pages begin $linuxuk_privacy_info_query = tep_db_query("select * from " . TABLE_LINUXUK_EDIT_PRIVACY . " where linuxuk_edit_privacy_language_id = " . $languages_id ); $linuxuk_privacy_info = tep_db_fetch_array($linuxuk_privacy_info_query); // Linuxuk Edit Pages end FIND <?php echo TEXT_INFORMATION; ?> REPLACE WITH Select All <?php echo $linuxuk_privacy_info['linuxuk_edit_privacy_description']; ?> SAVE AND CLOSE THIS FILE Step 6: catalog / shipping.php Open /catalog/shipping.php FIND require(DIR_WS_INCLUDES . 'template_top.php'); ADD AFTER Select All // Linuxuk Edit Pages begin $linuxuk_shipping_info_query = tep_db_query("select * from " . TABLE_LINUXUK_EDIT_INFO . " where linuxuk_edit_page_language_id = " . $languages_id ); $linuxuk_shipping_info = tep_db_fetch_array($linuxuk_shipping_info_query); // Linuxuk Edit Pages end FIND <?php echo TEXT_INFORMATION; ?> REPLACE WITH Select All <?php echo $linuxuk_shipping_info['linuxuk_edit_page_description']; ?> SAVE AND CLOSE THIS FILE Step 7: catalog / contact_usphp Open /catalog/contact_us.php FIND require(DIR_WS_INCLUDES . 'template_top.php'); ADD AFTER Select All // Linuxuk Edit Pages begin $linuxuk_contact_info_query = tep_db_query("select * from " . TABLE_LINUXUK_EDIT_CONTACT . " where linuxuk_edit_contact_language_id = " . $languages_id ); $linuxuk_contact_info = tep_db_fetch_array($linuxuk_contact_info_query); // Linuxuk Edit Pages end FIND <h1><?php echo HEADING_TITLE; ?></h1> ADD AFTER Select All <p><?php echo $linuxuk_contact_info['linuxuk_edit_contact_description']; ?></p> SAVE AND CLOSE THIS FILE Step 8: database_tables.php OPEN catalog / includes / database_tables.php ADD just before the final ?> Select All // Linuxuk Edit Pages begin define('TABLE_LINUXUK_EDIT_INFO' ,'linuxuk_edit_page_shipping'); define('TABLE_LINUXUK_EDIT_PRIVACY' ,'linuxuk_edit_page_privacy'); define('TABLE_LINUXUK_EDIT_COND' ,'linuxuk_edit_page_cond'); define('TABLE_LINUXUK_EDIT_CONTACT' ,'linuxuk_edit_page_contact'); // Linuxuk Edit Pages end SAVE AND CLOSE THIS FILE Step 9: catalog / admin / includes / database_tables.php OPEN catalog / admin / includes / database_tables.php ADD just before the final ?> Select All // Linuxuk Edit Pages begin define('TABLE_LINUXUK_EDIT_INFO' ,'linuxuk_edit_page_shipping'); define('TABLE_LINUXUK_EDIT_PRIVACY' ,'linuxuk_edit_page_privacy'); define('TABLE_LINUXUK_EDIT_COND' ,'linuxuk_edit_page_cond'); define('TABLE_LINUXUK_EDIT_CONTACT' ,'linuxuk_edit_page_contact'); // Linuxuk Edit Pages end SAVE AND CLOSE THIS FILE Step 10: catalog / admin / includes / filenames.php OPEN catalog / admin / includes / filenames.php ADD just before the final ?> Select All // Linuxuk Edit Pages begin define('FILENAME_EDIT_INFO' ,'edit_shipping.php'); define('FILENAME_EDIT_PRIVACY' ,'edit_privacy.php'); define('FILENAME_EDIT_COND' ,'edit_conditions.php'); define('FILENAME_EDIT_CONTACT' ,'edit_contact.php'); define('FILENAME_EDIT_MAIN', 'maintenance.php'); // Linuxuk Edit Pages end SAVE AND CLOSE THIS FILE Step 11: admin / includes / column_left.php #### ONLY IF YOU USE LESS THAN 2.3.4 #### Open admin / includes / column_left.php FIND include(DIR_WS_BOXES . 'tools.php'); ADD AFTER Select All include(DIR_WS_BOXES . 'edit_pages.php'); SAVE AND CLOSE THIS FILE Step 12: catalog / admin / includes / template_top.php OPEN catalog / admin / includes / template_top.php FIND </head> ADD BEFORE Select All <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/flot/jquery.flot.min.js', '', 'SSL'); ?>"></script> <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/flot/jquery.flot.time.min.js', '', 'SSL'); ?>"></script> <link rel="stylesheet" type="text/css" href="includes/stylesheet.css"> <script type="text/javascript" src="includes/general.js"></script> <script type="text/javascript" src="includes/general.js"></script> <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/ckeditor/ckeditor.js'); ?>"></script> <script type="text/javascript" src="<?php echo tep_catalog_href_link('ext/ckeditor/adapters/jquery.js'); ?>"></script> <script type="text/javascript"> $(function() { var $editors = $('textarea'); if ($editors.length) { $editors.each(function() { var editorID = $(this).attr("id"); var instance = CKEDITOR.instances[editorID]; if (instance) { CKEDITOR.remove(instance); } CKEDITOR.replace(editorID); }); } }); </script> SAVE AND CLOSE THIS FILE Step 13: catalog / admin / includes / functions / html_output.php OPEN catalog / admin / includes / functions / html_output.php ADD Just before the final ?> Select All // Linuxuk Edit Pages begin // Output a form textarea field for CKE Editor // The $wrap parameter is no longer used in the core xhtml template function tep_draw_textarea_field_ckeditor($name, $wrap, $width, $height, $text = '', $parameters = '', $reinsert_value = true) { global $_GET, $_POST; $field = '<textarea name="' . tep_output_string($name) . '" id="' . tep_output_string($name) . '" cols="' . tep_output_string($width) . '" rows="' . tep_output_string($height) . '"'; if (tep_not_null($parameters)) $field .= ' ' . $parameters; $field .= '>'; if ( ($reinsert_value == true) && ( (isset($_GET[$name]) && is_string($_GET[$name])) || (isset($_POST[$name]) && is_string($_POST[$name])) ) ) { if (isset($_GET[$name]) && is_string($_GET[$name])) { $field .= tep_output_string_protected(stripslashes($_GET[$name])); } elseif (isset($_POST[$name]) && is_string($_POST[$name])) { $field .= tep_output_string_protected(stripslashes($_POST[$name])); } } elseif (tep_not_null($text)) { $field .= tep_output_string_protected($text); } $field .= '</textarea>'; return $field; } // Linuxuk Edit Pages end SAVE AND CLOSE THIS FILE Step 14: catalog / admin / includes / languages / english.php OPEN catalog / admin / includes / languages / english.php ADD just before the final ?> Select All // Linuxuk Edit Pages begin define('BOX_HEADING_EDIT_PAGES', 'Linuxuk Pages'); define('BOX_LINUXUK_EDIT_SHIPPING_PAGES', 'Edit Shipping'); define('BOX_LINUXUK_EDIT_PRIVACY_PAGES', 'Edit Privacy'); define('BOX_LINUXUK_EDIT_COND_PAGES', 'Edit Conditions'); define('BOX_LINUXUK_EDIT_CONTACT_PAGES', 'Edit Contact'); define('BOX_LINUXUK_EDIT_MAINT', 'maintenance'); // Linuxuk Edit Pages end SAVE AND CLOSE THIS FILE Step 15: configure the CKEditor anf KC finder to work with your store OPEN catalog / admin / kcfinder / conf / config.php FIND (line 24) 'disabled' => true, 'uploadURL' => "uploads", CHANGE 'disabled' => true, TO 'disabled' => false, CHANGE 'uploadURL' => "uploads", TO 'uploadURL' => "http://www.yourstore.com/catalog/images/", (This is the location of your images folder) SAVE AND CLOSE THIS FILE Step 16: CKEDITOR Changes OPEN file ext/ckeditor/config.js CHANGE this code CKEDITOR.editorConfig = function( config ) { // Define changes to default configuration here. For example: // config.language = 'fr'; // config.uiColor = '#AADC6E'; }; Change to ### You need to match the path to the actual file ## Select All CKEDITOR.editorConfig = function( config ) { config.filebrowserBrowseUrl = '/catalog/admin/kcfinder/browse.php?type=files'; config.filebrowserImageBrowseUrl = '/catalog/admin/kcfinder/browse.php?type=images'; config.filebrowserFlashBrowseUrl = '/catalog/admin/kcfinder/browse.php?type=flash'; config.filebrowserUploadUrl = '/catalog/admin/kcfinder/upload.php?type=files'; config.filebrowserImageUploadUrl = '/catalog/admin/kcfinder/upload.php?type=images'; config.filebrowserFlashUploadUrl = '/catalog/admin/kcfinder/upload.php?type=flash'; }; SAVE AND CLOSE THIS FILE Step 17: KCFinder Security update OPEN file admin/includes/application_top.php ADD this code just before the last ?> Select All /* Enable KCFinder */ $_SESSION['KCFINDER'] = array(); $_SESSION['KCFINDER']['disabled'] = false; SAVE AND CLOSE THIS FILE Step 18: KCFinder Security update part 2 Open /admin/kcfinder/core/autoload.php after the opening <?php ADD Select All // BOF: Added to work with session handling of osCommerce: set_include_path('../'); include('../includes/application_top.php'); set_include_path(dirname(__FILE__)); // EOF: Added to work with session handling of osCommerce: SAVE AND CLOSE THIS FILE END OF EDITS If you feel this installation is beyond you I am available to install it for you, please get in touch for a quote.
  14. Thank you very much for your answers. Many thanks to ArtcoInc and Jack_mcs
  15. Regarding this contribution: Information Pages SEO V 1.0 https://apps.oscommerce.com/k6oAF&information-pages-seo-v-1-0 Does this contribution make it possible to edit the text information from the admin panel in these? INFORMATION Shipping & Returns Privacy & Cookie Policy Terms & Condition
×