On Click Add To Basket Pages Should Not Go To Stand Basket.

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
awaidqureshi
Posts: 86
Joined: 12 Jan 2019, 15:17

On Click Add To Basket Pages Should Not Go To Stand Basket.

Post by awaidqureshi » 08 Feb 2019, 12:08

When I click On Add To Basket Button The Pages Should Not Go To Standard Basket . Page Should Still There Only Add To Mini Basket. How I Can Do That.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: On Click Add To Basket Pages Should Not Go To Stand Bas

Post by aimeos » 08 Feb 2019, 13:14

This is almost the default behavior. The product is added to the basket via AJAX and the basket is displayed as overlay. If you don't want do display the overlay, you can overwrite the JS code in your own JS file:
https://github.com/aimeos/ai-client-htm ... os.js#L869
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

awaidqureshi
Posts: 86
Joined: 12 Jan 2019, 15:17

Re: On Click Add To Basket Pages Should Not Go To Stand Bas

Post by awaidqureshi » 08 Feb 2019, 13:39

aimeos wrote:This is almost the default behavior. The product is added to the basket via AJAX and the basket is displayed as overlay. If you don't want do display the overlay, you can overwrite the JS code in your own JS file:
https://github.com/aimeos/ai-client-htm ... os.js#L869
Basically My Ajax is not working May Be Some Thing Wrong. I think Its Not Adding Product In To Cart Can U Please Mention The Default Code For Adding Product In To Cart with ajax.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: On Click Add To Basket Pages Should Not Go To Stand Bas

Post by aimeos » 09 Feb 2019, 14:05

It's the form post that starts here: https://github.com/aimeos/ai-client-htm ... os.js#L871
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply