Jump to content
thirty bees forum

Question

Posted

This occurred after playing with the ranges, switching Carrier billing weight to price and back & saving.

I get a "Error thrown: [object Object] Text status: parsererror'" when trying to save some edits to carrier.  Ranges don't change when I think I successfully saved it.
I deleted/readded the carrier and now the carrier name and transit time is missing from the checkout page.


I think it's a PS bug that no one fixed until recently.

https://github.com/PrestaShop/PrestaShop/issues/12577#issuecomment-473379889

5 answers to this question

Recommended Posts

  • 0
Posted

Same happened to me a while ago. Got the same error.


Was unable to solve it, so I deleted the carrier and created new one with same settings which worked ok. (TB 1.0.8 migrated from PS)

  • 0
Posted

Deleting the carriers didn't fix everything for me.   The name/transit time still doesn't show up.

I also noticed new rows being added to tb_carrier each time I edit the carrier; same with the 30bz demo.

  • 0
Posted

Ya I don't really know my way around github so I found the pull link afterwards.  Had to change the vars because I couldn't save the upper range but switching the billing price/weight back and forth is fine now.

                $range = $carrier->getRangeObject((int) $rangeType);
                $range->id_carrier = (int) $carrier->id;
                $range->delimiter1 = (float) $delimiter1;
                $range->delimiter2 = (float) $rangeSup[$key];
                $range->save();

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...