Page 5 of 16 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 159
  1. #41
    Join Date
    Jul 2010
    Location
    Tampa
    Posts
    35
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    Quote Originally Posted by gjh42 View Post
    You won't "stumble across a constant". If there are differences, you will see them in winmerge.
    Oh, Sorry. I'm still a little new to the eCommerce. I didn't bother even researching winmerge, before I replied. I guess I am a typical American at times. It looks pretty cool. I assumed it was for just comparing identical files, as there are no duplicate files in the two modules. This looks to be a great tool for examining module files before you install them. Don't know if I'll be able to wait till the weekend for this. Looks like I'll be up late the next few nights. Thanks again.

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

    Default Re: Attribute image replaces main product image on selecting attribute

    For examining single files, there is an even better tool: a file editing utility like Notepad++ (not Notepad). It's also free from Sourceforge, and it will read the file extension and give appropriate syntax highlighting so you can see the different kinds of elements in a statement (much like the PHP and HTML code boxes in the forum).

  3. #43
    Join Date
    Jul 2010
    Location
    Tampa
    Posts
    35
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    Quote Originally Posted by gjh42 View Post
    For examining single files, there is an even better tool: a file editing utility like Notepad++ (not Notepad). It's also free from Sourceforge, and it will read the file extension and give appropriate syntax highlighting so you can see the different kinds of elements in a statement (much like the PHP and HTML code boxes in the forum).
    COOL! Thanks again. I've been tasked with wedding invitations this weekend, so I'll probably have to put this off for a short while . I'll keep everyone updated as soon as I find a result, and hopefully a solution.

  4. #44
    Join Date
    Sep 2006
    Posts
    75
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    Hi All,

    I have been using Zen Lightbox, with ih2 happily for ages and they are all up to date.

    I want to integrate the 'attribute replaces main image' addon and am trying to get zen Lightbox to work in the same way it does with additional and main images.

    I think the file i need to alter is below where i have tried to copy the code from tpl_modules_main_product_image.php. I think my problem is with the java script. If i dont include the documment.write script part it returns the larger image fine. If i add as below (and in tpl_modules_main_product_image.php) The image is not there (or the ability to clisk it obviously)

    Code in file
    Code:
    ...
    <?php
    echo '<script language="javascript" type="text/javascript"><!--
    document.write(\'<a href="' . zen_lightbox('images/'.$attributes_image, $alt, LARGE_IMAGE_WIDTH, LARGE_IMAGE_HEIGHT) . '" rel="lightbox[gallery]" >' . $image . '<br /><span class="imgLink">' . zen_image('images/bigger_picture.jpg', 'larger image', '140', '44') . '</span></a>\')//--></script>';
    ?>
    ...

    HTML result

    HTML Code:
    <script language="javascript" type="text/javascript"><!--
    document.write('<a href="images/attributes/PMXA-67RS.png" rel="lightbox[gallery]" ><img src="bmz_cache/4/4f1f33407f5f2208814e35797be58f8f.image.145x200.png" alt="" width="145" height="200" /><br /><span class="imgLink"><img src="images/bigger_picture.jpg" alt="larger image" title=" larger image " width="100" height="100" /></span></a>')//-->
    </script>
    But no actual code to make it happen

    Any help is appreciated

  5. #45
    Join Date
    Jul 2010
    Location
    Findon, UK
    Posts
    90
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    Quote Originally Posted by Nineve View Post
    This ALMOST works.
    Was able to install it and getting working with v1.3.9d.
    However;
    1. It removes the attribute images from the page, you can then only see them if you select them one at a time from the drop down.

    2. Even though you can then click on the attribute it will bring up a window with the same size image. (It will not bring up a "larger" image)

    3. It does replace several files that may be "core", I'm not sure. i.e. options_name_manager.php


    This would be a highly desired mod if those issues could be addressed. Any of you coding guru's up to it?
    I have the same experience and find the add-on useless due to this.

  6. #46
    Join Date
    Jul 2010
    Location
    Tampa
    Posts
    35
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    LOL! I tried using winmerge and had know idea what I was looking for, or which file to replace or alter, if at all. The only two files that have the same name is the attribute.php file. Those two files are in two different directories. I think winmerge is more suited for comparing two files that are trying to accomplish the same task(s). I'm going to start looking for an alternative and report back my findings. If anyone else knows of how to update the displayed price upon selection of an attribute, PLEASE let us know. I'm truly baffled by the idea that this is not a preexisting function of zencart. I'm sure that one or more files for each module, is using one or more of the same core file(s). Maybe that's where the conflict is. I'll give notepad++ a try next. Maybe it can help me find which core file(s) these modules are both using.

  7. #47
    Join Date
    Nov 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    I know this hasn't been read for a long time but has anyone actually managed to get this working in 1.3.9h? Im desperately trying to get this working (using IH2 as well) and for the life of me, i cant seem to get the images to swap with a dropdown?

    Anyone? Please? HELLLLPPPPP!!!!!

  8. #48
    Join Date
    Nov 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    I am also using stock by attributes and dynamic dropdowns for stock with attributes......

    Really need to get this working asap... Please help!

  9. #49
    Join Date
    Jul 2010
    Location
    Tampa
    Posts
    35
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    Google "product attribute pictures"
    Nick is the guy you want to talk to. He was more than happy to help. I got everything I ask for and more. I regularly refer to what he provided me as, "Too damn useful not to have." He also offers customization to fit individual specifics.

  10. #50
    Join Date
    Nov 2010
    Posts
    16
    Plugin Contributions
    0

    Default Re: Attribute image replaces main product image on selecting attribute

    I had a chat with Nic, and as helpful as he was, the problem is that I'm no coder so whilst i do understand some php... his terminology and suggestions wont help

    The other problem is that he only really does things when he is paid to do so, and as a result he doesn't use this contribution, he doesn't even know much about it.

    If there is anyone out there who can try help me without charging me for it, I'd really appreciate it.

 

 
Page 5 of 16 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. Attribute image replaces main image but only pop up larger image
    By welchyboy in forum Setting Up Categories, Products, Attributes
    Replies: 15
    Last Post: 26 Nov 2010, 11:56 PM
  2. Replies: 0
    Last Post: 7 Oct 2009, 07:11 PM
  3. Replies: 0
    Last Post: 16 Jul 2009, 06:07 AM
  4. Replies: 1
    Last Post: 5 Oct 2008, 11:45 PM
  5. Attribute image replaces main product image on selecting attribute
    By pegog in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 19 Jun 2008, 07:29 AM

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