Need Help in Session

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
6 years ago
Hello.

I am new here and have few questions.

1. If product has added in cart, now I want to access it's data like image and name in my .cshtml page. So how can I do that ?
2. If I want to print any session data, then how can I do that ?
3. If I want to set any variable like, if any user click on some button then I want to set one hidden variable so how can I do that ?

Thanks all.
6 years ago
vasuvora wrote:
Hello.

I am new here and have few questions.

1. If product has added in cart, now I want to access it's data like image and name in my .cshtml page. So how can I do that ?
2. If I want to print any session data, then how can I do that ?
3. If I want to set any variable like, if any user click on some button then I want to set one hidden variable so how can I do that ?

Thanks all.


You can do all this stuff using jquery and javascript code in .cshtml page

Thanks,
Jatin
6 years ago
Hello

Thanks for reply.

Can you please explain with one example if possible.

Thanks
6 years ago
Hello,

We can't explain jquery and javascript code stuff here.

You can review existing nopCommerce code. They used many places.

Thanks,
Jatin
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.