Resolve Reseller View & Pricing Discrepancies
Budget: $30 – $250 USD
Issues to Resolve
Wrong Price Display for Resellers
Quantity” and “Price” selectors show private-customer data even for logged-in resellers.
Reseller view shows both reseller and private prices.
Private price is struck-through next to reseller price — this should be removed.
Incorrect Shipping Fee
Reseller shipping shows a 99 kr fee — should be free.
99 kr shipping fee should only apply to private customers.
Quantity Rules for Resellers
Product quantity selector reflects private settings — should use reseller configuration (e.g. minimum order, pack sizes).
Fixes That Will Be Made
Correct Role Detection
Ensure current_user_can('reseller') or role check correctly loads reseller rules.
Price Visibility
Hide all private pricing (including strike-throughs and dual pricing) for resellers.
Display only the net/reseller price.
Fix template logic in single-product/price.php or hooks that render pricing.
Shipping Logic
Update functions.php or shipping rules logic to:
Set free_shipping or zero cost if user_role == reseller.
Apply 99 kr shipping only if user_role != reseller.
Quantity Input Behavior
Customize quantity input using:
woocommerce_quantity_input_args or
JavaScript override per role.
Enforce minimum quantities and pack sizes for resellers only.
Additional Observations
Streck (strike-through) on regular price for resellers makes it look like a discount, even though it's their default price. This must be hidden.
Double pricing (e.g., "was 99 kr, now 89 kr") makes no sense in a wholesale/reseller view — clean this up.
Timeline
Estimated completion time: 4–6 hours, including testing across product page, cart, and checkout for:
Logged-out (guest)
Logged-in private user
Logged-in reseller
Wrong Price Display for Resellers
Quantity” and “Price” selectors show private-customer data even for logged-in resellers.
Reseller view shows both reseller and private prices.
Private price is struck-through next to reseller price — this should be removed.
Incorrect Shipping Fee
Reseller shipping shows a 99 kr fee — should be free.
99 kr shipping fee should only apply to private customers.
Quantity Rules for Resellers
Product quantity selector reflects private settings — should use reseller configuration (e.g. minimum order, pack sizes).
Fixes That Will Be Made
Correct Role Detection
Ensure current_user_can('reseller') or role check correctly loads reseller rules.
Price Visibility
Hide all private pricing (including strike-throughs and dual pricing) for resellers.
Display only the net/reseller price.
Fix template logic in single-product/price.php or hooks that render pricing.
Shipping Logic
Update functions.php or shipping rules logic to:
Set free_shipping or zero cost if user_role == reseller.
Apply 99 kr shipping only if user_role != reseller.
Quantity Input Behavior
Customize quantity input using:
woocommerce_quantity_input_args or
JavaScript override per role.
Enforce minimum quantities and pack sizes for resellers only.
Additional Observations
Streck (strike-through) on regular price for resellers makes it look like a discount, even though it's their default price. This must be hidden.
Double pricing (e.g., "was 99 kr, now 89 kr") makes no sense in a wholesale/reseller view — clean this up.
Timeline
Estimated completion time: 4–6 hours, including testing across product page, cart, and checkout for:
Logged-out (guest)
Logged-in private user
Logged-in reseller
Related categories:
PHP
JavaScript
WordPress
Magento
MySQL
WooCommerce
Web Development
Website Optimization