AJAX Page - Using Response

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
Computers
Notebooks
Desktops
Traveling
Hotels
Flights
Cruises
 
Basket

Total:
 $


See also Client-side documentation.