Page 1 of 1

How do i save information

Posted: Thu Mar 03, 2011 7:51 pm
by Nooblet
Hey Guys,

opencart version 1.4.9.3

I want to save a setting on the admin side how would i go about doing it?

I want to be able to check a check box on one of the pages and the system remember if the box was checked. so that the nest time the page loads the check box stays ticked. Also an automated process will check the variable and send an email if the box is check.

Any advice?

Thanks in advance
Simeon

Re: How do i save information

Posted: Fri Mar 04, 2011 2:46 am
by openmycart.com
You can alter new row/col in database table for that checkbox or save it to cookies/session

Re: How do i save information

Posted: Fri Mar 04, 2011 5:42 am
by Nooblet
I was hoping i wouldn't have to change the database for such a small thing and cookies are less permanent.

I thought there might be some internal variable board that is saved on the server.

Oh well, I guess i will have to change to database then.

Thanks for you fast reply
Simeon