Skip to content

BO - Order page - Recalculate shipping costs option enabled - the Shipping price not instantly updated #21267

Closed
@khouloudbelguith

Description

@khouloudbelguith
Contributor

Describe the bug

When setting the "Recalculate shipping costs after editing the order" option to Yes, the shipping cost are recalculated when editing the order in BO when the price of the order exceeds the carrier's "limit" but not instantly, we need to refresh the page
image

When we refresh the page
image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Have a carrier set up with a fee below a certain amount, free above it (For example "My Cheap carrier")
    image
  2. Go to BO > Shop Parameters > Order Settings
  3. Set "Recalculate shipping costs after editing the order" to Yes
  4. On FO, make an order with this carrier, under the limit amount
  5. On BO, edit the order to make it exceed the limit

Additional information

  • PrestaShop version: 1770rc1
  • PHP version: 7.1

Activity

prestashop-issue-bot

prestashop-issue-bot commented on Oct 2, 2020

@prestashop-issue-bot

Thanks for opening this issue! We will help you to keep its state consistent

khouloudbelguith

khouloudbelguith commented on Oct 2, 2020

@khouloudbelguith
ContributorAuthor

Related to: #20798
Related to: #21099

added
BOCategory: Back Office
BugType: Bug
CarriersLabel: Which BO under menu is concerned
OrderComponent: Which BO section is concerned
Order settingsLabel: Which BO under menu is concerned
ReadyStatus: Issue is ready to be worked on
MinorSeverity: minor bug > https://build.prestashop.com/news/severity-classification
on Oct 2, 2020
khouloudbelguith

khouloudbelguith commented on Oct 2, 2020

@khouloudbelguith
ContributorAuthor

Ping @jolelievre could be fixed with this PR: #20903?

Thanks!

added
Nice-to-haveKanban prioritization: issue could be included in next version
on Oct 2, 2020
jolelievre

jolelievre commented on Oct 2, 2020

@jolelievre
Contributor

Hi @khouloudbelguith

it is not directly related, I think what is missing here is just an ajax update of this carrier tab.
But yes, I think it's pertinent to add this small fix to the already existing PR indeed, I have to finish fixing another tricky bug but I'll add this to the PR right after.

Thank you

self-assigned this
on Oct 2, 2020

8 remaining items

added
ReadyStatus: Issue is ready to be worked on
and removed
Needs SpecsStatus: issue needs to be specified
on Dec 7, 2020
added
PR availableSolution: issue is being addressed
and removed
ReadyStatus: Issue is ready to be worked on
on Dec 14, 2020
added
Must-haveKanban prioritization: issue must be included in next version
and removed
Nice-to-haveKanban prioritization: issue could be included in next version
on Dec 15, 2020
modified the milestones: 1.7.7.1, 1.7.7.2 on Dec 23, 2020
Progi1984

Progi1984 commented on Jan 12, 2021

@Progi1984
Member

Fixed by #22367

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

1.7.7.xBranchBOCategory: Back OfficeBugType: BugCarriersLabel: Which BO under menu is concernedMinorSeverity: minor bug > https://build.prestashop.com/news/severity-classificationMust-haveKanban prioritization: issue must be included in next versionOrderComponent: Which BO section is concernedOrder settingsLabel: Which BO under menu is concernedPR availableSolution: issue is being addressedRegressionType: regression

Type

No type

Projects

No projects

Relationships

None yet

    Participants

    @eternoendless@Progi1984@sowbiba@marionf@jolelievre

    Issue actions

      BO - Order page - Recalculate shipping costs option enabled - the Shipping price not instantly updated · Issue #21267 · PrestaShop/PrestaShop