Forum
Question regarding shop prices
We have 3 types of prices for 3 types of customers like regular customers - resellers and distributors. We use price - sale price and trade price. Resellers and distributors don't actually pay anything. They simply go to checkout and then complete the order and we receive an email with the order information.
How do we show the total for each type of customer until the final step and when the order is placed too.
Like
Regular customer [price] // Actually pays
Item A - 10 USD
Item B - 15 USD
Checkout = 25 USD
Reseller [trade_price] // We only receive an email with the order
Item A - 5 USD
Item B - 10 USD
Checkout = 15 USD
Distributor [sale_price] // We receive an email with the order
Item A - 2.20 USD
Item B - 4.50 USD
Checkout = 7.70 USD
That sounds fine - which part are you struggling with?
Showing sub total and total sums in the cart when someone is browsing the store as a reseller for example. So what we are looking for is using perch shop with 3 different prices.
Are you setting the cart into trade mode successfully?
How do you do that?
Call
perch_shop_enable_trade_pricing()
Kinda works. This helped https://forum.grabaperch.com/forum/09-27-2016-trade-member-price?page=1#reply-40265
However when we add a product to the cart it takes the regular price instead and the subtotal and total price are calculated based on that price.
That's not how it works, so I'll need more information from you if I'm to help.
Okey so how does it work? can't find anything in the documentation.
What am trying to do is after a user logs in. Set the cart to trade prices if the user is a reseller. Else show the regular prices.
After they look in and you determine that they qualify for trade pricing, call
perch_shop_enable_trade_pricing()
. This will switch the cart into trade pricing mode and trade prices will be used.Okey that is exactly what isn't happening.
In my header layout. A better place for this would be where? and this won't generate conflicts with regular customers? like this is per user session right?