Hello,
when i add or update the cart, the page reloads to the overview grid/productpage (although the cart is updated), even when i add a product from a single product page.
I use the example code:
// get the $cartRender class
$cartRender = $padloper->cartRender;
// get the product whose add to cart button you want to be rendered
// @note: it is assumed you already retrieved $product as per the example linked to above
// render the add product to cart form
$content = $cartRender->addToCart($product);
$out .= $content;
Is there a way to update the cart without reloading the page, only add or update the cart.