No stock quantity on product page

18.04.2025 20:21
#1
heinzm
Joomshopping forum user no avatar
Name: heinz
11.02.2012
Сообщения: 98
Quote
No stock quantity on product page

The stock quantity is displayed in the product list.
But it's not shown in the product details.
How can I change this?
No stock quantity on product page


Joomla: 5.2.6
JoomShopping: 5.6.1
PHP: 8.3.20
MySQL: 8.0.42
Website Url: www.juwelen-binder.at
 
18.04.2025 21:11
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Сообщения: 28003
Quote
Aw: No stock quantity on product page

Install
Joomshopping Template gray 2.8.11

or
change files:
components\com_jshopping\templates\joomshopping_flex\product\product_default_1.php
components\com_jshopping\templates\joomshopping_flex\product\product_default_2.php

Add code:

<?php if ($this->config->product_show_qty_stock){?>
<div class="qty_in_stock">
<?php print Text::_('JSHOP_QTY_IN_STOCK')?>:
<span id="product_qty"><?php print Helper::sprintQtyInStock($this->product->qty_in_stock);?></span>
</div>
<?php }?>

before code:
<?php print $this->_tmp_product_html_before_buttons;?>

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.