Hi everybody,
I'm running hikashop business 1.4.7 and I've searched the forum, hope I don't ask for a solved thread!
I've customized the cart view to show a dropdown with all the variant I've set for a product. Variants are actually duration like 3 months, 6 months ect, but I think it doesn't matters...
Now I would like to run via javascript an UPDATE CART LINK to update the cart with the new variant...
Looking at the DELETE LINK I see it's just a quantity variation to zero calling the update cart more or less like this:
/axonline/index.php/it/component/hikashop/product/updatecart/product_id-27/quantity-0/return_url-
aHR0cDovL2xvY2FsaG9zdC9heG9ubGluZS9pbmRleC5waHAvaXQvY29tcG9uZW50L2hpa2FzaG9wL2NoZWNrb3V0L3N0ZXAvc3RlcC0x
Not considering the return_url I can imagine this link ask to update the cart removing the product with id 27 from the cart
Is there a way I can ask via URL a think like:
/axonline/index.php/it/component/hikashop/product/updatecart/cart_product_id-165/product_id-28/
Where I'm asking the cart to be updated at the "table row" 165 with the new variant selected that is product_id 28 ?!?
If there is no way to do it via URL, can you suggest where should I begin to change the source code...?!?
Thanks a lot
Luciomonter