Results 1 to 2 of 2
  1. #1
    Join Date
    May 2009
    Posts
    3
    Plugin Contributions
    0

    Default Large Image Popup Problem

    Hello, I'm still finding my way with zen cart and I hope somebody can help me with the following problem:

    I've set up a new product type, which all seems to work fine, however when I click on the larger image link on the product info page I get a javascript error as follows:

    Webpage error details

    User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 2.0.50727; .NET CLR 1.1.4322; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
    Timestamp: Mon, 17 Aug 2009 23:59:46 UTC


    Message: Object expected
    Line: 1
    Char: 1
    Code: 0
    URI: http://rowletts.co.uk/index.php?main...&products_id=6

    This only happens with my new product type - if I manually set the product type of exactly the same product to 1 (general) then the larger image link works fine, so I know it's not a problem with the image file.

    I think that I must have missed something significant when setting up my new product type. Can anybody offer any suggestions as to what might be happening? Any help would be very much appreciated.

  2. #2
    Join Date
    May 2009
    Posts
    3
    Plugin Contributions
    0

    Default Re: Large Image Popup Problem

    I've finally managed to track down the problem!

    I hadn't copied the following file

    /includes/modules/pages/product_info/jscript_main.php

    and put it into my corresponding new product type folder:

    /includes/modules/pages/product_jewellery_info

    (or rather I had, but then I hadn't uploaded it to my webserver!):

    This meant that the product info page for my new jewellery product type didn't have a definition for the popupWindow javascript function, so it didn't work.

    All is fine now.

 

 

Similar Threads

  1. large image popup size and cutting image
    By keneso in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 13 Dec 2015, 01:57 PM
  2. Larer image popup is medium image not large image
    By xtracool in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 13 Mar 2009, 10:21 AM

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