News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Add to cart javascript method

Started by Kuubs, October 06, 2023, 13:19:28 PM

Previous topic - Next topic

Kuubs

Hello,

I'm trying to add a product to another page with a add to cart link. Now I'd like to invoke a method when the user presses the cart button link to add the product to the cart, with javascript.

Anyone any idea how I can achieve this?

Greetings,

Huub

Milbo

You need a correct post and check the function addJS in the controller cart
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/