Welcome, Guest
Username: Password: Remember me
Use this Category for your support questions about Virtuemart Template - CleanMart (SKU# FLEX-00015)

TOPIC: GTIN (EAN,ISBN)

GTIN (EAN,ISBN) 7 years 10 months ago #14208

I have added ISBN number by each of our books under Product Information - however I see no way of showing them on the shop front - could you assist please?
The administrator has disabled public write access.

GTIN (EAN,ISBN) 7 years 9 months ago #14235

Hi,

Open the Product Details Page's PHP file:
/templates/YOUR_TEMPLATE/html/com_virtuemart/productdetails/default.php (or flexv2.php which ever layout you use)

and inject this PHP expression to where ever you want to show the ISBN number:
<?php echo $this->product->product_gtin ?>

For instance, if you want to show ISBN under the Product Name on front-age, then insert that PHP expression after:
<?php // Product Title ?>
<div class="FlexibleProductDetailProductName"><?php echo $this->product->product_name ?></div>
<?php // Product Title END ?>

like this:
<?php // Product Title ?>
<div class="FlexibleProductDetailProductName"><?php echo $this->product->product_name ?></div>
<?php // Product Title END ?>
<p><?php echo $this->product->product_gtin ?></p>

regards.
The administrator has disabled public write access.
Time to create page: 0.131 seconds

MaterialMart

for Virtuemart 3

Google's Material Design has finally arrived to Virtuemart

Virtumart Template - MaterialMart Virtumart Template - CleanMart Virtumart Template - CleanMart Virtumart Template - CleanMart

Fully responsive!

Buy Now   |   Live Demo