Zen Cart Logo
Forums / All Other Contributions/Addons / AJAX IMAGE Swapper support thread

AJAX IMAGE Swapper support thread

Views: 172,483

Results 181 to 200 of 786
23 May 2008, 7:34 PM
#181
greydawgjr avatar

greydawgjr

New Zenner

Join Date:
May 2008
Posts:
65
Plugin Contributions:
0

AJAX IMAGE Swapper support thread

jaycode:

Let me know if its working (or not) :)

No luck, I haven't had a chance to dig into that section of code yet but on the demo site I did notice that under the Images-> Medium and Images -> Large directories you have a Product_with_attributes directory. I believe I have a duplicate directory structure to your demo after playing around with (and messing it up! I sent you 10 bucks for your trouble when I downloaded 3.1 btw :) )

Anyway is there any required directory structure under the images directory? Where is the Image Swapper writing the resized files to? And if the casing needs to be uniform could it be a problem if its attempting to append _MED or _LRG to the image file name? Maybe I'll try an uppercase file name and see if that works...

23 May 2008, 10:12 PM
#182
liliebrode avatar

liliebrode

New Zenner

Join Date:
Mar 2008
Posts:
16
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

greydawgjr:

The right side of the page is going to be blank until you select the Yes radio button under use attributes! Also, if you're on a fresh install of zen cart remember you will need to have your attributes built before you can select them...

Hello
I tried with 1 item, but with or without the Yes radio button selected, I always have the right side blank ( I created one attribute for this item )

But i thought it would works even if the yes button not selected ( description of image swapper : Ability to work with non-attribute products ). Have I misunderstood ?

24 May 2008, 4:46 AM
#183
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

alillowr:

I tried purchasing this module from your site in hopes that it will work for me because v3.0 is giving me problems and is unusable, but when I go to confirm the order, it will take me to paypal with the following error:

We are unable to complete your request at this time. Please click Retry or try again later. We apologize for the inconvenience.

Message 3004

Is it not downloadable at this time?

That must've been one of those rare times when paypal server's down. Could you try again?

24 May 2008, 4:57 AM
#184
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

liliebrode:

Hello
I tried with 1 item, but with or without the Yes radio button selected, I always have the right side blank ( I created one attribute for this item )

But i thought it would works even if the yes button not selected ( description of image swapper : Ability to work with non-attribute products ). Have I misunderstood ?

Yes, it should be working without you needing to click the yes button beforehand.

I bet $20 you haven't copied your mootools file into the admin area.:wink:

24 May 2008, 5:01 AM
#185
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

greydawgjr:

No luck, I haven't had a chance to dig into that section of code yet but on the demo site I did notice that under the Images-> Medium and Images -> Large directories you have a Product_with_attributes directory. I believe I have a duplicate directory structure to your demo after playing around with (and messing it up! I sent you 10 bucks for your trouble when I downloaded 3.1 btw :) )

Anyway is there any required directory structure under the images directory? Where is the Image Swapper writing the resized files to? And if the casing needs to be uniform could it be a problem if its attempting to append _MED or _LRG to the image file name? Maybe I'll try an uppercase file name and see if that works...

Thanks for the donation!

The directory structure used in AIS is the very same with what Zen-Cart is using, which made it compatible with IH2 at the same time.

This is an interesting case, could you pm me access to your site for me to look at it?

24 May 2008, 6:37 AM
#186
greydawgjr avatar

greydawgjr

New Zenner

Join Date:
May 2008
Posts:
65
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

liliebrode:

But i thought it would works even if the yes button not selected ( description of image swapper : Ability to work with non-attribute products ). Have I misunderstood ?

My mistake, I had never selected a product with the no radio button selected which is when it image upload box pops in... Sorry!

24 May 2008, 1:33 PM
#187
alillowr avatar

alillowr

New Zenner

Join Date:
Apr 2008
Posts:
32
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

jaycode:

That must've been one of those rare times when paypal server's down. Could you try again?

I was able to purchase the 3.1 version this time and downloaded it but I still have the same issue, this did not solve anything for me exept being a dollor shorter. (Im not complaining I know there is something that I must be doing wrong because it seems to work fine for a great number of people).

