hello ,
i have purchase extension of aheadworks. it works fine. but my problem is i have to open lightbox on list page that display product view page information. means i bypass product view page. but ajax add to cart is not working in lightbox. aheadWorks please give me some solution. or anybody knows this ?
reply soon
thank you
I tried the demo in mozilla, ie, and chrome. When I press “add to cart” all take me to the “enable cookies” page. But my cookies are enabled. If I press “back” then it lets me add to cart with without ajax.
I would love to buy this extension, but without ajax enabled “add to wishlist”, “add to compare”, “update cart”, etc., it just seems unfinished. I also suspect that I am not the only one that feels this way. Please let me know if these features can be added.
maybe someone comes across this topic again and I’d like to share the way I did. Unfortunatly I’m not allowed to post the code (at least by now), but I can give a brief description.
First of all I created a copy of the CartController.php and made some minor changes. I checked, if the request was made via ajax, and if so I stopped the message output and returned just the html of the sidebar cart.
I created a small new module to overwrite the cart/add requests to my new cart controller.
I added a javascript file, that automatically changes the forms and buttons on the page, to send ajax requests instead of regular post or gets. I read the target and parameters from the actual page, so that this method even works for configurable products, or gift vouchers etc.
On complete of the request I replace the old cart with the return of my cort controller output.
If the project is done at all, I will try to convince my “boss” to make this a community module, but even not, it wasn’t too hard in the end.
...and in my case, it was a wish of my customer, but I also think AW is right.
The chance to add different (simple) products from a list or grid directly to the card, without beeing redirected many times makes shopping a lot more convinient. And to be true it looks noce .