Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

phi148

Members
  • Posts

    273
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by phi148

  1. @@raiwa is there an easy way to wrap the text for the category names? Right now longer category names get cropped with "..." if they are too long. Thanks!
  2. So I've been using this module for 9 or so months now and I can't complain... it is serving my needs since I deal mostly with large freight. However, i have found one bug I was hoping someone could help me with. If a customer mistakenly types in an invalid zip code, after 1 minute freightquote times out and returns an error. This error is handled correctly in the freightquote.php module, however, with the error is passed back to checkout_shipping.php, it appears to simply call "tep_session_unregister('shipping'); At that point the checkout_shipping.php page is simply stuck. No error message to the customer letting them know they entered in an invalid zip code. SO... my question is this: 1) Is there a way to validate a zip code when entered? OR 2) Is there a way to handle this more gracefully and simply print a message to the screen letting the customer know what is going on? Any advice would be appreciated! Thanks!
  3. Thanks that is a good idea. I started to go down that road but hesitated. Here's why. I currently use the "FreightQuote.com" shipping module. However, this creates entries in the database where parameters like length, width, weight, height, freight class, etc.. get entered for each product. If I duplicate that module, I was afraid the database would get populated with a second set of the same parameters.... bloating the database and maybe breaking something. The module itself will add these database fields when you "install" the module... so I need to look closer at what will happen if I do this. I guess I could make a backup of my database and do a quick test during off hours... if it breaks something, reload the old database. Thanks for the info! Big help! :)
  4. Hello, We ship large items and sometimes customers would like the "Liftgate" option added on to their shipping. Is there an easy way (or an add-on) to add optional shipping features? Like a drop down box for "Liftgate" or other potential services? Thanks!
  5. @@raiwa Google webmaster tools is starting to report alot of errors on my mobile site. Here is the issue: On the non-mobile site, when viewing a category of products that contains multiple manufacturers, you can "filter" by manufacturer via a drop down box. When you do that, a URL is created similar to this: www.mysite.com/widget-category-c-14.html&filter_id=241&page=1&sort=1a On the mobile site, for the same exact page, this "filter" does not exist. Therefore, this URL is not being found and reports a 404 error: www.mysite.com/mobile/widget-category-mc-14.html&filter_id=241&page=1&sort=1a I assume they way to fix this is to also add a manufacturer filter like the non-mobile site has? Then the above link would be recognized? Thoughts?
  6. I've been using freightquote successfully for a few months now. If you show that you have a need for more than 100 quotes a month, they will up the limits. I'm a happy customer! The best part is its free :)
  7. Cool, anybody also implemented that alongside Multi Vendor Shipping (MVS) ?
  8. @@raiwa and all other users - Has anyone implemented a shipping estimator on the mobile platform? (To check freight costs prior to creating an account?) Thanks!
  9. Hi Rainer @@raiwa Let me clarify a little more. The problem is not with adding analytics to the mobile site. The problem is more with "adwords". For example, when you do a google search, and one of my paid ads appears, if you click on that paid ad it will direct you to www.mysite.com/gclid?=abc123 Which is fine if you are using a desktop/laptop PC. If you are using a mobile device, that link above should be redirected to: www.mysite.com/mobile/gclid?=abc123 What is happening instead is that you are simply redirected to www.mysite.com/mobile/ and you are losing the "Gclid?=abc123" part. Is there a way to retain that information in the URL on redirect to the mobile site? Thanks! Bill
  10. @@raiwa 2nd question :) In regards to google analytics, I saw this error: -------------- The Ad Destination URL http://www.mysite.com/ from the AdWords account [email protected] (xxx-xxx-xxxx):xxxxxxxxx has accrued a significant number of clicks but a lower-than-expected number of sessions from mobile clients because the page is dropping or altering the gclid parameter inserted by Google. Check the web server's redirect logic or its use of a URL rewrite engine to ensure the gclid parameter is preserved. For example, the Destination URL with autotagging is: www.example.com/redirecting-page?gclid=TeSter-123, when the redirect occurs it should forward the user to www.example.com/new-url?gclid=TeSter-123 (note here that the gclid parameter remains the same, although the page URL changes). ------------ I imagine this is happening because of the redirect to "www.mysite.com/mobile/" when that happens, the gclid is lost. Any ideas on how to preserve that?
  11. @@raiwa Just out of curiousity, for the "viewport" setting in /mobile/includes/header.php <meta name="viewport" content="width=320, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> Is there a reason why width is forced to 320 rather than width=device-width ? Thanks!
  12. First I wanted to say thinks for the great contrib! I just noticed the images on the products page do not have "alt" definitions. Is it possible I did something wrong? I'd like to make sure all my images have alt tags for SEO purposes. Thanks!
  13. For now I just did a quick fix, but I'm not sure it is the right way to do it. :) if ($defaultTags['meta_canonical']){ $new_mobile_url = str_replace('?redirectCancelled=true', '', $mobile_url); } if ($defaultTags['meta_canonical']) { echo (defined('MOBILE_SESSION')? html_entity_decode(str_replace($str_replace_from, $str_replace_to, (tep_not_null($canonical_url) ? ' <link rel="canonical" href="'.$canonical_url.'" />'. "\n" : ' <link rel="canonical" href="'.GetCanonicalURL().'" />'. "\n"))) : ( ' <link rel="alternate" media="only screen and (max-width: 640px)" href="'. $new_mobile_url .'" >'. "\n")); }
  14. Raiwa, would you know how to fix this? I think the code is here: /includes/header_tags.php if ($defaultTags['meta_canonical']) { echo (defined('MOBILE_SESSION')? html_entity_decode(str_replace($str_replace_from, $str_replace_to, (tep_not_null($canonical_url) ? ' <link rel="canonical" href="'.$canonical_url.'" />'. "\n" : ' <link rel="canonical" href="'.GetCanonicalURL().'" />'. "\n"))) : ( ' <link rel="alternate" media="only screen and (max-width: 640px)" href="'. $mobile_url .'" >'. "\n")); } $mobile_url is getting populated with the ?redirectCancelled=true Do you know where I could fix that at? Thanks!
  15. Gotcha, do you think the alternate tag should have the: ?redirectCancelled=true at the end, or should it be this instead? <link rel="alternate" media="only screen and (max-width: 640px)" href="http://www.mysite.com/mobile/" >
  16. @@raiwa and @@Jack_mcs In regards to meta names in the header for Header Tags SEO. I just want to verify that you feel this is accurate. I'd like to make sure my site is indexed correctly for both the non-mobile and mobile sites. My MOBILE header has: <meta name="Description" content="blah blah blah" /> <meta name="Keywords" content="blah blah blah" /> <meta name="googlebot" content="noindex, nofollow" /> <meta name="bingbot" content="noindex, nofollow" /> <meta name="slurp" content="noindex, nofollow" /> <meta name="robots" content="noodp" /> <meta name="robots" content="noydir" /> <link rel="canonical" href="http://www.mysite.com/" /> And the NON-MOBILE version: <meta name="Description" content="blah blah blah"> <meta name="Keywords" content="blah blah blah"> <meta name="googlebot-mobile" content="noindex, nofollow"> <meta name="MSNBOT_Mobile" content="noindex, nofollow"> <meta name="YahooSeeker/M1A1-R2D2" content="noindex, nofollow"> <meta name="robots" content="noodp"> <meta name="robots" content="noydir"> <link rel="alternate" media="only screen and (max-width: 640px)" href="http://www.mysite.com/mobile/?redirectCancelled=true" > Does that appear to be correct? I just get worried when I see "noindex, nofollow" and I want to make sure I'm getting crawled correctly. Thanks!! :)
  17. This worked better for me, so it doesn't show the "Authorize.net" status (or whatever payment module you use) for example to the customer: $statuses_query = tep_db_query("select os.orders_status_name, osh.date_added, osh.comments from " . TABLE_ORDERS_STATUS . " os, " . TABLE_ORDERS_STATUS_HISTORY . " osh where osh.orders_id = '" . (int)$HTTP_GET_VARS['order_id'] . "' and osh.orders_status_id = os.orders_status_id and os.language_id = '" . (int)$languages_id . "' and os.public_flag = '1' order by osh.date_added");
  18. Raiwa The only other error I'm aware of at this time is when ajax is enabled in the mobile configuration. When this is active, I noticed my images don't appear with any consistency. Especially on first page loads there is no image present. If I refresh the browser the image appears. Turning Ajax off remedies this problem as a quick fix. I am using KISS image thumbnailers as well (in case that is related). Thanks again for the awesome contribution! :)
  19. Ok I fixed it. 1) Change all instances of "catalog_mb" to "index" in .htaccess 2) Create a new file in includes\modules\ultimate_seo_urls5\page_modules\mobile called "index.php" 3) Make it a copy of "catalog_mb.php" and change class Catalog_Mb_Page_Module extends aPage_Modules { To: class Index_Page_Module extends aPage_Modules { and Change if ( !self::$_singleton instanceof Catalog_Mb_Page_Module ) { to if ( !self::$_singleton instanceof Index_Page_Module ) {
  20. Raiwa That change actually breaks SEO URLS 5. I've noticed that now the .htaccess rewrites are incorrect as they reference "catalog_mb.php" that no longer exists if I get rid of that file. I changed the .htaccess to "index.php" instead, but it appears there are still more changes needed. Can you help?
  21. Thanks Raiwa, yet again, awesome support. Everything seems to be working spot on. Just one more question. What would be the easiest way to either eliminate or redirect "home" to "store" ? I would really like customers to land on "catalog_mb" rather than "index.php" when going to : www.mysite.com/mobile I really have no need for the "home" as it does not list categories and forces the customer to click on "store" to start navigating the site.
  22. Thanks Raiwa You have a slight typo: $listing_sql .= " order by order by final_price desc"; should be: $listing_sql .= " order by final_price desc"; Also, how do I get the dropdown sort box to reflect this current status. Doing the change above works fine, however the sort dropdown box is now misleading as it defaults to: "Sorted by: Product Name" When in reality, on page load, it is sorted by price with the change you suggested. Thanks bill
  23. Raiwa Do you know how I can default the "sort" to be by price from low to high? Right now default sort is by Product Name. Thanks!
×
×
  • Create New...