Everything listed under: collections

  • Post Thumbnail

    TIL Thursday: Improve the Performance of Repeated GET Requests with Cached Models and Collections

    With cached Backbone models and collections, you can speed up repeated calls for the same data by accessing the results straight from the browser's memory. They short-circuit the GET requests of calls that browser has already made, and loads the existing results straight away.  Read More

  • Post Thumbnail

    Learn How to Make Code-Level Item Search API Calls

    The item search API can return data about your entire inventory. While it's easily accessible via URL, do you know the easiest ways to access it via the models and collections built into SuiteCommerce source code? Let's take a look.  Read More

  • Post Thumbnail

    Show a Shopper their Product Reviews with Product Data

    In this tutorial we're going to create a page in my account so that a shopper can log in and see what products they've reviewed. More than that, though, we're going to do something quite complicated, which is to pull item data that is associated with the items that they've reviewed. We're going to look at the search API, records and some frontend jujutsu.  Read More

  • Post Thumbnail

    Build a Testimonials Module: Part 3

    This is the third and final part of a series taking you through the process of adding a testimonials module to your site. In this part we're going to work with child and composite views, improve the user experience and, finally, display approved testimonials on the homepage in a carousel.  Read More

  • Post Thumbnail

    Developing Your First Custom SuiteCommerce Advanced Module: Part 2

    This article is the second in the series. The first introduced the SuiteCommerce Advance development tools and file structure; this article builds on the previous one, teaching you about models and collections. By the end of the article our code will be able to create records and use templates to display information on the frontend.  Read More