Thanks, Nicolas,
I've fond the cause of the problem.
It was caused by a function I put in plugin as below.
public function onAfterCartSave(&$element) {
$ifCheckout = UJhtmlHelper::parseUrl($_SERVER['HTTP_REFERER'], 'ctrl');
if($ifCheckout=='checkout') {
$js = '<script language="JavaScript">
window.opener.location.reload();
</script>';
echo $js;
}
}
I want to refresh the cart by refresh this page when user click on add to cart button in checkout window.
It works in most case, only the add to cart button ajax was disturbed, or what shall I do to achieve the purpose.
Thanks