View Single Post
  #8  
Old 03-05-2007, 12:33 PM
 
gerrick@ncs-online.com gerrick@ncs-online.com is offline
 

Member
  
Join Date: Sep 2004
Posts: 23
 

Default Re: Product markup percentage based on user level

I've done some more research. I've enabled debugging console and viewed the active variasbles on the product page. I noticed that there's a product array with all of the information for the product. However, I do not see where it has a discounted price.

I was thinking I could just use a conditional statement to find out what membership type the person was and then use a {math equation="" to do the markup.

However this would mean that any time I wanted to change the markup percentage it would have to be changed everywhere it has been used.

Another note: I saw that if you go to the cart there's another array this time called products. It has the discount price in there. That's exactly what i want to be on my product detail page.

Thanks in advance!!
__________________
X-Cart version 4.1.6
PHP 5.1.1
MySQL server 5.0.27
MySQL client 4.1.7
Web server Microsoft-IIS/6.0
Operation system Windows
Reply With Quote