Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

USERLOGIN required to access certain products


manshu

Recommended Posts

Posted

I stil havent found how to limit access to certain categories .I want that a user must enter login before seeing a particular category eg special and rest of the catalog remains accesible as it is

Posted

Sorry to use this thread for another account related question.

 

I just want to know when people create an account, is there an account activation procedure send it out to customer's email. Then customer must active their account through their emails.

 

I see this function in all the NUKE system. Do we have it here?

 

I hate the fraud ordering, hope this will provent some. Thanks.

Posted

Hidden Products v1.0 is compatible with MS2.2 ???

When I install it, I have some PHP warnings.

functions missing, etc...

 

You have same problems ?

 

Another contribution may be ?

 

--

Steph1

  • 4 months later...
Posted

having problems to with this contib!!!

Posted

@kkkqqq

you would need to install something like http://www.oscommerce.com/community/contri...ll/search,email

 

@steph1

you can get the missing functions from an older vers. or ask linda. there should be here webaddress in the read me file.

 

@ justin m.

wat problems are you having, we canot minde read !!!

 

@manshu

you could also use

if (tep_session_is_registered('customer_id')) {

that would only show the code if the customer is logged in!

Posted

sorry mate - if you could mind read - all this stuff wouled be easy, no?

Basically I want to have a catagory of products that a visitor can only buy if they have answered a question.

Sounds silly - but I am trying to build a 'magic shop' site and want to only sell the 'good stuff' to magicians - so if there is a way I can ask the visitor a question to confirm who they are - like when was Houdini born? - or something - then they can access the 'good stuff' catagory.

 

Hope this all makes sense - I believe I am using the latest version of oscommerce - and from reading some other posts I believe that Hidden-Products is not compatible with this version!?!?

 

the dummy site for what I am trying to put together is at...

 

http://www.designman.co.uk/tv-magic/

 

Any help would be very much appreciated - as I am useless at the coding side of all this!!!!

Ouside of the look of the site - I don't believe I have changed any coding to the oscommerce stuff.

 

All the best,

Justin

Posted
sorry mate - if you could mind read - all this stuff wouled be easy, no?

Basically I want to have a catagory of products that a visitor can only buy if they have answered a question.

Sounds silly - but I am trying to build a 'magic shop' site and want to only sell the 'good stuff' to magicians - so if there is a way I can ask the visitor a question to confirm who they are - like when was Houdini born? - or something - then they can access the 'good stuff' catagory.

 

Hope this all makes sense - I believe I am using the latest version of oscommerce - and from reading some other posts I believe that Hidden-Products is not compatible with this version!?!?

 

the dummy site for what I am trying to put together is at...

 

http://www.designman.co.uk/tv-magic/

 

Any help would be very much appreciated - as I am useless at the coding side of all this!!!!

Ouside of the look of the site - I don't believe I have changed any coding to the oscommerce stuff.

 

All the best,

Justin

lol, have a look at some agecheck constributions, and rebuild them to answere your question m8

 

its magic...

Posted

you have great faith in me (rebuilding age checking contribs) but I will have a go. If I get stuck I may have to call on you - all the best,

Justin

(If only it was 'magic'!)

Posted

Ok - I have had a look at the Age Verification Contribs - the only one I could find was called 'Age Verification' (obvious eh?).

 

Now this does seem like a good idea to just modify an age check for a question and answer - but I only need it to pop up when a certain catagory (or product) is clicked on and not at the start of logging in - unless the question could be part of the users profile and then once they have logged in and answered the question (or left it blank if they don't know the answer) they could (or couldn't) see the restricted catagory)

 

Also - having thought about this - how would I stop a visitor from accesing a product from a restricted catagory if they clicked on it via best sellers or new for 2009 etc.?

 

Ahhhhhhhh. My life is a living hell! :(

Posted

a nother way would be to flag the products, or the categorie after they have answerd the question and modify the sql so that if customer is registerd and aswered your question then show the product (categorie) else load standard sql!

would do the trick to. you could basacly put that somewhere on create account and write it to database. yes you would also have to modify the sql from whats new, product search, index, product_info, manufacture and product listing.

 

John

Posted

that does sound like it would do the job - so, any idea where I should begin?

All the best,

JMM

Posted

well add a nother table to the customer call it flag or what ever.

set default to 0 and for the products you dont wnat to show to every tom d...k and harry it would be filled with a 1 after the create account if answered right.

 

you would need to make a test with a product set to 1

and try to modify the sql in the /includes/modules/product listing

 

i think you would need two sql

first one check if the customer has the flag set.

then load all products with flag 0 and 1

else

load all products with flag set 0

 

i hope you can find your way trough that.

 

i am in the proccess of moving and i will not be online for the next 2 weeks as from tomorow and can only check from work but i aint got the time to help you very much, but i am shure that if you come up with something and post some code the people will give you a hand if you would release it as constribution ;-)

 

john

 

ps. there is a constribution for the create account (where did you here about us?)

you could add your question there and set the flag ;-)

Posted

thank you for all your help - have a great time moving!!!

Will try and get my head around this problem - and see if I can crack it. What you have said sort of makes sense - I'll try and bash something out over tghe next couple of days.

All the best,

Justin

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...