After following the install directions, the only place that I can see "ajax image swapper" in the zen admin is under configuration tab and nowhere else. I am in the impression that it should be in the catagory tab also.

I dont know what to do to troubleshoot this issue.

24 May 2008, 2:58 PM
#188
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

alillowr:

I was able to purchase the 3.1 version this time and downloaded it but I still have the same issue, this did not solve anything for me exept being a dollor shorter. (Im not complaining I know there is something that I must be doing wrong because it seems to work fine for a great number of people).

After following the install directions, the only place that I can see "ajax image swapper" in the zen admin is under configuration tab and nowhere else. I am in the impression that it should be in the catagory tab also.

I dont know what to do to troubleshoot this issue.

Thanks for your donation of $1 (you can actually set the value from 0 to 60 from the slider)

Yes it should also be under 'catalog'. my guess is you might have not really copied the folders inside zen_cart_folder to your root directory.

25 May 2008, 1:33 PM
#189
liliebrode avatar

liliebrode

New Zenner

Join Date:
Mar 2008
Posts:
16
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

jaycode:

Yes, it should be working without you needing to click the yes button beforehand.

I bet $20 you haven't copied your mootools file into the admin area.:wink:

Is it possible to know exactly in which directory to copy the mootools files ( and wich files are they )?
Sorry, but I'm not talented to do that... :huh:
Many thanks

26 May 2008, 1:30 AM
#190
alillowr avatar

alillowr

New Zenner

Join Date:
Apr 2008
Posts:
32
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

I have the ajax installed and working, well sort of. Here is my problem now...

I found a question for it in the faq but it did not help me:

Q: When I go to Admin->Catalog->Ajax Image Swapper Manager there appears to be a problem. No matter which Category I choose, the "Product Name" drop down never populates. It always says "Please select a category first". In addition, clicking on "Clean Up Now" appears to do nothing as well. (Maybe some Javascript is not being loaded?)

A: Have you checked whether you have php5.1 or later version running on your server?

I have php5.2 running now. Is there any other solutions?

26 May 2008, 4:38 AM
#191
greydawgjr avatar

greydawgjr

New Zenner

Join Date:
May 2008
Posts:
65
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

liliebrode:

Is it possible to know exactly in which directory to copy the mootools files ( and wich files are they )?
Sorry, but I'm not talented to do that... :huh:
Many thanks

I think what Jay is saying is:

  1. Go to your AJAX_image_swapper_v3.1.1 folder
  2. Find the directory called mootools_on_admin
  3. Inside that directory there is a directory called admin, inside admin there is a directory called includes, inside includes there is a directory called javascript.
  4. Inside javascript there is a file called mootools-release-1.11.js

Make sure that the mootools-release-1.11.js (along with the uncompressed folder if you wish) is indeed in your admin -> includes -> javascript directory on your site.

26 May 2008, 5:34 AM
#192
greydawgjr avatar

greydawgjr

New Zenner

Join Date:
May 2008
Posts:
65
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

alillowr:

I have php5.2 running now. Is there any other solutions?

I had that exact same problem on Friday, also on php 5.2, turns out I had missed one of the files I was supposed to copy. I wish I could tell you which file I had missed but I didn't think to write it down.

I've got 9 zen carts with 9 installations of AIS running on my local machine, every time it hasn't worked "out of the box" for me it has been a problem of a missing file or putting it in the wrong level. 99% of the difficulty I've had is simply because I'm installing from a local machine to a local machine instead of using an FTP client which wouldn't overwrite my directories, so I've had to copy and paste each file by hand, but as a result I've become intimately familiar with zen cart's and AIS's directory structure (and how easy it is to think you're inside one level when in fact you're inside another!) Zen cart has several directories called modules, two called includes, several called javascript, several called templates and so on and as it turns out AIS lives in all of these (but only works when it's in the right ones)!

(I should note that the read me says copy all the directories to the root of your zen cart installation, however in my experience you'll need to start at the files inside each parent directory. For example, don't place mootools_on_admin inside your site root, but start at the includes directory inside mootools_on_admin, and so on. Jay may correct me on this, but all the relative paths on the various includes and such do not map all the way out to the parent directories of the AIS folder.)

26 May 2008, 5:44 AM
#193
liliebrode avatar

liliebrode

New Zenner

