Latest News: (loading..)


Popular Content

Showing most liked content since 05/23/2017 in all areas

  1. 3 likes
    Update 02:00 CEST The new Apps Marketplace website is taking it's first steps online. I'm still working on this in the background. This will replace the legacy add-ons website. Uploads can be performed but are placed in a background queue for internal background processing. You will receive an email when the processing is complete. The first batch will take a while to process (due to other tasks running) and will eventually catch up with a waiting time of around 5-10 minutes. Information on what's new will be published soon.
  2. 2 likes
    Hi All.. Something (good) is happening to the Add-Ons website today. Updates will be posted here. 19:20 CEST The Add-Ons website is currently under maintenance. No new uploads can be performed at this time. This should be back in operation in an hour or so. 02:00 CEST Apps Marketplace went online at 04:00 CEST So far absolutely no errors have been logged. Yay. Following is some more information. The Apps Marketplace is replacing the legacy Add-Ons website. All existing Add-Ons are listed in the marketplace. As soon as our next releases are published with the App framework, the listing at the marketplace will allow filtering of Add-Ons for our legacy releases, and Apps for our new releases. Right now only free / open-source uploads are allowed - commercial uploads will be available in the near future. What's New? Here is what's new with the Apps Marketplace: You can now edit the title and descriptions of your uploads. (applies to main packages, for updates see todo list below) A cover image can be uploaded and is shown in app listings / search results. If no cover image is available, a color block is used. Screenshots can be uploaded. Zip files are now only accepted. (previously .tar.gz and .rar were also accepted; these have been converted to zip packages) Uploads of zip files and / or images will place the submission in a background queue for further processing. (this is currently delayed due to other tasks, ultimately it will take about 5-10 minutes. An e-mail is sent out when the processing has completed) Edits cannot be performed if the App is already in the processing queue until it has been processed. Edits to titles, descriptions, maintainers (granting other members access to upload updates), and sorting of existing screenshots will have the changes applied immediately. Searching can be filtered by relevancy and last update date. New submissions are set as private by default, as opposed to being open where other members can upload updates. Granting access to other users to allow them to upload updates is now performed by selecting the member from a auto-suggestion list instead of having to enter their full name in. Either the App can be set to allow upload updates from anyone or from a maximum of 15 selected members. The download button on the App information page is either a Download button to download the latest update, or a View Files button to view the updates that have been uploaded. The Download button is shown for private Apps, and the View Files button is shown for public Apps (Apps that allow anyone to upload updates to). This behaviour is used in case the last update to a public App is not a full package. URL Scheme Apps are now linked to via an App specific code of 5 characters. The following url scheme can be used to link to an App: The App information page links to itself with a canonical url including the title of the App in the following scheme: Either style can be used to link to Apps directly. Download links now have the following scheme: That will download the latest upload in the App package. Each upload in an App package also has a specific code of 5 characters. Linking to a specific upload version can be done with: Downloading Apps now requires a user account on our website. This is needed for the marketplace integration into OSCOM to allow one click installations and to be able to manage commercial Apps and licenses when this opens in the near future. Todo Member profile pages. Allow titles and descriptions of update uploads to be edited. Allow main packages and updates to be removed. Allow owners to moderate update uploads from other members. User reviews. Show download statistics. Allow forum support topic to be linked to. Redirect old links from the addons website to the new marketplace links. Redirects are now partly in place. 07/June Bootstrap v4.0alpha6 is currently used - still need to optimize for a responsive layout The source code is of course up at Github at (keeping true to our pledge), it is however not a stand-alone functional installation. I will make sure our complete website is "installable" once all updates to the OSCOM v3 framework have aligned.
  3. 2 likes
    Hi All.. The background processing queue is now finally up to date and has already processed the newer submissions. An App enters the background processing queue when a zip file or image file is uploaded. The first revision of the background processing queue checks the files for checksum errors and viruses. The next revision will go a step further and test each php file for any syntax errors. E-mails are sent out when the processing has completed. E-mail are not sent out when a problem has been detected - in this case the files will be verified manually and placed back in the queue for further processing. For Apps that allow others to upload to, the original author (owner of the App) will also get notified by e-mail when someone else has uploaded an update. The time can take between 5-15 minutes. Is this cool or what?
  4. 2 likes
    @PiLLaO Community BS is a ß version but works.
  5. 1 like
    Hook it is then. It's a good use of Hooking. Bear in mind that in the English language, getting it 100% correct is difficult; McDonald MacDonald Macdonald Mcdonald All are valid surnames. In addition "Macdonald" can also be a given (first) name!
  6. 1 like
    New version uploaded: AJAX Attribute Manager BS
  7. 1 like
    @Jeep_ice sometime ago @burt share some code on the forum to do this . I don't know the topic, but here the copied code: in /includes/functions/html_output.php Find: if ( isset($params['params']) ) { $button .= ' ' . $params['params']; } add after it if (isset($params['product_id']) ) { $products_quantity_query = tep_db_query("select products_quantity from products where products_id = " . (int)$params['product_id']); $products_quantity = tep_db_fetch_array($products_quantity_query); if ($products_quantity['products_quantity'] < 1) { $button .= ' disabled="disabled" '; $title = 'Out Of Stock'; $icon = 'fa fa-times-circle'; $style = 'btn-warning'; } } in product_info.php find this tep_draw_button(IMAGE_BUTTON_IN_CART, 'fa fa-shopping-cart', null, 'primary', NULL, 'btn-success') replace with this tep_draw_button(IMAGE_BUTTON_IN_CART, 'fa fa-shopping-cart', null, 'primary', array('product_id' => $product_info['products_id']), 'btn-success') Omar
  8. 1 like
    @raiwa Not exactly its attack only mysql. Probably mysql 5.6 I remember something from the past... Secure App: It could be a Hook. catalog/includes/hooks/shop/global/security_pro.php From Security Pro Start here page:
  9. 1 like
    Hello Community, Installed PayPal Express on 2.2, and wondering that checkout_confirmation.php ist skipped after checkout_payment.php when it goes directly to PayPal. I'would need to have displayed checkout_confirmation.php before going to PayPal for regulatory issues in Germany. So is there a way to have this done for example change a parameter somewhere in a file? Or do I simply have to change to Standard edition for this? Thanks xcomm
  10. 1 like
    An FTP client could conceivably change the character encoding in a file it's transferring, but that's not normally done (just how lines are separated). There could be all sorts of reasons that Dan is seeing different treatment of a UTF-8 file on the two systems. First of all, he needs to get rid of the BOM bytes if they're actually in the files (edit in Latin-1 mode). Make sure that the same page is being displayed (i.e., both specify UTF-8 encoding). I've even seen servers that override the encoding tag and force Latin-1, so the server configuration should be checked.
  11. 1 like
    @ce7 you probably need to state which addon you are attempting to add. Almost all addons are defunct with the new versions of osC.
  12. 1 like
    Omar_one Hi Omar, Thanks for the information. Sad to say that I am unable to add this to my website. I made the changes you requested and I went to review my product list to see how it looked with the out of stock products feature but all I got was a error page and none of my products were available anymore. The one thing I noticed when making the changes was the first one I changed. It was a different coding from the others. I would never assume that I know coding at all. I just noticed it was different than the others. FIND: $prod_list_contents .= ' <div class="col-xs-6 text-right">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'fa fa-shopping-cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), NULL, NULL, 'btn-success btn-sm') . '</div>'; REPLACE: if ( tep_get_products_stock($listing['products_id']) > 0 ) { $prod_list_contents .= ' <div class="col-xs-6 text-right">' . tep_draw_button(IMAGE_BUTTON_BUY_NOW, 'cart', tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')) . 'action=buy_now&products_id=' . $listing['products_id']), NULL, NULL, 'btn-success btn-sm') . '</div>'; } else { $prod_list_contents .= ' <div class="ribbon red"><span> '. TABLE_HEADING_OUT_OF_STOCK . '</span></div>'; } Maybe there is something wrong with my .php. I don't know. I will have to try to find it or figure it out. But I will say this will make a huge difference to a lot of us so thank you for making this a option for us. Your Awesome !
  13. 1 like
    That should work to fix the PHP 7 error. However, this module was not designed to work with the Bootstrap system, so you may get JavaScript errors. I suggest that you test everything carefully. Regards Jim
  14. 1 like
    @ce7 I'd say to avoid as much as possible adding "old style" addons as with some lateral thinking, a lot of things can be done in a simpler way (and simple is usually better). If you have to use older addons: the correct advice is as per @raiwa advice above.
  15. 1 like
    Hello Lyn @ce7, Filenames are now hardcoded and the file filenames.php with the definitions removed. To get older Add-Ons which are still using filename constants to work, you have 2 possibilities: 1. Update all filename constants in the add-on files from Example: FILENAME_DEFAULT to the real filenames Example: 'index.php' or 2. Install the compatibility add-on: Add-On Compatibility for 2.3.4 EDGE 1 is the preferred method rgds Rainer
  16. 1 like
    I've written a simple Social Login that addresses the issues of how complicated these types of add-on's can be. No middlemen required - say goodbye to LoginRadius. * This is the easiest and friendliest social login contrib for osCommerce. * Written for maximum browser compatibility (IE7 to IE11, Chrome, Firefox and Opera) * Written for minimum changes to the base osCommerce files. * Written to make it super simple to integrate with osCommerce. 0 database changes 1 osCommerce file to modify with just 1 entry 1 configuration file to edit 3 different visual layouts 4 providers (Google, Facebook, LinkedIn, Microsoft) Less than 20 files in total No cURL No Javascript No HTML5 No Popups Just pure PHP with a little HTML Tested in 2.3.4 and 2.3.3 Demo: Add-on: Happy to modify for lower versions of osCommerce with the use of more settings options - just ask. Happy to add more providers - just ask. If you want to draw your own perhaps smaller provider buttons, please do so and send to me, i'll include them in the next version.
  17. 1 like
    @valquiria23 there is no difference, the change what mention from the last Edge version. you can change the code what you find it. BR Omar
  18. 1 like
    New update Now the ribbons (Out of stock Ribbon and Specials Ribbon) will work with multi language shop. BR Omar
  19. 1 like
    @valquiria23 here it is Out of Stock Ribbon For OsC2.3.4/BS BR Omar
  20. 1 like
    @jampjamp, As stated, without a look on your store, I have no more ideas what to check. Maybe it would be helpful to post a screenshot of an example product with special characters in the name and the produced URL.
  21. 1 like
    @jampjamp, just to be sure: did you reset the SEO URL cache after adding the special characters to the configuration list
  22. 1 like
    Sorry, I do not understand what exact you wants to say here. Otherwise, as far as I understand, all seems correct with your store and I can't see a reason that the SEO URL character conversion shouldn't work. Maybe it would be helpful to have a look on your store if it's public available. If you do not wish to public it here, you can send me a private message. rgds Rainer
  23. 1 like
    The setting: // charset for web pages and emails define('CHARSET', 'utf-8'); just tells the browser to render or decode your texts as utf-8. Another thing is that your texts (language files) are correct utf-8 encoded. The old polnish language files are for sure encoded in old ISO-xxxxx, not utf-8. You need first to make sure that your text editor uses utf-8, ( or by default or by changing the configuration setting) and then find a way to change the encoding, preserving that the special characters still show correct. To give more specific advice you need to tell us which text editor you are using. Another subject is the database encoding and the correct rendering of the category and product names in the SEO URLs which are extracted from the database, not from the language files. If you have converted the database tables to utf-8 encoding, check in PHP My Admin if the Category and Product names show correct the special characters in the correspondent tables. Sometimes if you did some conversions in your old 2.2MS database to use utf-8 encoding in your shop, the encoding may get corrupted. You must see in PHP my Admin all texts with special characters correct showing up. rgds Rainer
  24. 1 like
    No, that isn't necessary. Once the search engines are aware of the maps they will look at them automatically. Just be sure you have added them to your google and Bing webmaster accounts. But if you want to click on the links, it won't hurt anything.
  25. 1 like
    I just tried it in a new BS shop and it worked as expected. The shop only has English installed but that uses UTF for the charset so it shouldn't make a difference. The only thing I can think it may be is the php version your shop is running. The test site here is using 5.6.
  26. 1 like
    Let's have an open discussion on SEO and what is good, and what is not. I found this excellent blog post that has a great infographic. Have a read and then come back and let's get the best ideas plugged into the osCommerce core...
  27. 1 like
    Lazy load images to conserve bandwidth and make site faster for mobile, tablet, and desktop users. Just upload (won't overwrite any core files) and turn on header tag. Tested on 2.3.4BS but should work with previous versions. Any problems please post here.
  28. 1 like
    I'm not sure why that is, I will check on Tuesday when I'm back at work. Be patient
  29. 1 like
    Install EDGE. Sorts out some issues and adds in lots of other Good Stuff. After which: play with installing and configuring modules and header tags.
  30. 1 like
    Ahh OK, mobile friendly. Thanks I did make a few adjustments and it is now running faster.
  31. 1 like
    Hello @PiLLaO, Yes, sorry, the variables are defined in the main page file: function build() { global $oscTemplate, $mimemessage, $order, $payment, $products_ordered, $insert_id, $order_totals, $customer_id, $sendto, $billto, $language, $languages_id; if ($oscTemplate->_email_data['orders']['enable_osc_mail'] == 'True') { if (is_object($GLOBALS[$payment])) { $payment_class = $GLOBALS[$payment]; } // PWA guest checkout BEGIN $pwa_text = null; $products_review_links_html = null; $products_review_links_text = null; if(tep_session_is_registered('customer_is_guest')) { $pwa_text .= constant('MODULE_CONTENT_PWA_EMAIL_WARNING_' . strtoupper($language)) . "\n\n"; if($order->content_type != 'physical') { $pwa_text .= constant('MODULE_CONTENT_PWA_DOWNLOAD_' . strtoupper($language)) . "\n"; } $reviews_key = tep_create_random_value(12); tep_db_query("update orders set reviews_key = '" . $reviews_key . "' where customers_id = '" . (int)$customer_id . "' and orders_id = '" . (int)$insert_id . "'"); if(MODULE_CONTENT_PWA_LOGIN_CHECKOUT_GUEST_REVIEW_LINKS == 'True') { for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { $product_check_query = tep_db_query("select count(*) as total from products p, products_description pd where p.products_status = '1' and p.products_quantity > '0' and p.products_id = '" . tep_get_prid($order->products[$i]['id']) . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); if ($product_check['total'] > 0) { $products_review_links_html .= '<a href="' . tep_href_link('product_reviews_write_pwa.php', 'products_id=' . tep_get_prid($order->products[$i]['id']) . '&pwa_id=' . $reviews_key, 'SSL', false) . '">' . $order->products[$i]['name'] . '</a>' . "\n"; $products_review_links_text .= tep_href_link('product_reviews_write_pwa.php', 'products_id=' . tep_get_prid($order->products[$i]['id']) . '&pwa_id=' . $reviews_key, 'SSL', false) . "\n"; } } } } elseif (MODULE_CONTENT_PWA_LOGIN_CHECKOUT_REGISTERED_REVIEW_LINKS == 'True') { for ($i=0, $n=sizeof($order->products); $i<$n; $i++) { $product_check_query = tep_db_query("select count(*) as total from products p, products_description pd where p.products_status = '1' and p.products_quantity > '0' and p.products_id = '" . tep_get_prid($order->products[$i]['id']) . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); if ($product_check['total'] > 0) { $products_review_links_html .= '<a href="' . tep_href_link('product_reviews_write.php', 'products_id=' . tep_get_prid($order->products[$i]['id']), 'SSL', false) . '">' . $order->products[$i]['name'] . '</a>' . "\n"; $products_review_links_text .= tep_href_link('product_reviews_write.php', 'products_id=' . tep_get_prid($order->products[$i]['id']), 'SSL', false) . "\n"; } } } // PWA guest checkout END $set_passw_url = tep_href_link('ext/modules/content/account/set_password.php', '', 'SSL'); It's an excample from my store, you need to revise and maybe adapt it for your needs. Rainer
  32. 1 like
    i agree with Jack_mcs The best solution is the osC 2.3.4 Bootstrap Responsive. All other stuff is nonsens.
  33. 1 like
    That isn't the recommended thing to do. You need to jump right to the Bootstrap version. See this thread for how to do that. The reason you need to do this is two-fold: 1 - It is the only version that is mobile-ready, which is a must nowadays. 2 - There's no easy upgrade from the version you are working towards and the Bootstrap version so after all of your work, the site will still not be mobile-ready.
  34. 1 like
    @raiwa Addon has been updated to v1.5, thank you. I tested this and it really gives you the flexibility to do what ever you like with the Options Images. That Option Values step is a very useful improvement. Again thank you.
  35. 1 like
    @Tsimi , I have another gift for you and the community. Finishing the option image support for QTPro, I found that there may be many occasions where the same option image and option value should be used for many different products. Best example: color samples like your included sample images. This means adding the same image to many, maybe hundreds of products via products attributes. So I added the image sopport to Option Values. Add the color sample once to the option value, and it will show on each product where the value is used, no need to upload the image to each product. The main changes are in admin/products_attributes. All are commented with "option values images". I also added the possibility to add an option image at the bottom of products attributes, when a attribute is assigned to a product (I believe this was missing). There is a minor mod in the cm_pi_options_images.php template. It looks first if a option image exists in the products_attributes table, if yes, this one is used, otherwise it looks in the products_options_values table and uses that one if exists. So a generic option value image can be overwritten by a product attribute option image for a concrete product. I updated already the 1.5 package, all files should be ok, but please, double check before uploading. The instructions need to be updated !! Hope you like it. Jim @kymation, of course if you like, use the update also for your modular product info version. rgds Rainer PS: Would be great to get the options image supported by Attribute Manager. But this is another (big) job.s Options Images BS v1.5 by
  36. 1 like
    Ahh OK, thanks for the explanation. I thought I had a lot of work to do all of a sudden. :)
  37. 1 like
  38. 1 like
    Hello @Tsimi , hello @kymation, Sorry for the slow dropping suggestions. Working on the QTPro option image integration, I found that there is no option to avoid dropping the "option_image" and "sort_order" columns when uninstalling the product info options images content module. I needed this option for the QTPro integration and here is the result: Uninstall Removes Database entries Do you want to remove the options images database column in the products_attributes table when uninstall the module? All your existing options images entries will be lost, use this option only it you are sure that you will not use options images any more. True False public function install() { tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ( 'Module Version', 'MODULE_CONTENT_PRODUCT_INFO_OPTIONS_IMAGES_VERSION', '" . $this->version . "', 'The version of this module that you are running', '6', '0', 'tep_cfg_disabled(', now() ) "); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Enable Options Images Module', 'MODULE_CONTENT_PRODUCT_INFO_OPTIONS_IMAGES_STATUS', 'True', 'Should the product options with images block be shown on the product info page?', '6', '1', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, date_added) values ('Sort Order', 'MODULE_CONTENT_PRODUCT_INFO_OPTIONS_IMAGES_SORT_ORDER', '60', 'Sort order of display. Lowest is displayed first.', '6', '2', now())"); tep_db_query("insert into configuration (configuration_title, configuration_key, configuration_value, configuration_description, configuration_group_id, sort_order, set_function, date_added) values ('Uninstall Removes Database entries', 'MODULE_CONTENT_PRODUCT_INFO_OPTIONS_IMAGES_REMOVE_DATA', 'False', 'Do you want to remove the options images database column in the products_attributes table when uninstall the module? All your existing options images entries will be lost, use this option only it you are sure that you will not use options images any more.', '6', '3', 'tep_cfg_select_option(array(\'True\', \'False\'), ', now())"); // ADDED FIELDS if (tep_db_num_rows(tep_db_query("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='". DB_DATABASE . "' AND TABLE_NAME='products_attributes' AND COLUMN_NAME LIKE 'option_image'")) != 1 ) { tep_db_query("AlTER TABLE products_attributes ADD option_image varchar(127) NULL default NULL"); tep_db_query("ALTER TABLE products_attributes ADD sort_order int(11) NOT NULL default 0"); } } public function remove() { tep_db_query("delete from configuration where configuration_key in ('" . implode("', '", $this->keys()) . "')"); // DELETE ADDED FIELDS if ( defined('MODULE_CONTENT_PRODUCT_INFO_OPTIONS_IMAGES_REMOVE_DATA') && MODULE_CONTENT_PRODUCT_INFO_OPTIONS_IMAGES_REMOVE_DATA == 'True' ) { tep_db_query("ALTER TABLE products_attributes DROP COLUMN option_image"); tep_db_query("ALTER TABLE products_attributes DROP COLUMN sort_order"); } } Please use the modified attached file for your convenience and add it to your packages if you like. rgds Rainer cm_pi_options_images.php
  39. 1 like
    That add-on is for managing existing oscommerce cache files. You are probably looking for something more like this:
  40. 1 like
    if you have 300 of those, I'm guessing you are building your category tree and not using the category tree class to generate some kind of menu or display of categories on the home page ?
  41. 1 like
    Do the c.categories_id and cd.categories_id columns have an index on them in your database?
  42. 1 like
    Logging in on our main website should now work again. The auto-login and account creation process is still being worked on.
  43. 1 like
  44. 1 like
    @@Dan Cole It's ok, I found the way to have correct calculating of "ot_total_ht" value ($order->info['total_ht']). In "edit_orders.php" and "edit_order_ajax.php" files, add these new occurences between -> // Add ot_total_ht : if ($ot_title != '') { //7 // Add ot_total_ht if ($order_totals[$i]['code'] != 'ot_total_ht') { // Add ot_total_ht $new_order_totals[] = array('title' => $ot_title, 'text' => (($ot_class != 'ot_total') ? $order_totals[$i]['text'] : '<b>' . $currencies->format($order->info['total'], true, $order->info['currency'], $order->info['currency_value']) . '</b>'), 'value' => (($order_totals[$i]['code'] != 'ot_total') ? $order_totals[$i]['value'] : $order->info['total']), 'code' => $order_totals[$i]['code'], // 'sort_order' => $j); 'sort_order' => ((array_key_exists($order_totals[$i]['code'], $sort_order)) ? $sort_order[$order_totals[$i]['code']] : $j)); // Add ot_total_ht } else { $new_order_totals[] = array('title' => $ot_title, 'text' => $currencies->format($order->info['total_ht'], true, $order->info['currency'], $order->info['currency_value']), 'value' => $order->info['total_ht'], 'code' => 'ot_total_ht', // 'sort_order' => $j); 'sort_order' => ((array_key_exists($order_totals[$i]['code'], $sort_order)) ? $sort_order[$order_totals[$i]['code']] : $j)); } // Add ot_total_ht $written_ot_totals_array[] = $ot_class; $written_ot_titles_array[] = $ot_title; $j++; } else { //within 7 And a little lower : $new_order_totals[] = array('title' => $ot_title, 'text' => $currencies->format($ot_value, true, $order->info['currency'], $order->info['currency_value']), 'value' => $ot_value, // Add ot_discount // 'code' => 'ot_custom_' . $j, 'code' => 'ot_discount', // Add ot_discount // 'sort_order' => $j); 'sort_order' => ((array_key_exists($order_totals[$i]['code'], $sort_order)) ? $sort_order[$order_totals[$i]['code']] : $j)); $order->info['total'] += $ot_value; // Add ot_total_ht reset($order->info['tax_groups']); while (list($key, $value) = each($order->info['tax_groups'])) { if ($value != '') { $order->info['total_ht'] -= $tax_to_add - $ot_value; } else { $order->info['total_ht'] += $ot_value; } } // Add ot_total_ht $written_ot_totals_array[] = $ot_class; $written_ot_titles_array[] = $ot_title; $j++; } //end 3 Now "ot_total_ht" class is fully supported under Order Editor. :thumbsup:
  45. 1 like
    Gwenn....I'm attaching my modified edit_orders_ajax.php file which I hope will be of some help to you....I was able to adjust the $order->info['total'] like this... // Add tax to ot_custom bof - used to adjust the order total if ($order_totals[$i]['code'] == 'ot_total') { if ($tax_to_add < 0) { $order->info['total'] = (($order_totals[$i]['value'] += $tax_to_add) + $coupon_value); } $order_totals[$i]['text'] = $currencies->format($order_totals[$i]['value'], true, $order->info['currency'], $order->info['currency_value']); } // Add tax to ot_custom eof The $coupon_value is set a little further on in the code but I don't think you'll need to do that depending on what exactly it is that you are adding to the $order->info['total']. Dan
  46. 1 like
    For he speed, that is lower than it should be but in my testing google's speed results is always lower than a site like gtmetrix, even though they both use google PageSpeed program, as far as I know. If you test it on gtmetrix, they show explanations and, for some things, replacements you can use. By moving the js and css to the bottom of the code, in general, it prevents it from running until the page loads and that can speed it up. It is one of the lessor considerations, in my experience. I would try other things first, like browser caching and an image thumbnailer, if you haven't already. For the images, google doesn't gain access to the images directory. They just provide a link to the image, which is already available on the site. As you probably know, if someone wanted to still your images they can do that from your site as easily as they do on google. Having the search engines follow the images can be helpful with SEO as long as the images have alt test that refers to the page the image is linking to, which they do automatically in oscommerce. But, when possible, the alt tag should be a keyword. So an image going to the red widget product should have alt text of "red widget" not img_12drt, or some such name. So, if anything, having the images listed could help with SEO. You may want to check this article also. So I don't suggest blocking them. In my next release of Header Tags SEO there is a new page for models. I included the image for this very reason. The search engines will follow the image and the text, if linked, but they give more importance to the image link.
  47. 1 like
    How about telling us what you did, so the next person with the same problem can find the answer. Regards Jim
  48. 1 like
  49. 1 like
    @@greasemonkey I'm developer, building a new shop. Several months ago, I started building from gBurton/Responsive-osCommerce. Now @@burt told me that this project is stalled [link and chatting]. I feel disorientated now, analyzing what path should I take. I think that @@spidometrs post it's not the best mood to ask from, then I understand your answer mood. But as a osc developer, I wish to have, please, a clearest as possible idea of what's the developments situation, a minimal guide to decide what osc version should I take as root for me. I love the @@burt post "2.3.4, Gold, Edge, 2.4", but it seems that the situation has changed from March, and I don't see a new post like this one. I have seen several asnwers as yours, in wich there's a short negation, but no indication. You say "If you don like the direction"... but I don't know the direction! :D If I search in the forum and github, I see developers collaborating in severals paths, I don't know to get a clear idea, sorry :( . Of course, there are: osCommerce/oscommerce2 tag 2.3.4. Ready to production, but too much different to master branch: If I build over 2.3.4 I'll have to make too much effort upgrading to next release/tag. Morover, it's not responsive and I need responsive. oscResposive tag GOLD, indicated to production and responsive, great. But again: too much different to master oscommerce2. EDGE version it's not updated with oscommerce2 master improvements, the project is stalled. From my full-of-ignorance point of view, I gather that the correct path in order to... - have responsive design - have new modularizations and new OSC classes .. it's to take the master branch of oscommerce/oscommerce2: it correct? Considering that I'm developer, is this brache ready to use it in production? I apologize if you read again about the same problematic questions, but I think it's simple to resolve for ever, as Burt post did in the past. Thanks a lot for your patience and excuse me for my poor English. I wish to start developing new modules and collaborating on core project just when I know the start point. :thumbsup:
  50. 1 like
    When can we see 2.3.4? I know you are doing osCommerce in your spare time and you are doing a great job! The reason I ask is because I am moving two more stores to osCommerce and want to know if it is worth waiting for 2.3.4 or just stick with current version and buy responsive template. Thanks, Rudolf P.S. How does one gets involved with development of osCommerce? I may be able to help.