![]() |
Product markup percentage based on user level
I'd like to know all of the places that i might need to edit in the Smarty templates to allow me to markup products based on user level.
For example. A basic customer will have a standard markup of 20%, an advanced customer will be at 10%. Thanks in advance! X-Cart version 4.1.6 |
Re: Product markup percentage based on user level
thread moved to Product Management
----------- Personally, I would price the products at "regular" or "retail" selling price, then give a membership level a discount. Works the same, but you are not asking your cart to calculate markup, which can vary based on your cost of goods. Instead, you establish your selling price, and give discounts as you see appropriate. AND x-cart does this automatically. Doing it this way, your "basic" customer pays full price, and "advanced" gets a discount. If you want to play with your customer's minds, you can set "retail" pricing, put the product on sale by 10%, so everyone's base price is already a discount, and then your advanced group gets a bigger discount. This is a stock feature. Will this work for you? |
Re: Product markup percentage based on user level
Thanks for the quick reply!
I may not have included enough information. I understand what you're describing. However, I should have stated that there can be three or more membership levels including but not limited to: GSA Advanced Customer Regular Customer ... more to be added when necessary. |
Re: Product markup percentage based on user level
After some testing. I see how the discounted price comes into effect for multiple accounts. However, i'd like this visible when viewing the product before adding it to the cart.
Thanks! |
Re: Product markup percentage based on user level
Please don't double post, I have removed your second post on this topic. Thanks!
|
Re: Product markup percentage based on user level
Can you move this thread to the template section.
|
Re: Product markup percentage based on user level
Done
|
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!! |
Re: Product markup percentage based on user level
Any thoughts?
|
Re: Product markup percentage based on user level
bump
|
Re: Product markup percentage based on user level
bump :(
|
All times are GMT -8. The time now is 08:37 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.