Page 1 of 1

How to get product category of item added into cart

Posted: Sat Oct 13, 2018 3:39 am
by haseebuddin
How to get product category of item added into cart
I am trying to get the product category when user clicks on add to cart so that i can prevent more than two item of same category to be added into cart

Re: How to get product category of item added into cart

Posted: Sat Oct 13, 2018 3:55 am
by xxvirusxx

Re: How to get product category of item added into cart

Posted: Sat Oct 13, 2018 7:46 pm
by haseebuddin
xxvirusxx wrote:
Sat Oct 13, 2018 3:55 am
viewtopic.php?f=190&t=207458
i think you have seen the answers that i am getting on the previous question, nobody is helping me by telling how to get things done other than recommending me to purchase the extension, i just need help in getting the item in cart with category id


Re: How to get product category of item added into cart

Posted: Sun Oct 14, 2018 1:48 am
by xxvirusxx
Do you think somebody will help you for free?
If you don`t want to spend 20-30$ for an extension, then try yourself to convert this extension for opencart 2.x

https://www.opencart.com/index.php?rout ... n_id=17008

or
https://www.opencart.com/index.php?rout ... on_id=3327

And test
https://www.opencart.com/index.php?rout ... n_id=32413

Possible more free if you search...

Re: How to get product category of item added into cart

Posted: Thu Oct 25, 2018 2:58 am
by haseebuddin
Thank you for helping me out and telling me the reality ..appreciated