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
setCartUrl
This function saves the url of shop cart page. If you do not use this function, the url of shop cart page is taken when the checkoutIds functions is called.
var _ra = _ra || {}; _ra.setCartUrlInfo = { "url": "shopcart_page_url" }; if (_ra.ready !== undefined) { _ra.setCartUrl(_ra.setCartUrlInfo.url); }
setCartUrl function parameters
Field | Type | Required | Description |
---|---|---|---|
url | URL | True | url of shop cart page |
setCartUrl function examples
var _ra = _ra || {}; _ra.setCartUrlInfo = { "url": "http://site.com/shopcart-page" }; if (_ra.ready !== undefined) { _ra.setCartUrl(_ra.setCartUrlInfo.url); }