Redirect from add to cart popup issue

  • Posts: 1064
  • Thank you received: 11
  • Hikashop Business
4 days 17 hours ago #365230

-- HikaShop version -- : 5.1.2
-- Joomla version -- : 5.1.2

Hello!

If i click add to cart in a product i see the popup, i click continue shopping but it redirects me to checkout page.
Also, i added the HTML button code to articles and it redirects me to checkout without showing the popup first.
In the URL i added if you click the button "Αγορά" you will see what i mean.

Thank you

Attachments:

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

  • Posts: 83103
  • Thank you received: 13413
  • MODERATOR
4 days 14 hours ago #365231

Hi,

That's because you have the "redirect to checkout" setting set to "on success". So if the add to cart is successful, the system will redirect automatically to the checkout after displaying the popup. You want to turn that off.

Regarding the HTML code, it doesn't support displaying a popup and can only redirect to the checkout.
If you want to have an add to cart button with the popup in an article, you need to use a content tag instead:
www.hikashop.com/support/documentation/1...-product-insert.html

The following user(s) said Thank You: verzevoul

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

  • Posts: 1064
  • Thank you received: 11
  • Hikashop Business
4 days 14 hours ago #365233

Thank you Nicolas!

I see the plugin yes, but in Yootheme builder it does not let me add a product unfortunately. But from what i understand, the plugin adds the whole product in the article? I only want the button.

Last edit: 4 days 13 hours ago by verzevoul.

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

  • Posts: 83103
  • Thank you received: 13413
  • MODERATOR
4 days 10 hours ago #365235

What do you mean ?
If you can copy / paste the HTML of the add to cart button, why can't you copy / paste the content tag for the product with the correct parameters ?
Something like: {product}ID|cart{/product}
where ID is to be replaced by the id of the product.

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

Time to create page: 0.062 seconds
Powered by Kunena Forum