Results 1 to 5 of 5
  1. #1

    Default Created a new product type, Images no longer work

    Hi There,

    I have created a new product type and for some reason now the image links do not seem to work. As you can see on the following page:

    http://kitchen-warehouse.com/index.p...&products_id=6

    When you click on the main image, it simply links back to /# whereas it should open a lightbox, also the additional images dont display.

    Whereas if you look at a link where I use the product general:

    http://kitchen-warehouse.com/index.p...products_id=89

    The image opens fine.

    What have I done wrong?!

    Thanks,
    Daniel

  2. #2

    Default Re: Created a new product type, Images no longer work

    Okay, So this is driving me nuts now.

    It doesn't seem to be the template file as I have swapped it out for the normal template file that is working, the images still dont show and the light-box still doesn't work

    No Additional images seem to be loading up.

    It seems to be something missing from when I have created the new product type I believe but I cannot be sure what!

  3. #3

    Default Re: Created a new product type, Images no longer work

    The additional images do seem to work actually, as seen here:
    http://kitchen-warehouse.com/index.p...roducts_id=123

    But they are displaying incorrectly. This must be something to do with the javascript? not loading correctly on that product types page? Again im not sure all im doing is guessing.

    Also not sure about posting one after another on the forums.

  4. #4
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Created a new product type, Images no longer work

    The template appears to be heavily built on say JavaScript or Ajax or something more than just HTML display code. Even the additional images of the "working" product had Uris like the new product type. Further there is more in display of additional images than just the tpl_product_info_default or related file. As for the light box, typically there is an additional JavaScript file that is loaded into the applicable includes/modules/pages folder or a sub folder of that. Check out the differences between includes/modules/pages/product and the directory for your new product type. There also may be an observer/notifier action missing from your template related files to know what to do when.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  5. #5

    Default Re: Created a new product type, Images no longer work

    The wonderful lat9 fixed my issue, the problem was:

    Essentially that template-specific module was loading the ElevateZoom processing on the product-info pages … that it knew about! The fix was changing the file /includes/modules/template/js_header.php in 3 places (each marked with //bof and //eof sections).

    Daniel

 

 

Similar Threads

  1. Replies: 0
    Last Post: 8 Dec 2011, 10:28 PM
  2. How to change product ID for new created product to the one that was deleted?
    By newproduct4you in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 7 Apr 2010, 06:16 PM
  3. need help with new product type for download images
    By ashishgandhi in forum Setting Up Categories, Products, Attributes
    Replies: 11
    Last Post: 19 Feb 2008, 10:18 AM
  4. help needed with new product type which allow images with different size to download
    By ashishgandhi in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 19 Feb 2008, 08:57 AM
  5. Product Images no longer being written to DB
    By Chinchilla2661 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 6 Nov 2007, 08:11 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