---
title: "To display the UPCE/BAN/ISBN on the product page"
description: "Display a UPC, EAN or ISBN number on the product page by adding the default_sku.php and view_sku.php template overrides."
url: "https://docs.j2commerce.com/common-overrides/to-display-the-upce-ban-isbn-on-the-product-page"
markdown_url: "https://docs.j2commerce.com/common-overrides/to-display-the-upce-ban-isbn-on-the-product-page.md"
last_updated: "2026-10-23T03:36:49+00:00"
version: "J2Store 4"
breadcrumbs:
  - title: "Home"
    url: "https://docs.j2commerce.com/"
  - title: "Common Overrides"
    url: "https://docs.j2commerce.com/common-overrides"
  - title: "To display the UPCE/BAN/ISBN on the product page"
    url: "https://docs.j2commerce.com/common-overrides/to-display-the-upce-ban-isbn-on-the-product-page"
---

# To display the UPCE/BAN/ISBN on the product page

Navigate to **“/templates/your template/html/com_j2store/templates/your site’s sub-template/“,** create a file called ”**default_sku.php**” and paste the following content there:

```
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/

// No direct access
defined('_JEXEC') or die;
?>

<?php if(!empty($this->product->variant->sku)) : ?>
<div class="product-sku">
<span class="sku-text"><?php echo JText::_('J2STORE_SKU')?>
</span>
<span itemprop="sku" class="sku">
<?php echo $this->product->variant->sku; ?>
</span>
<br>
<span itemprop="upc" class="upc>
<?php echo $this->product->variant->upc; ?>
</span>
</div>
<?php endif; ?>
```

Create another file called ”**view_sku.php**” and paste the following content there:\\

```
<?php
/**
* @package J2Store
* @copyright Copyright (c)2014-17 Ramesh Elamathi / J2Store.org
* @license GNU GPL v3 or later
*/

// No direct access
defined('_JEXEC') or die;
?>
<?php if($this->params->get('item_show_product_sku', 1) && !empty($this->product->variant->sku)) : ?>
    <div class="product-sku">
        <span class="sku-text"><?php echo JText::_('J2STORE_SKU')?> :</span>
        <span itemprop="sku" class="sku"> <?php echo $this->product->variant->sku; ?> </span>
        <br>
        <span itemprop="upc" class="upc"> <?php echo $this->product->variant->upc; ?> </span>
    </div>
<?php endif; ?>
```

This would display the EBAN in the list view and item view pages.
