|
@@ 89-93 (lines=5) @@
|
| 86 |
|
} |
| 87 |
|
} |
| 88 |
|
|
| 89 |
|
if ($request->isAjax()) { |
| 90 |
|
$this->response->addHeader('Content-Type', 'application/json'); |
| 91 |
|
|
| 92 |
|
return Convert::raw2json(array('result' => true)); |
| 93 |
|
} |
| 94 |
|
|
| 95 |
|
if ($backURL = $request->getVar('BackURL')) { |
| 96 |
|
return $this->redirect($backURL); |
|
@@ 115-119 (lines=5) @@
|
| 112 |
|
$this->getCart()->updateItemQuantity((int)$request->param('ID'), $quantity); |
| 113 |
|
$this->redirectBack(); |
| 114 |
|
|
| 115 |
|
if ($request->isAjax()) { |
| 116 |
|
$this->response->addHeader('Content-Type', 'application/json'); |
| 117 |
|
|
| 118 |
|
return Convert::raw2json(array('result' => true)); |
| 119 |
|
} |
| 120 |
|
if ($backURL = $request->getVar('BackURL')) { |
| 121 |
|
return $this->redirect($backURL); |
| 122 |
|
} |