Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Does oscommerce have a contribution where I could have private pages where only some member can view?


johnduo0007

Recommended Posts

Posted

I only want to show some pages to people that i choose. Is there something in oscommerce that I can create a private area for special registered members only?

Posted

SPPC give you different customer groups so you have the ability to charge different pricing for customers, show different products and different categories as well as different specials, etc. If it is just different pages you want to show then you can use that to code into your info box something like.

 

 

<?php if ($sppc_customer_group_id == '1') { ?>

 

Show pages 1 to 10

 

<?php } else if ($sppc_customer_group_id == '2') { ?>

 

Show pages 11 to 20

 

<?php } else { ?>

 

Show pages 21 to 30

 

}

 

 

If it is just all registered customers that you want this special area to be for then it is similar code but without the SPPC addon. SPPC might be overkill for what you need to do but the logic will be the same.

 

 

OR

 

You can just send them an email with a link to the area of your store and NOT have it listed anywhere but then they will forget what the link is and loose it so chances are they won't go there.

Posted
SPPC give you different customer groups so you have the ability to charge different pricing for customers, show different products and different categories as well as different specials, etc. If it is just different pages you want to show then you can use that to code into your info box something like.

<?php if ($sppc_customer_group_id == '1') { ?>

 

Show pages 1 to 10

 

<?php } else if ($sppc_customer_group_id == '2') { ?>

 

Show pages 11 to 20

 

<?php } else { ?>

 

Show pages 21 to 30

 

}

If it is just all registered customers that you want this special area to be for then it is similar code but without the SPPC addon. SPPC might be overkill for what you need to do but the logic will be the same.

OR

 

You can just send them an email with a link to the area of your store and NOT have it listed anywhere but then they will forget what the link is and loose it so chances are they won't go there.

 

Thanks for the reply Java. My client sells pens and he has 3 designs that are not out yet and he only want his trusted buyers to see. So it will just be 3 pages that are not visible for the regular public. Only to trusted buyers when they sign in. Anyway, where will I put that code you typed in? Is there a simple contribution for this or is this more complicated to do?

Posted

SPPC is a HUGE add on and if it just for 3 designs while in production but will be available soon then SPPC is OVERKILL. I would just leave them off the site, send your valued customers an email with specs for them and tell them they will be available soonish, or do a search for how to hide a category/products and give them a direct link, or just put the products up for everyone and don't allow checkout for them by making the quantity zero.

Archived

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

×
×
  • Create New...