Overview
                                            General
                                            Set Email
                                            Subscribe Email Info
                                            Send Brand
                                            Send Category
                                            Add To Cart
                                            Add To Wishlist
                                            Checkout Ids
                                            Click Image
                                            Comment On Product
                                            Remove From Cart
                                            Save Order
                                            Send Product
                                            Set Cart Url
                                            Visit Help Page
                                    
                CSV Feed
PHP SDK
API Integration
                                            Add Subscriber
                                            Remove subscriber
                                            Subscriber status
                                            Send Email
                                            Feedback
                                            Discounts
                                            Generate Discounts
                                            Unsubscribed Emails
                                    
                API For Partners
checkoutIds
This function must be called every time a visitor reaches the page where he can add the discount code - checkout page.
   var _ra = _ra || {};
   _ra.checkoutIdsInfo = [ product_id, product_id, ... ];
   if (_ra.ready !== undefined) {
       _ra.checkoutIds(_ra.checkoutIdsInfo);
   }
                checkoutIds function parameters
This function takes as a parameter an array containing all the IDs of the products that the visitor intends to purchase (ID`s of all products from the shopping cart).
| Field | Type | Required | Description | 
|---|---|---|---|
| product_id | number or text | True | The product id | 
checkoutIds function example
   var _ra = _ra || {};
   _ra.checkoutIdsInfo = [ 100, 110, 200 ];
   if (_ra.ready !== undefined) {
       _ra.checkoutIds(_ra.checkoutIdsInfo);
   }