Cart setting mising for "...after a product is added..."

  • Posts: 45
  • Thank you received: 7
8 years 3 months ago #261720

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.6.28
-- Browser(s) name and version -- : Chrome OSX

I can't seem to find the setting for what to do after an item is added to the cart. I keep seeing where it's supposed to be in Configuration->Main->Cart, but as you can see from the attached screenshot, it isn't there.

Attachments:

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

  • Posts: 45
  • Thank you received: 7
8 years 3 months ago #261736

Allow me to answer my own question: That is a legacy setting as of Hikashop 3.0, so the only way to see that is to use legacy mode. Since I am totally revamping my site, I have decided to go wild and not use legacy anything.

I can't figure out how to do an "Add to Cart" from an article page, however, without redirecting to the checkout page. So I could still use some help on that one.

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

  • Posts: 26247
  • Thank you received: 4038
  • MODERATOR
8 years 3 months ago #261737

Hi,

As you wrote, these settings are now "deprecated" and are in the section "deprecated".
www.hikashop.com/support/documentation/5...html#advanced_legacy

HikaShop 3 is using the "cart notify" plugin to display the notification (tooltip, popup) and if the plugin is not activated, the user will be redirected to the checkout page.

For more details :
www.hikashop.com/blog/367-hikashop-3-0-out.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: rhinoboy82

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

  • Posts: 86
  • Thank you received: 9
8 years 3 months ago #261822

There is a new plugin called "HikaShop Cart notification Plugin" where you can change the popup and other behaviour


Kind regards,
Cornel

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

  • Posts: 45
  • Thank you received: 7
8 years 3 months ago #261833

Thanks, guys. You are both referring to the same plugin. Glad to see the plugin (which was enabled already) lets me change the pop-up duration. It felt a little long at 5 seconds, so I reduced it a bit.

I have the add to cart function working perfectly from within a store item page. It's from an article that I get redirected. Specifically, I do these steps:

  • Edit an item in the back end
  • Copy the "Add to cart HTML link"
  • Exit the item and open an article
  • Paste the HTML code into the article
  • Save the article

When I test this, the the page does not redirect, however the item is not added to the cart. The HTML code from the item looks like this:
<a class="hikashop_html_add_to_cart_link" href="http://[mysite]/index.php?option=com_hikashop&ctrl=product&task=updatecart&quantity=1&checkout=1&product_id=2">Add to cart</a>

(Note that I replaced my domain with [mysite]) If I use this link instead:
https://[mysite]/shop/disc-profiles/product/updatecart/add-1/cid-2

then the item is added to the cart, but the page redirects to the checkout page.

This is not a showstopper for me right now and I've got other priorities, so this can sit a while if the answer isn't immediately obvious.

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

  • Posts: 83905
  • Thank you received: 13581
  • MODERATOR
8 years 3 months ago #261842

Hi,

Both links are the same, only one is SEFed and not the other.
But it's normal that you get redirected to the checkout with these. Doing something would require javascript code in the a tag, and here it's a simple HTML link.
You should instead use the product content tag system which allows you to add such add to cart button but integrated with the javascript system to handle notifications, etc:
www.hikashop.com/support/documentation/1...-product-insert.html

The following user(s) said Thank You: rhinoboy82

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

  • Posts: 45
  • Thank you received: 7
8 years 3 months ago #261923

Thanks for the clarification and link to the documentation. I've put this on my list of things to do and will work with tags later.

Generally, I am loving all the updates to 3.0! Hikashop has always been far more powerful than any other eCommerce system for Joomla and it just keeps getting better and better.

The following user(s) said Thank You: nicolas, Jerome, Philip

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

  • Posts: 83905
  • Thank you received: 13581
  • MODERATOR
8 years 3 months ago #261938

Thanks !
If you didn't do it already, you can post a comment on the JED and spread the love :)
extensions.joomla.org/extensions/extensi...opping-cart/hikashop

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

  • Posts: 45
  • Thank you received: 7
8 years 3 months ago #261999

The love has been spread. :)

The following user(s) said Thank You: nicolas, Jerome, Mohamed Thelji

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

Time to create page: 0.109 seconds
Powered by Kunena Forum