Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

papagino

Pioneers
  • Posts

    20
  • Joined

  • Last visited

Profile Information

  • Real Name
    Dan
  • Gender
    Male
  • Location
    Canada

papagino's Achievements

  1. Hi, I have PayPal express checkout on my site and everything worked fine before installing Header Tags SEO for osc 2.3.1. Now, whenever you checkout and click on the "Continue" button from the "Review your information" of PayPal checkout page, it goes back to the login page of my website (with no transaction registered or completed). If I go in OSCommerce 2.3.1 in "Configurations" then "SEO URLs" and set "SEO URLs" to False, the problem goes away. Can anyone tells why this happens and to fix this problem? Cheers Dan
  2. Thanks Jack, everything seems fine on the english language side of my site over here and that is what is important. I will look into it furher and let you know if I find something. Keep up the good work. cheers Dan
  3. I just notice then when you do a mouseover on the problem links, it is showing ok on the status bar toolbar but it isn't showing the "i" on the address bar?
  4. Yep it is there and it is working for everything other than the links included in the "Catégories" box on the French site. Here are some working links: http://www.miraxsupplements.com/quest-ce-quest-largent-colloidal-pm-4.html or http://www.miraxsupplements.com/argent-colloidal-15ppm-100ml-avec-vaporisateur-p-35.html and here the two problem links inside the Categories" box: http://www.miraxsupplements.com/argent-collodal-10ppm-c-24.html and http://www.miraxsupplements.com/argent-collodal-15ppm-c-25.html Notice how the " ï " in the word "colloïdal was not replaced by colloidal but by collodal. If you go on the website http://www.miraxsupplements.com and click to get the French site on the right hand side Languages options, then click on one of the "Categories" links on the left, you we see the problem. Weird! Any ideas what is causing this? Cheers Dan
  5. Whoohoooo... That did it.. ;o) Thank you Jack, changing RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING} To RewriteRule ^(.*)-pm-([0-9]+).html$ extra_info_pages.php?pages_id=$2&%{QUERY_STRING} in the htaccess file got "Extra pages-info box" contribution work with "Ultimate SEO V 2.2d". I still have problem with the special character " ï " to be replaced with " i " when loading a page from the French site "Catégories" box though... Here is a link to the problem page for you to see: http://www.miraxsupplements.com/argent-collodal-10ppm-c-24.html Will try to figure it out.. Cheers Dan
  6. Here is the code for the extra_info_pages.php file: <?php /* $infopageid: extra_info_pages.php, v4.50 2003/06/05 23:26:22 hpdl Exp $ contribution is : Extra pages-info box w- admin http://www.oscommerce.com/community/contributions,2021 osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); $infopageid = (int)$HTTP_GET_VARS['pages_id']; $page_query = tep_db_query("select p.pages_id, p.status, s.pages_title, s.pages_html_text from " . TABLE_PAGES . " p LEFT JOIN " .TABLE_PAGES_DESCRIPTION . " s on p.pages_id = s.pages_id where s.language_id = '" . (int)$languages_id . "' and p.pages_id = $infopageid"); $page_check = tep_db_fetch_array($page_query); $breadcrumb->add($page_check[pages_title], tep_href_link('info_pages.php?pages_id=' . $infopageid)); require(DIR_WS_INCLUDES . 'template_top.php'); ?> <table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="pageHeading"><?php echo $page_check[pages_title]; ?></td> </tr> </table></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main"><?php echo stripslashes("$page_check[pages_html_text]"); ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="1" cellpadding="2"> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><div class="buttonSet"> <span class="buttonAction"><?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e', tep_href_link(FILENAME_DEFAULT)); ?></span> </div> </td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table></td> </tr> </table> <?php require(DIR_WS_INCLUDES . 'template_bottom.php'); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Just in case that may help... Dan Thanks
  7. Thanks for your reply Jack, when accessing pages on my website from the "Extra pages-info box" contribution, the URLs that appear on the browser are as follow: mywebsite/extra_info_pages.php?pages_id=4 mywebsite/extra_info_pages.php?pages_id=6 mywebsite/extra_info_pages.php?pages_id=5 ... Would there be a way for "Ultimate SEO V 2.2d" to parse data from the title used in the "Extra pages-info box" contribution? (The extra_info_pages.php file is also located in the same directory as the index.php file...) Something like adding a line to the .htaccess file for example: RewriteRule ^(.*)-p-(.*).html$ extra_info_pages.php?pages_id=4=$2&%{QUERY_TITLE} or whatever. Any ideas on I could accomplish this? Cheers Dan
  8. Hi, i have installed "Header Tags SEO" along with "Ultimate SEO V 2.2d" on OSC 2.3.1 and everything seems fine except for what is included on the Extra pages-info box ADDON (extra_info_pages.php) that is giving me an: Not Found The requested URL /info_pages.php was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Did anyone got the Ultimate SEO V 2.2d to work when accessing a page that is in the Extra pages-info box ADDON? * I not sure what to add to the .htaccess file to have "Ultimate SEO V 2.2d" modify the URL for the "extra_info_pages.php" (not in the list). Anyway, here is what I have in my .htaccess file: # $Id$ # # This is used with Apache WebServers # # For this to work, you must include the parameter 'Options' to # the AllowOverride configuration # # Example: # # <Directory "/usr/local/apache/htdocs"> # AllowOverride Options # </Directory> # # 'All' with also work. (This configuration is in the # apache/conf/httpd.conf file) # The following makes adjustments to the SSL protocol for Internet # Explorer browsers #<IfModule mod_setenvif.c> # <IfDefine SSL> # SetEnvIf User-Agent ".*MSIE.*" \ # nokeepalive ssl-unclean-shutdown \ # downgrade-1.0 force-response-1.0 # </IfDefine> #</IfModule> # If Search Engine Friendly URLs do not work, try enabling the # following Apache configuration parameter # AcceptPathInfo On # Fix certain PHP values # (commented out by default to prevent errors occuring on certain # servers) # php_value session.use_trans_sid 0 # php_value register_globals 1 # Begin Ultimate SEO V2.2d # For security reasons, Option followsymlinks cannot be overridden. #Options +FollowSymLinks Options +SymLinksIfOwnerMatch RewriteEngine On # RewriteBase instructions # Change RewriteBase dependent on how your shop is accessed as below. # http://www.mysite.com = RewriteBase / # http://www.mysite.com/catalog/ = RewriteBase /catalog/ # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/ # Change the following line using the instructions above RewriteBase / RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING} RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING} RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING} RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING} RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING} # End Ultimate SEO V2.2d Also, I have noticed that when adding a special character in the "Enter special character conversions" option, it is not being accomplished for links in the "Categories" box but is working fine in the product_info.php section. Is this a bug? Any help would be appreciate... Cheers Dan
  9. Thanks Jim, Is version 1.1 compatible with OSC 2.3.1? Also, how would I do the downgrade? Undo everything from the instructions or just upload the files for version 1.1? Thanks Dan
  10. Hi, I would like to know if there would be a way to change the code in Theme Switcher in order to have Google API references and let Google host the Jquery files. I am using a Shared SSL and the file size limit is around 100kb per files. If the files are to big, some of the objects or icons will not show up on my webpage. I know there is this mod on this post that you can do when not using Theme Switcher. http://www.css-oscommerce.com/cut-page-load-time-in-oscommerce-2-3-osc-to-css/ but the required code needing to be replaced are the one needed to be deleted by Theme Switcher: Needed to be deleted for Theme Switcher: <link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" /> <script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script> To have Google host Jquery: To replace the Jquery references in OSCommerce 2.3 open: includes/template_top.php replace: <script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script> with: <script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'; ?>"></script> <script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js'; ?>"></script> Any ideas on how to modify the code in Theme Switcher to have Google host the Jquery files? Cheers Dan
  11. Hi, I would like to know if there would be a way to change the code in Theme Switcher in order to have Google API references and let Google host the Jquery files. I am using a Shared SSL and the file size limit is around 100kb per files. If the files are to big, some of the objects or icons will not show up on my webpage. I know there is this mod on this post that you can do when not using Theme Switcher: http://www.css-oscommerce.com/cut-page-load-time-in-oscommerce-2-3-osc-to-css/ but the required code needing to be replaced are the one needed to be deleted by Theme Switcher: <link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" /> <script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script> To replace the Jquery references in OSCommerce 2.3 open: includes/template_top.php replace: <script type="text/javascript" src="ext/jquery/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script> with: <script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js'; ?>"></script> <script type="text/javascript" src="<?php echo (isset($_SERVER['HTTPS']) && (strtolower($_SERVER['HTTPS']) == 'on') ? 'https://' : 'http://') . 'ajax.googleapis.com/ajax/libs/jqueryui/1.8.6/jquery-ui.min.js'; ?>"></script> Any ideas on how to modify the code in Theme Switcher to have Google host the Jquery files? Cheers Dan
  12. Found a solution, Thanks to Matt... If you want to offer “Free Home Delivery” to customers from your City or nearby cities, here's what you do: Note that this shipping option will only be visible to customers from cities that you specify in Admin from the attached "store_pickup.zip" module. I use the MultiGeoZone shipping module as my primary shipping option. The "store_pickup.zip" shipping module is configured to work with ZIP codes and not cities, but this is easily fix with one line change in the spu.php file from the includes/modules/shipping folder. You change this line: if (MODULE_SHIPPING_SPU_ZIP == '' || !in_array($order->delivery['postcode'], $dept_allow)) return false; With this line: if (MODULE_SHIPPING_SPU_ZIP == '' || !in_array($order->delivery['city'], $dept_allow)) return false; Then you can easily change the language file from: <?php /* $Id: spu.php,v 1.3 2002/06/15 01:15:42 mbs Exp $ CONTRIB is Store Pickup Shipping Module (http://www.oscommerce.com/community/contributions,164) Created by Michael Halvorsen http://www.arachnia-web.com Copyright (c) 2002 Arachnia-web Development. Released under the GNU General Public License. May be used and modified without permission. */ define('MODULE_SHIPPING_SPU_TEXT_TITLE', 'Store Pickup<br />'); define('MODULE_SHIPPING_SPU_TEXT_DESCRIPTION', 'Store Pickup.'); define('MODULE_SHIPPING_SPU_TEXT_WAY', '<b>Please allow 2 days processing time</b>'); ?> To something like this: <?php /* $Id: spu.php,v 1.3 2002/06/15 01:15:42 mbs Exp $ CONTRIB is Store Pickup Shipping Module (http://www.oscommerce.com/community/contributions,164) Created by Michael Halvorsen http://www.arachnia-web.com Copyright (c) 2002 Arachnia-web Development. Released under the GNU General Public License. May be used and modified without permission. */ define('MODULE_SHIPPING_SPU_TEXT_TITLE', '*** Free Home Delivery ***<br />'); define('MODULE_SHIPPING_SPU_TEXT_DESCRIPTION', 'Free Home Delivery.'); define('MODULE_SHIPPING_SPU_TEXT_WAY', '<b>Congratulation!</b><br /> Home addresses in the <u>Your City or Cities</u> area qualify for<br /> <b>FREE Home Delivery.</b><br /> Please make sure you provide a valid telephone number. We will call you to arrange a delivery time and date. Thank you.'); ?> Or something like that... How it works is you install it in your admin like normal and then you add a list cities that you want to offer Home Delivery separated by commas. City1, City2, etc.... The module ONLY shows when the users shipping address has one of city you specify. Put spu.php in your includes/modules/shipping folder and then put the spu.php in the language folder into your includes/languages/english (or your language)/modules/shipping folder. This works great. Cheers Daniel store_pickup.zip
  13. Ok, here is what I am trying to accomplish, I have an online shop where I can ship my product to Canada and US. But what I want also is to have “Free Home Delivery” to customers in my City. I have installed and configured MultiGeoZone MultiTable Shipping module on my osc 2.3.1 and created zone for Canada and US. This is all working fine but what I cannot figure out is how to create and setup a zone for a “City” (Not for Province/State/Country...) Here is what I did so far: In my Admin, I went in “Locations / Taxes” then in “Zones” and created a special Zone as follow: Country Zone Code Canada My City HDM Then in “Tax Zones” I created 3 Tax Zones as follow: Shp: Canada Shp: Free Shipping Shp: United States: 48 In the folder “Shp: Free Shipping“ I inserted a tax zone for my City: Country Zone Canada My City Now in the "MultiGeoZone MultiTable" Shipping module, I have configured shipping with different rates for Canada and US and also configured the Geo Zone 3 “Shp: Free Shipping” as follow: Geo Zone 3 Table Method weight Geo Zone 3 Handling Fee 0 Geo Zone 3 Shipping Table 1 0:$0 Now when I create a fake client with a fake address using my City in the address and make a purchase, it will show the shipping rate included in “Shp: Canada” zone and not in “Shp: Free Shipping” zone? Why is this? Is it because the module is unable to parse data from the “City:” field but only from “State/Province” or “Country:” field? I know it can be done but have spent hours reading on this forum and can’t find anything that gives a clear explanation on how to get this working. Please Help Cheers Daniel
  14. In case you are still looking for this solution, it was posted on another post but here it is: Whoever wants to get rid of the guest checking out option with paypal express without loosing the payment option in later checkout do the following: (Always backup your file before making any changes to it...) delete from >catalog >shopping_cart.php <?php $initialize_checkout_methods = $payment_modules->checkout_initialization_method(); if (!empty($initialize_checkout_methods)) { ?> <p align="right" style="clear: both; padding: 15px 50px 0 0;"><?php echo TEXT_ALTERNATIVE_CHECKOUT_METHODS; ?></p> <?php reset($initialize_checkout_methods); while (list(, $value) = each($initialize_checkout_methods)) { ?> <p align="right"><?php echo $value; ?></p> <?php } } ?> Cheers Dan
×
×
  • Create New...