Shipping Address

Hi,

during checkout, if I specify a country as""different shipping address"" nothing happens when I save changes. After sending the order, the country of the different shipping address that I have specified is the same as the one chosen in customer information.

What browser are you using? Does the web console say there are javascript errors?

Hi,
thanks for your interest. The problem occurred with chrome and firefox. The console show this allert.

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.

In the demo site, during checkou, if you try to change or add any value in the ""Different Shipping Address"" works, except only for the value country.

Hi,
how can you see in this image, during the ceckout process if I choose a differente country in the ""Different Shipping Address"" this not change.
Please, someone can help me to do that?

Confirmed. Will seek a solution for this.

In ~/includes/library/lib_customer.inc.php

On line ~143, Find

    self::$data['shipping_address']['country_code'] = self::$data['country_code'];
    self::$data['shipping_address']['zone_code'] = self::$data['zone_code'];

Replace with

  if (empty(self::$data['shipping_address']['country_code'])) {
    self::$data['shipping_address']['country_code'] = self::$data['country_code'];
    self::$data['shipping_address']['zone_code'] = self::$data['zone_code'];
  }
Chủ đề này đã bị đóng do không hoạt động trong thời gian dài. Không thể đăng bài vào chủ đề này.
View code on GitHub