Shape 5

Joomla Club Extensions => Drop Down Cart - Club => : Mike Hanyzewski August 25, 2010, 12:16:46 PM



: Ajax will not work at all in Restaurante template - Help!
: Mike Hanyzewski August 25, 2010, 12:16:46 PM
This site has been up for a month and I still cannot find a solution to this problem. I am using the Restaurante template and did the install via the site shaper. I have chosen to use the S5 Dropdown cart versus the column cart. I have spent much time on this issue and cannot find a solution. I have checked the installation instruction countless times and have reinstalled countless times. Ajax is turned on in VM. When you first turn it on ajax will update the cart until you leave the page. Then it will do nothing when add to cart is clicked. This is in Firefox. In IE it will not work at all and takes you to the checkout page. I have tried both carts with the same results. In IE I get an error message .

Message: 'GB_ROOT_DIR' is undefined
Line: 1164
Char: 1
Code: 0
URI: http://www.tomscarcarecenter.com/components/com_virtuemart/fetchscript.php?gzip=1&subdir[0]=/themes/s5_restaurante&file[0]=theme.js&subdir[1]=/js&file[1]=sleight.js&subdir[2]=/js/mootools&file[2]=mootools-release-1.11.js&subdir[3]=/js/mootools&file[3]=mooPrompt.js&subdir[4]=/js/greybox&file[4]=AJS.js&subdir[5]=/js/greybox&file[5]=AJS_fx.js&subdir[6]=/js/greybox&file[6]=gb_scripts.js

I believe that this error is related to the greybox which I have since turned off.

The URL for the site is www,tomscarcarecenter.com

Please help! The lack of Ajax is killing me and my client is not happy.
 


: Re: Ajax will not work at all in Restaurante template - Help!
: mikek August 25, 2010, 12:39:20 PM
Hello,

I just tested it from the following page:

http://www.tomscarcarecenter.com/order-online.html?page=shop.product_details&flypage=flypage.tpl&product_id=26&category_id=20

It worked for me with no issues in FF and IE. When I clicked add to cart to scrolled to the top of the page and an item was added to the cart.

The error message you posted appears to be directly related to the grey box script.


: Re: Ajax will not work at all in Restaurante template - Help!
: Mike Hanyzewski August 25, 2010, 02:02:55 PM
OK. So I followed your link and it worked fine. But when I followed my bookmark it did not. So i started doing some more research and realized that I may have made a really silly mistake.
After doing some more research I found that my issue was with site redirection and I solved it through a .htacces edit. Thanks for the help.