You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Use ccRestClient on Article page?

edited Feb 21, 2017 6:40PM in Commerce 3 comments

Summary

Questions on how to use ccRestClient on an article page in OCC

Content

p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; -webkit-text-stroke: #000000} p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; -webkit-text-stroke: #000000; min-height: 17.0px} p.p3 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; color: #333333; -webkit-text-stroke: #333333} p.p4 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Calibri; color: #333333; -webkit-text-stroke: #333333; min-height: 17.0px} span.s1 {font-kerning: none} span.s2 {font-kerning: none; background-color: #ffffff} span.s3 {font-kerning: none; background-color: #fffefe}

I have a widget on an article page that basically makes api calls using jQuery 

$.getJSON('/ccstoreui/v1/products?categoryId=' + categoryID, {}, function(data) { //code code code });

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!