How to fix the incompatible issue on backend with Custom Pricing extension?

Created by Rosa Truong, Modified on Thu, 12 May, 2022 at 11:09 AM by Rosa Truong

Issue:

We are using Magento M2.4.2; Request for Quote v1.2.0 and Custom Pricing (Price per customer) v1.0.7.

We create custom prices for the "B2B Customer" group used by the module Custom Pricing

Its price is SAR100. We created SAR50 for B2B Customer. All is working. 


However, when a customer created quote for the product (which is updated price by custom price module), this custom price is not reflected in the admin panel where we can see Manage Quote

This product's custom price is SAR50 (we can see on frontend). But, after making quote request its price shows SAR100 (regular price). Not affecting custom price here.


Solution:

When the admin edits the quote in the backend, it will create a new quote, and the custom pricing of the product is not updated, still following the original price.

Since the Custom pricing module does not support the function on the backend so two modules are not working well on the backend.

To solve this issue, please add these files to the site:

app/code/Bss/CustomQuoteExtension/Override/Model/Quote.php

app/code/Bss/CustomQuoteExtension/composer.json

app/code/Bss/CustomQuoteExtension/etc/di.xml

app/code/Bss/CustomQuoteExtension/etc/module.xml

app/code/Bss/CustomQuoteExtension/registration.php


If you have any issues, please feel free to contact us.

We're happy to support you.


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article