2017-08-06 94 views
0

我在安裝了accessshop主題的Magento 1.9網站上遇到問題。我在檢查產品時遇到了運送方法上的單頁問題。我用螢火蟲來分析ajax請求錯誤magento 1.9 onepage checkout卡在運輸方式

POST 
XHR 
http://localhost/checkout/onepage/saveShippingMethod/ [HTTP/1.1 200 OK 477ms] 
POST 
XHR 
http://localhost/checkout/onepage/saveShippingMethod/ [HTTP/1.1 200 OK 473ms] 
POST 
XHR 
http://localhost/checkout/onepage/saveShippingMethod/ [HTTP/1.1 200 OK 486ms] 

有什麼建議嗎?

響應頭

Cache-Controlno-store, no-cache, must-revalidateConnectionKeep-AliveContent-Length0Content-Typetext/html; charset=UTF-8DateSun, 06 Aug 2017 11:15:37 GMTExpiresThu, 19 Nov 1981 08:52:00 GMTKeep-Alivetimeout=5, max=100Pragmano-cacheServerApache/2.4.18 (Win32) OpenSSL/1.0.2e PHP/7.0.4Set-Cookiefrontend=n8402r130lcvu9nih5mc0m77m4; expires=Sun, 06-Aug-2017 12:15:38 GMT; Max-Age=3600; path=/; domain=35.154.241.195; HttpOnlyX-Content-Type-OptionsnosniffX-Frame-OptionsSAMEORIGINX-Powered-ByPHP/7.0.4X-XSS-Protection1; mode=block 

響應

+0

這意味着你有JS或錯誤的響應錯誤從服務器。你檢查了答覆嗎? – Neodan

+0

我已添加響應標頭 – Ananth

+0

您是否檢查過system.log,exception.log和php錯誤日誌? – Neodan

回答

0

打開此文件/app/design/frontend/base/default/template/checkout/onepage/payment.phtml和替換下面的代碼:

<fieldset> 
    <?php echo $this->getChildHtml('methods') ?> 
</fieldset> 
with (add id to fieldset) 

<fieldset id="checkout-payment-method-load"> 
    <?php echo $this->getChildHtml('methods') ?> 
</fieldset>