Add To Cart Redirect Back To Category

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
11 years 2 months ago #120937

Hi

After a product is added to the cart you have an option of staying on the page with or without a popup or going to the checkout.

I have been asked if it would be possibe to go back to the actual category. There is a breadcrumb:

Home Shop Diversity Products Individual Stay Fresh Cleansing Wipes

I would say I am looking an automatic redirect to the product category after a product has been added to the cart. Not sure if this is a viable option?

Using HikaShop 2.2.1 on Joomla 3.0

Thanks

Dave

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

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 2 months ago #120973

Hi,

As you know, there is no such option in HikaShop.
First I thought that it would be possible to create this feature using a custom plugin and a "cart trigger"
www.hikashop.com/support/documentation/6...umentation.html#cart

But the fact is that, you can have this trigger in a lot of different parts in the HikaShop store. In every page where you can add a product to the cart or simply edit the cart (so where the "cart module" will be displayed).
So I guess that the best solution for the moment is to add it directly in HikaShop or, if possible, in a view.

Like that I can't say if it will be easy to do it with a view override. The fastest solution will be to change some code in the HikaShop core but you will loose your modification with updates.
It is planned to make sort of refactoring for the "add to cart" system in order to have more options and more flexibility. but for the moment we don't have put it in the schedule. It's still in the TODO list.

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: davec

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

Time to create page: 0.042 seconds
Powered by Kunena Forum