Skip to main content

HTML Link

7 years 11 months ago #301099 by shane-77
HTML Link was created by shane-77
-- url of the page with the problem -- : www.recoverycbd.ie
-- HikaShop version -- : 3.5.1
-- Joomla version -- : 3.9.0
-- PHP version -- : 7.0.0

When I use the quick html link when someone clicks the link the product is added to the cart but they are taken straight to the checkout page. I want to have numerous links on a landing page for a promotion we are running but I don't want them to leave the page when they click one link. I want to hold them there so they can continue to browse the offers. is there a way to add to cart with the quick link and avoid redirection to the checkout when they hit the add to cart text.

This is a sample of one of my quicklinks can I edit this directly or is there an option in configuration?

<a class="hikashop_html_add_to_cart_link" href=" www.recoverycbd.ie/index.php?option=com_...y=1&cid=1&Itemid=181 ">Add to cart</a>

Thanks

Please Log in or Create an account to join the conversation.

7 years 11 months ago #301103 by nicolas
Replied by nicolas on topic HTML Link
Hi,

You can't do that with the quick link this would require javascript to be loaded on the page and thus more complex code.
Instead, you can use content tags:
www.hikashop.com/support/documentation/1...-product-insert.html
It's basically an advanced quick link with javascript support so it can work like you want.

Please Log in or Create an account to join the conversation.

Time to create page: 0.045 seconds
Powered by Kunena Forum