Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2006
    Posts
    31
    Plugin Contributions
    0

    Default Can ZenCart still be used if JavaScript is disabled?

    I know ZenCart currently uses a little JavaScript in parts e.g. the popup window for larger images in the product info display. If a customer's browser has JavaScript disabled is ZenCart still usable to the point of being able to make a purchase, even if some functionality e.g. the popup windows is disabled?

    I am thinking of including some custom JavaScript into my site but am wondering whether I would lose any business from customers who have JavaScript disabled. If ZenCart requires it enabled to work in the first place I've got nothing to lose by including it...

    Cheers.

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Can ZenCart still be used if JavaScript is disabled?

    ZC has built-in allowances for js being disabled. Look at the code, e.g. in tpl_modules_main_product_image.php, and note the <noscript> tags. If you use those for alternate handling when js is off, your users won't be inconvenienced.

  3. #3
    Join Date
    Feb 2006
    Posts
    31
    Plugin Contributions
    0

    Default Re: Can ZenCart still be used if JavaScript is disabled?

    Some thought last night led me to the exact same conclusion in regards to ensuring my code has alternate handling for non-js enabled users. Javascript users get the bells and whistles and non-Javascript enabled browsers can still use the site, albeit minus some features.

    At least now I know I'm not wasting my time doing that. Cheers gjh42.

 

 

Similar Threads

  1. Can Copyscape be used in Zencart?
    By beyre in forum General Questions
    Replies: 2
    Last Post: 30 Apr 2010, 06:55 PM
  2. Replies: 1
    Last Post: 22 Jan 2008, 10:41 PM
  3. Can ZenCart be used for this application
    By Tony4x4 in forum General Questions
    Replies: 4
    Last Post: 30 Apr 2007, 12:40 AM
  4. Can zencart be used to create this
    By lucianman in forum General Questions
    Replies: 4
    Last Post: 11 Oct 2006, 06:07 PM

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