Back to Easy Shop Support

Bug and Italian translation

Post a reply
175 views
luigi.rossi28678
luigi.rossi28678

Hi, in your code i have made a few changes, merged with your 1.0.6 version:

  • in updates/builder_table_create_pixel_shop_coupons.php: Schema::dropIfExists('pixel_shop_coupons'); //the right table is pixel_shop_coupons
  • in components/CartCountainer.php line 117: if(isset($cart->shipping_address['state'])){
    $thisCountry = Country::isEnabled()->where('code',$cart->shipping_address['country'])->first(); if($state = State::where([ ['code', $cart->shipping_address['state']],['country_id', $thisCountry->id] ])->first()) $this->page['shipping_states'] = $state->country->states; } (if i refresh browser during checkout process, the country is right but states are different and not associated with country. This because the previous search is only with state, so my state code (CE in Italy) has the same state Code of CE in Brazil
  • in models/gatewayssettings/fields.yaml line 200: paypal_use_sandbox: label: 'Use Sandbox for testing?' type: checkbox span: auto tab: 'pixel.shop::lang.fields.paypal' (for enable/disable/ paypal sandbox during checkout for testing)
  • edit many files for string translation (not only in english)
  • add italian translation if you prefer i can send you on email the modified files for next update.

Actually i see that fileds validation during checkout progress doesn't work... now i can place an order with empty customer fileds and the system give to me this error: UnexpectedValueException: The Response content must be a string or object implementing __toString(), "boolean" given. How i can fix this?

Thanks for support and best regards Luigi

pixeldev
pixeldev

Hi Luigi;

Apologies I responded so late.

I have reviewed all the problems and managed to solve them.

"edit many files for string translation (not only in english)"

  • Please send them to me, I will compare the files to improve the plugin.

"add italian translation if you prefer i can send you on email the modified files for next update."

  • Please, my email is ivan@pixel.hn

"Actually i see that fileds validation during checkout progress doesn't work... now i can place an order with empty customer fileds and the system give to me this error: UnexpectedValueException: The Response content must be a string or object implementing __toString(), "boolean" given. How i can fix this?"

  • I have managed to review this problem and I have not been able to get that error, could you send me a capture or the error log? I promise to solve it as soon as possible.
luigi.rossi28678
luigi.rossi28678

Thanks Ivan for your support... I just sent you an email

1-3 of 3

Reply to this discussion

You cannot edit posts or make replies: You should be logged in before you can post.