Join Date:
Mar 2008
Posts:
16
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

greydawgjr:

I think what Jay is saying is:

  1. Go to your AJAX_image_swapper_v3.1.1 folder
  2. Find the directory called mootools_on_admin
  3. Inside that directory there is a directory called admin, inside admin there is a directory called includes, inside includes there is a directory called javascript.
  4. Inside javascript there is a file called mootools-release-1.11.js

Make sure that the mootools-release-1.11.js (along with the uncompressed folder if you wish) is indeed in your admin -> includes -> javascript directory on your site.

Many thanks... It works now !!!!!!!:clap:

26 May 2008, 5:59 AM
#194
greydawgjr avatar

greydawgjr

New Zenner

Join Date:
May 2008
Posts:
65
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

I've attached a zip file with the two versions of the tpl_product_info_display.php files that Jay talks about in the read me. One has _optionalremove appended to the file name so be sure to rename it if that is the file you wish to implement.

Hopefully these will make the install process a step easier for someone!

26 May 2008, 2:20 PM
#195
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

liliebrode:

Is it possible to know exactly in which directory to copy the mootools files ( and wich files are they )?
Sorry, but I'm not talented to do that... :huh:
Many thanks

Sorry that was a really geeky and quick answer, glad its answered now will put the answer to faq

26 May 2008, 2:47 PM
#196
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

greydawgjr:

I've attached a zip file with the two versions of the tpl_product_info_display.php files that Jay talks about in the read me. One has _optionalremove appended to the file name so be sure to rename it if that is the file you wish to implement.

Hopefully these will make the install process a step easier for someone!

Hey its great to have you around, thanks! :D

I've set up my rate for installation help, its $40 per site, fair enough right?
If you need quick help with installation just purchase another module with donating $40 or more and send me information on your ftp and admin access which you could put on comment area or drop me a message from either email, contact me page, or zen-cart private message.

PLEASE CHECK YOUR PHP VERSION FIRST - if the problem lies in your server I'd get the cash back to you minus $5.

Cheers!

26 May 2008, 5:19 PM
#197
greydawgjr avatar

greydawgjr

New Zenner

Join Date:
May 2008
Posts:
65
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

Does AIS support more than one attribute with images? For example, if I have an attribute #1 with a couple of choices and with several images associated with each things work fine. If I add a second attribute #2 with a couple of choices and several images associated with each, the product page will show only the images associated with the second attribute in the sort order. I can select back and forth between my choices for attribute #2 and the images will load for each, however selecting any choice in attribute #1 produces no result.

At this point I don't know if I'm doing something wrong or if AIS simply doesn't support anything past one attribute.

29 May 2008, 6:54 PM
#198
cat2 avatar

cat2

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Re: AJAX IMAGE Swapper support thread

I have three attributes dropdowns(style, color, size) and I want to display all the items for each dropdown in the AIS box, but it only shows the images for the first dropdown. How could I get this to work?

30 May 2008, 1:45 AM
#199
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

greydawgjr:

Does AIS support more than one attribute with images? For example, if I have an attribute #1 with a couple of choices and with several images associated with each things work fine. If I add a second attribute #2 with a couple of choices and several images associated with each, the product page will show only the images associated with the second attribute in the sort order. I can select back and forth between my choices for attribute #2 and the images will load for each, however selecting any choice in attribute #1 produces no result.

At this point I don't know if I'm doing something wrong or if AIS simply doesn't support anything past one attribute.

Nope that's not supported. Too many complexion in having that feature since some extra options and conditionals are needed to get that to work.

It is possible to do that with some custom work on the module.

30 May 2008, 1:53 AM
#200
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: AJAX IMAGE Swapper support thread

cat2:

I have three attributes dropdowns(style, color, size) and I want to display all the items for each dropdown in the AIS box, but it only shows the images for the first dropdown. How could I get this to work?

This module doesn't currently support that, and there is no plan to make it does. However, you can pm me if you want me to do custom work to do just that.

If you want to be able to display images for each dropdown, you would need a lot of images with the combination of the three attributes (for example style a, color 1, size 12 will have different image than style a, color 2, size 12 etc.) might be better off with just style and color?

What this module can currently do though, is you can put the options in one attribute for example blue a style, green a style, etc.