---
schema_version: "1"
id: 21da5fe365c81f83808ba6c2abad22051da49f5086588a302284323d23d8798d
title: isnext Element
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/commerce-cloud/b2c-commerce/guides/isml/b2c-isnext.md
canonical_url: https://developer.salesforce.com/docs/commerce/pwa-kit-managed-runtime/guide/b2c-isnext.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 66cb773e1dd49c4f0366f654b88d4e9627be8067231734d61ccc780f5a62329b
products:
  - Composable Storefront
  - Salesforce APIs
---
# isnext Element

Jump forward within a loop to the next list element of an iterator.

## Syntax

```
<isnext/>
```

## Purpose

This tag affects only the iterator of the inner loop. If an iterator has already reached its last element, or an iterator is empty when an `<isnext>` is processed, the loop is terminated instantly.

`<isnext>` can be used only within an `<isloop>... </isloop>` loop structure.

## Example

The following example shows how to output the names of two products one after another:

```
<isloop iterator="${pdict.Products}" var="product">
  <isprint value="${product.name}">
  <isnext/>
  <isprint value="${product.name}"> <BR>
</isloop>
```
