Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Disallow page view for certain memberships

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 07-28-2006, 12:44 PM
 
koolie koolie is offline
 

Advanced Member
  
Join Date: Mar 2006
Posts: 35
 

Default Disallow page view for certain memberships

Hello, I have a page that gives users of a certain membership a 25% discount on everything that they purchase. These same people also have partner accounts(different login name though). The problem is that the cart is giving these people a 25% discount PLUS comission on their sale. All of the code that process the commission I believe is on a single page, so if I had an if statement that disallows the page code to execute (basically wrap the entire page code in an IF) I'd be set. The cart version is 4.0.17, Linux Sever (despite what my signature may say).
__________________
X-Cart : 4.3.0
OS : Linux Red Hat
Location : Wisconsin, USA
Reply With Quote
  #2  
Old 07-29-2006, 06:40 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

So you want to block those products only...from a specific category? May be tough, as they will still be able to see them via search.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:17 PM.

   

 
X-Cart forums © 2001-2020