Closed danielchicote closed 5 years ago
Hello - we've used this extension with more than one shipping option, so I'd be surprised if it's just that fact that's causing your issue.
In terms of debugging - take a look at the XHR request that's being fired when you save the shipping method and see if you can spot any problem there.
I have found that the error only happens when the store view is "spanish", the bug looks like is locale related.
DateTime::__construct(): Failed to parse time string (30/10/2018 12:13:24) at position 0 (3): Unexpected character
Trace:
Looks like you're right. Instead of passing a Zend_Date
into the DateTime
constructor you could format it to locale neutral format, such as Zend_Date::RFC_3339
?
I have changed 'EEEE, dSS MMMM' to 'EEEE, d MMMM' in app\code\community\Meanbee\EstimatedDelivery\Helper\Data.php:
public function getEstimatedDeliveryFromString($shippingMethod, $date = null, $format = 'EEEE, dSS MMMM') public function getEstimatedDeliveryToString($shippingMethod, $date = null, $format = 'EEEE, dSS MMMM') public function getDispatchDateString($shippingMethod, $date = null, $format = 'EEEE, dSS MMMM')
Now it works perfect.
Great module, thanks for your work.
I've raised #8 to permanently fix this issue, regardless of locale.
Hello, i'm trying to use meanbee shippingrules + estimateddelivery couple and it works well, but when there are more than one shipping option the checkout fails and returns the customer to the cart. The shipping rules are ok, and i have one estimated delivery for every specific option.
In my log files i can't see the reason.