| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Product markup percentage based on user level | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() 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
__________________
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 |
|||||||
#2
|
|||||||
|
|||||||
![]() 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?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
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 |
|||||||
#4
|
|||||||
|
|||||||
![]() 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!
__________________
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 |
|||||||
#5
|
|||||||
|
|||||||
![]() Please don't double post, I have removed your second post on this topic. Thanks!
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
![]() Can you move this thread to the template section.
__________________
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 |
|||||||
#7
|
|||||||
|
|||||||
![]() Done
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() 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 |
|||||||
#9
|
|||||||
|
|||||||
![]() Any thoughts?
__________________
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 |
|||||||
#10
|
|||||||
|
|||||||
![]() bump
__________________
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|