Using 3.0.3.8
Item prices (per group):
Retail (default group)(1-2): $15.00
Retail (3+): $13.33
Wholesale: $12.00
Customer assigned Wholesale group.
If I have 2 groups, "Retail" (with discounted bulk pricing, and "Wholesale", and I place an order in the frontend on a wholesale account it does the order with wholesale price of $12.00. But if I go in the admin area and edit that same order, when I see the products page, I see 3 x $13.33 which is incorrect, and if I edit the quantity to 2, the pricing changes to $15.00 which is the retail price. It seems when editing in the admin area, it ignores the Wholesale group which the customer is assigned to and reverts to the Retail pricing group.
So my question is this reverting to the retail group because it's using the "admin" as the user instead of the customer on the order?
Is this just me or can anyone else reproduce this issue?
Is it meant to be this way?
I'd think we should be able to edit orders in the backend and retain the Wholesale group pricing.
Thanks
Item prices (per group):
Retail (default group)(1-2): $15.00
Retail (3+): $13.33
Wholesale: $12.00
Customer assigned Wholesale group.
If I have 2 groups, "Retail" (with discounted bulk pricing, and "Wholesale", and I place an order in the frontend on a wholesale account it does the order with wholesale price of $12.00. But if I go in the admin area and edit that same order, when I see the products page, I see 3 x $13.33 which is incorrect, and if I edit the quantity to 2, the pricing changes to $15.00 which is the retail price. It seems when editing in the admin area, it ignores the Wholesale group which the customer is assigned to and reverts to the Retail pricing group.
So my question is this reverting to the retail group because it's using the "admin" as the user instead of the customer on the order?
Is this just me or can anyone else reproduce this issue?
Is it meant to be this way?
I'd think we should be able to edit orders in the backend and retain the Wholesale group pricing.
Thanks
If not all your customer groups are not visible then it could be this issue.
https://github.com/opencart/opencart/is ... -834179790
https://github.com/opencart/opencart/is ... -834179790
By visible I mean the the Customer Groups are ticked in the settings under Account on the Option tab.
Thanks. That won't work.ADD Creative wrote: ↑Fri Aug 02, 2024 4:54 amBy visible I mean the the Customer Groups are ticked in the settings under Account on the Option tab.
I prefer everyone signup on the default group and I adjust the group in the admin area.
I usually create the wholesale business accounts in the admin area and get the customer to just do a Forgot Password to login themselves.
I guess I'll just have to live with the wrong prices appearing and manually work around it.
Look at that issue, the problem could be the following.
https://github.com/opencart/opencart/bl ... hp#L57-L62
You could try replacing with the following, to see it it helps.
Other than that there is a workaround in the first post of the issue.
https://github.com/opencart/opencart/bl ... hp#L57-L62
You could try replacing with the following, to see it it helps.
Code: Select all
$customer_group_id = (int)$this->request->post['customer_group_id'];
Who is online
Users browsing this forum: No registered users and 18 guests