Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Product Description On Mobile

    Hi,

    I have been running my v.158 site for awhile now (over 1 1/2 years) and all works very well in desktop. I have used the responsive_classic files when altering to customize my site (adding modules, etc.) and all was working fine.....but now when you go into a product in mobile, it displays all of my Categories first, the product image and additional images....and then nothing. No product description, no add to cart or basically anything after the additional images.

    I had added a cookies compliant code to now be compliant with the new EU rules, etc. is the only change I've made. It is only 1 line of <style> code in the html_header file

    I have compared my custom vs. responsive_classic files of html_header, tpl_productinfo and tpl_main page and the only differences are small things like Google Analytics, Google Tag and Cross Sell Module which were always there since I upgraded to v.1.5.8 just over 1 1/2 years ago.

    As I have no Debug log files showing any errors at all....I am at a loss as to what file to look at to insure that the rest of the page and add to cart shows when in the product info page. I am hoping that someone could point me in the right direction.

    My site it nitwitcollections.com

    Thanks in advance for any help you can offer,

    Jeff

  2. #2
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    251
    Plugin Contributions
    4

    Default Re: Product Description On Mobile

    I had similar issues a while back, but this was due to the delivery date plugin and the issue was specifically caused by the presence of (an old version) of the mootools library.

    I'm not an expert on this side of things, but my gut feeling is something in jscript is unhappy.

    I would recommend moving to the bootstrap template because it is far more robust than recursive classic and may solve your issue - it nearly did for me with the mootools situation.

    You won't see any log file errors because it is not php that is failing - it is the generation of slightly faulty html and/or jscript that is causing the issue.

  3. #3
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Product Description On Mobile

    Thanks for your reply royaldave and for pointing me to the jscript files! I will compare all of the jscript files that load to see what's different from my files vs. stock cart in bootstrap.

    I saw that it did load modules/pages/productinfo and I have compared all of these without any differences.

    Thanks again for pointing me in this direction.....I will check it out!

  4. #4
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Product Description On Mobile

    Have now gone through and compared all jscript files in my custom/templates/jscript folder and there are no differences against stock Zen Cart files and stock plug in files. Have even downloaded a fresh copy of Zen Cart to compare my jscript files from to insure I have not mistakenly altered originals in my local copy. I have also double checked that all jscript files are present.....to insure I had not deleted a needed file.

    I have also used Inspector in Firefox to see what jscript files are run when I click on a product and have double checked that all of these files that are called have code that matches the original Zen Cart version.....and all checks out.

    Could the cookies script that runs my cookies preferences be causing this? It retains a small cookies icon in the lower left of every page so people can change their preferences at any time. I see it on my desktop version but not in my mobile version....just a thought question?

    Thanks again for any help to point in a right direction....

  5. #5
    Join Date
    Oct 2009
    Posts
    425
    Plugin Contributions
    0

    Default Re: Product Description On Mobile

    As an update in case anyone else is having this issue....I found the problem and it was the cookies consent script.

    With the new cookies consent that needs to be on our sites (if you sell worldwide), I installed the one from Enzuzo. We were unaware of that this script broke the mobile version of our Zen Cart site until a couple of weeks after putting it on our site. It was only when a customer emailed about it that it highlighted it to us. I thought I had inadvertently mis-altered a file when installing the script...and it started a long and fruitless task of comparing all of my custom files against the stock cart files.

    I did not find the answer until I had exhausted all file comparisons....and then went back to start. I changed the settings on the cookies plugin to allow all cookies without change...and finally just tried deleting the script all together....and miraculously our site worked perfectly in mobile. I emailed Enzuzo about this....no reply.

    I have since migrated to another cookies script which works perfectly in all modes.

    Just thought I'd post this in case someone else had this issue...or was using the Enzuzo cookie script.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,356
    Plugin Contributions
    94

    Default Re: Product Description On Mobile

    Thanks for that update! It'll save folks time if they're in a similar situation.

 

 

Similar Threads

  1. v157 Product Description on Mobile
    By nicksab in forum General Questions
    Replies: 14
    Last Post: 4 Nov 2024, 01:33 AM
  2. Replies: 148
    Last Post: 18 Oct 2023, 12:08 PM
  3. v139h Short Description problems - no description on product list page
    By jgold723 in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Oct 2014, 05:52 AM
  4. v139h I bought a mobile template; how do I Mobile Device to Show Desktop version by Default
    By explorer1979 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 2 Mar 2013, 03:42 PM
  5. Add more info link to product listing description when description is truncated
    By MaureenT in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 16 Sep 2010, 05:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR