Post by zollgut » Sun Oct 11, 2009 8:31 am

Hi, i've added an image zoom jquery script to the product page and ever since its messed up the AJAX cart thing, it now seems to 'fly to the cart' from lower on the page than it actually is, almost from below the product description tab.

Not sure why it's doing this, does anyone know where to find the file which tells it where on the page the image starts from?

Thanks in advance for any answers!

:)
Last edited by i2Paq on Thu Aug 12, 2010 12:37 am, edited 1 time in total.
Reason: Topic moved

New member

Posts

Joined
Sat Sep 26, 2009 3:00 am

Post by Qphoria » Sun Oct 11, 2009 9:31 am

I am aware of the problem. I am looking into it.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by Qphoria » Sun Oct 11, 2009 10:12 am

ok.. I'm not sure but it looks like its something with jqzoom offsetting the main image. I can't see the offset and the top and left values don't change, but the image seems to be fooled into thinking that its shifted.

The quick fix is to change the ajax animation code to move its offset equal to the same dimensions of the Main product image. This can be checked under admin->configuration->settings->IMAGE tab for :
Product Image Thumb Size:

This is 250x250 by default. So to fix it we:
1. EDIT: catalog/view/theme/YOURTHEME/template/module/cart.tpl
2. Find & Change each of the following:
a) image.top --> (image.top-250)
b) image.left --> (image.left-250)
c) cart.top --> (cart.top-250)
d) cart.left --> (cart.left-250)

That will fake the offset for now until I can figure a better way.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by zollgut » Sun Oct 11, 2009 9:58 pm

Thanks Q, that works now!

New member

Posts

Joined
Sat Sep 26, 2009 3:00 am

Post by lowlands » Fri Jan 29, 2010 12:09 am

Hi Q,

Have you figured out a better way yet? I am having the same issue.

My OC-shop: http://www.Soldeerpunt.nl


User avatar
Active Member

Posts

Joined
Sun Dec 20, 2009 8:49 am

Post by Qphoria » Thu Apr 22, 2010 11:50 pm

I fixed this issue in the latest version
If you've already purchased you can simply login to your account on my site and get the latest version

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by itlogic » Tue May 18, 2010 1:52 pm

I jest sent you a few emails. I purchased the jQZoom mod. Your fix seems to work in IE8 and Fire Fox, but not Chrome and Safari.

Newbie

Posts

Joined
Wed Apr 28, 2010 11:00 am

Post by robster » Thu Jul 22, 2010 12:34 am

Hi, I bought this mod just a few days ago so I am assuming it is the latest version. It is brilliant but I am also getting the ajax to cart problem of the image coming from the bottom right of the page. This happens on firefox, IE8 and chrome (these are all I use).

Also I am finding that some products don't add to the cart when you click the add to cart button. Not sure if this is related or not but thought I would throw this in the pot too. The problem for me is that I did a whole batch of settings (tax settings, zones, etc. installed the jqzoom, did a test migration through cart 2 cart, etc all at once so am confused as to what has caused the problem.

robster

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by robster » Thu Jul 22, 2010 1:04 am

Actually I am going round in circles here.

Now I find that sometimes the jqzoom does as described in my post above, sometimes in Chrome once you have zoomed the image and move the mouse away the original image moves to the top left of the screen! WTH?

Also I am finding that clicking add goes through the motions of adding items (albeit working strangely) but actually the cart is not updated with the product.

If anybody can help with this I would be very grateful:

http://mvs101-004.directrouter.co.uk/~boncraft/store/

Site not live yet hence the temporary pre-domain pointed URL!

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by Qphoria » Thu Jul 22, 2010 2:54 am

Yea its a known issue with chrome. I'll take a look

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by robster » Thu Jul 22, 2010 5:22 pm

My circles are decreasing - lol.

Update: The problem with the jqzoom is too bad to keep that mod on the site - it also appears to affect your mod that adds the buttons to the cart (came built in with one of your other mods - not sure whch one as I bought pretty much all of them) so the net result is that I have removed it. The button problem is now rectified also.

The problem with the products not adding to cart is a weird one but I have identified the issue and it is not related to any mod. It only started to happen following a migration from zen-cart (cart2cart) and I have narrowed it down to conflict between the different way tax classes are set on zencart and opencart. Once I manually re-set these on my OC install everything works as should.

Cheers

robster

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by robster » Wed Aug 04, 2010 1:48 am

So any update yet please Q?

robster

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by robster » Wed Aug 11, 2010 8:53 pm

Once again - any response to the issues with this paid mod?

Apologies if I should be going elsewhere Q and if so please advise, but at least reply.

robster

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by Qphoria » Fri Aug 13, 2010 4:46 am

Ok i've been working on this for a few hours now.. and it seems that the actual jqzoom script doesn't support the latest chrome and that is the root problem. So I'm trying to hack through the main script and figure it out.

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by robster » Sun Aug 15, 2010 6:53 pm

Thanks for replying and the quick update Q. I look forward to your 'eureka moment' and a solution when you can!

Cheers

robster

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by robster » Thu Sep 02, 2010 9:02 pm

Any further on with this issue?

I know my place...!


User avatar
Active Member

Posts

Joined
Tue Jul 13, 2010 8:08 pm
Location - North Yorkshire, UK

Post by Qphoria » Thu Sep 02, 2010 10:33 pm

Yea, I think it works now. get the latest from my site

Image


User avatar
Administrator

Posts

Joined
Tue Jul 22, 2008 3:02 am

Post by f1nutter » Thu Sep 16, 2010 6:17 pm

Qphoria,

I am also having a few issues with the jqzoom and jcarosal mods that I just purchased from your site.

I have followed all of the installation instructions for both mods on a clean 1.4.9.1 install on localhost and am having issues with the ajax cart.

It now seems that when you add a product it works fine but if you try to remove a product by clicking on the "x" next to the product name it doesn't delete the product from the cart. The only way I can get the delete product button to work is to navigate away from the product page.

I have noticed that on your demo page at http://unbannable.com/v132/index.php you have removed the buttons in question and the only way to remove items from the basket is to click the basket icons in the header bar. Is this the only way around the issue and if so how do I make this modification??

Also is there anyway of removing the click to zoom option on the product images as it would suit my store if the only zoom funtion was that supplied by jqzoom??

Any help you can give is greatly appriciated.

Many Thanks in advance

F1Nutter

Newbie

Posts

Joined
Wed Jul 14, 2010 4:53 pm
Who is online

Users browsing this forum: No registered users and 1 guest