Jump to content
thirty bees forum
  • 0

carrier errors


dotray

Question

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

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

  • 0

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.

Link to comment
Share on other sites

  • 0

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();

 

Link to comment
Share on other sites

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...