Response object is available only in a script run using ExecBeforeLoad method.
Add a product twice to the basket.
On server-side check if the product already exists in the basket.
If it exists, set response.allowReturn = false for blocking basket reload.
 | | Products |
|  | | Traveling |
|
|
|
Basket
Total:
|
|
See also Client-side documentation.
| |