Hide quantity

15.05.2012 16:40
#1
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Posts: 36
Quote
Hide quantity

Hi, how can I hide the quantity near the add to cart button?

 
15.05.2012 16:52
#2
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: Hide quantity

change template product

(Standart template)
components\com_jshopping\templates\default\product\product_default.php

 
15.05.2012 20:06
#3
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Posts: 36
Quote
Aw: Hide quantity

What string I have to change?

 
15.05.2012 20:10
#4
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: Hide quantity

<input type = "text" name = "quantity" id = "quantity" onkeyup="reloadPrices();" class = "inputbox" style = "width: 20px" value = "<?php print $this->default_count_product?>" /><?php print $this->_tmp_qty_unit;?>

change to

<input type = "hidden" name = "quantity" id = "quantity" value = "<?php print $this->default_count_product?>" />

 
19.05.2012 21:26
#5
originalmi
Joomshopping forum user no avatar
Name: andrea
11.04.2012
Posts: 36
Quote
Aw: Hide quantity

It works but it delete only te frame with the number and remains the text "Quantity:", how can I hide it?

 
19.05.2012 22:08
#6
webdesigner
(Support Team)
User webdesigner
Name: Admin
05.08.2010
Posts: 16487
Quote
Aw: Hide quantity

delete

<td class="prod_qty">
<?php print _JSHOP_QUANTITY?>:&nbsp;
</td>

 
Copyrights MAXXmarketing GmbH. All Rights Reserved