Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

fantomen

Members
  • Posts

    202
  • Joined

  • Last visited

Everything posted by fantomen

  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. 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
  16. I just started to upload a lof of files when I see that it will not function to my version of oscommerce. I have to delete all the files I just uploaded.
  17. Thank you very much for your reply. I am going to try to install this contribution.
  18. Regarding the contribution: Edit pages via Admin https://apps.oscommerce.com/8h0g3&amp;edit-pages-via-admin-shipping-conditio My information: Installed version FROZEN: osCommerce Online Merchant v2.3.4.1 CE Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip Server OS: Linux 4.15.0-45-generic HTTP Server: Apache/2.4.29 (Ubuntu) PHP Version: 7.2.10-0ubuntu0.18.04.1 (Zend: 3.2.0) Database: MySQL 5.7.25-0ubuntu0.18.04.2 My Question: What is needed to be changed in this contribution to make it possible to install this contribution to my installed version FROZEN: osCommerce Online Merchant v2.3.4.1 CE? Modified site install Text area Installation This file guides you to install the Edit Page add-on without 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 / english / english.php In my version I do not have a folder named catalog?
  19. I received this reply from JcMagpie You edited the wrong place!! at line 303 in admin/easypopulate.php use this. Replace the lines you have. //$custom_fields[TABLE_PRODUCTS] = array(); // this line is used if you have no custom fields to import/export $custom_fields[TABLE_PRODUCTS] = array( 'products_gtin' => 'GTIN'); $custom_fields[TABLE_PRODUCTS_DESCRIPTION] = array(); // this line is used if you have no custom fields to import/export And now I am happy that it works. THANK YOU VERY MUCH JcMagpie
  20. I have installed this version: Frozen https://github.com/gburton/Responsive-osCommerce/archive/2341-Frozen.zip Version Checker Installed Version: osCommerce Online Merchant v2.3.4.1 CE And I have installed JcMagpie Version of Easypopuate. How can I add the GTIN-number column in Easypopulate? I have tried with this code: $custom_fields[TABLE_PRODUCTS] = array( 'products_gtin' => 'GTIN'); In what line number shall I add above code in easypopulate if above code is correct? I have tried to add this code to line number 270 but then when I login to the admin panel and click on the link to Easypopulate the website does not work anymore. If I upload JcMagpie orginal Easypopulate file again then it works again. But it stops working as soon as I add above code line. What am I doing wrong?
  21. THANK YOU JcMagpie for your quick response to solve my issues on my website. You are a very good programmer and also very serviceminded. MANY THANKS TO YOU.

    1. JcMagpie

      JcMagpie

      Thank you for your kind words Hans, but I am not a programmer of any type. The people you need to thank for your osC software is Gary @burt and those that help him and HPDL for the origin of osC.

    2. fantomen

      fantomen

      MANY THANKS TO Gary @burt and those that help him and HPDL for the origin of osC.

  22. I am wondering if there is any contribution that makes it possible for my retailers to login to my website with a username and password and that they see their prices just special designed for retailers. All answers are interesting regarding this. Best Regards Fantomen
  23. Because this weekend my URL was all over at http://www.google.com when I searched for my URL and products I sell. Monday morning every link was gone This has happend me many times now.... Any advices are interesting what to do. The first time a client got "thrown out of google" I was worried. Now, I do a check at: http://google-dance.miniunternehmen.de/ to see if they are bopped out, or if google is just indexing again. Amazingly, none of my clients have yet to be dropped by google. I am wondering if it has to do with my configuration of header tags controller...please have a look at: http://www.oscommerce.com/forums/viewtopic.php?t=44724 I can not understand how to configure this so I still have my titel for the website and when I click on a product I want to see just the name for this product and not the website title before the productname. Anyone who knows how to configure this the right way? All good advices are helpful. I just want google to find my site....and has as good ranking position as possible...
  24. I am trying to configure this file that comes with header tags controller contribution: <?php // /catalog/includes/languages/english/header_tags.php // WebMakers.com Added: Header Tags Generator v2.0 // Add META TAGS and Modify TITLE // // DEFINITIONS FOR /includes/languages/english/header_tags.php // Define your email address to appear on all pages define('HEAD_REPLY_TAG_ALL','my order e-mail adress goes here'); // For all pages not defined or left blank, and for products not defined // These are included unless you set the toggle switch in each section below to OFF ( '0' ) // The HEAD_TITLE_TAG_ALL is included BEFORE the specific one for the page // The HEAD_DESC_TAG_ALL is included AFTER the specific one for the page // The HEAD_KEY_TAG_ALL is included BEFORE the specific one for the page define('HEAD_TITLE_TAG_ALL','My website titel here'); define('HEAD_DESC_TAG_ALL','My description of my site goes here.'); define('HEAD_KEY_TAG_ALL','My keywords for my site goes here.'); // DEFINE TAGS FOR INDIVIDUAL PAGES // default.php define('HTTA_DEFAULT_ON','1'); // Include HEAD_TITLE_TAG_ALL in Title define('HTKA_DEFAULT_ON','1'); // Include HEAD_KEY_TAG_ALL in Keywords define('HTDA_DEFAULT_ON','1'); // Include HEAD_DESC_TAG_ALL in Description define('HEAD_TITLE_TAG_DEFAULT', ''); define('HEAD_DESC_TAG_DEFAULT',''); define('HEAD_KEY_TAG_DEFAULT',''); // product_info.php - if left blank in products_description table these values will be used define('HTTA_PRODUCT_INFO_ON','1'); define('HTKA_PRODUCT_INFO_ON','1'); define('HTDA_PRODUCT_INFO_ON','1'); define('HEAD_TITLE_TAG_PRODUCT_INFO',''); define('HEAD_DESC_TAG_PRODUCT_INFO',''); define('HEAD_KEY_TAG_PRODUCT_INFO',''); // products_new.php - whats_new define('HTTA_WHATS_NEW_ON','0'); define('HTKA_WHATS_NEW_ON','0'); define('HTDA_WHATS_NEW_ON','0'); define('HEAD_TITLE_TAG_WHATS_NEW','New Products'); define('HEAD_DESC_TAG_WHATS_NEW','I am ON PRODUCTS_NEW as HEAD_DESC_TAG_WHATS_NEW and over ride the HEAD_DESC_TAG_ALL'); define('HEAD_KEY_TAG_WHATS_NEW','I am on PRODUCTS_NEW as HEAD_KEY_TAG_WHATS_NEW and over ride HEAD_KEY_TAG_ALL'); // specials.php // If HEAD_KEY_TAG_SPECIALS is left blank, it will build the keywords from the products_names of all products on special define('HTTA_SPECIALS_ON','1'); define('HTKA_SPECIALS_ON','1'); define('HTDA_SPECIALS_ON','1'); define('HEAD_TITLE_TAG_SPECIALS','Specials'); define('HEAD_DESC_TAG_SPECIALS',''); define('HEAD_KEY_TAG_SPECIALS',''); // product_reviews_info.php and product_reviews.php - if left blank in products_description table these values will be used define('HTTA_PRODUCT_REVIEWS_INFO_ON','1'); define('HTKA_PRODUCT_REVIEWS_INFO_ON','1'); define('HTDA_PRODUCT_REVIEWS_INFO_ON','1'); define('HEAD_TITLE_TAG_PRODUCT_REVIEWS_INFO',''); define('HEAD_DESC_TAG_PRODUCT_REVIEWS_INFO',''); define('HEAD_KEY_TAG_PRODUCT_REVIEWS_INFO',''); ?> But my problem is that when I click on a product and then view source I see that the title for the product has the Titel of the site before the products name and this is not so good I think? Please help me to configure this so the products just have the productsname in the titel for each product and that I keep the title on my website as it is. Best Regards Fantomen
  25. Because this weekend my URL was all over at http://www.google.com when I searched for my URL and products I sell. Monday morning every link was gone This has happend me many times now.... Any advices are interesting what to do.
×
×
  • Create New...