- 
						Forum
			
		
 
					 
			- 
				Main Forum
				
			
 
					 
			- 
				English Section
				
			
 
					 
			- 
				Virtuemart
				
			
 
					 
			- 
				Show Stock - VP - Smart Template
				
			
 
		
	
			
	
	
						Show Stock - VP - Smart Template		
	
	
	
		
	
	
	
	
	
		
		
				
	
		Λιγότερα
		Περισσότερα
		
			
									- 
						Δημοσιεύσεις: 296					
 
				
				
									- 
						Ληφθείσες Ευχαριστίες 0					
 
				
				
				
									- 
											
 
				
									- 
											
 
				
									- 
											
 
				
									- 
											
 
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						3 Χρόνια 11 Μήνες πριν				#191
		από infogate
	
	
		
			
			
				To show stock we should use the following customization to the following file
templates/vp_smart/layouts/default/html/com_virtuemart/productdetails/default.php
<?php $show_stock = VmConfig::get('display_stock', 1) ; ?>
	<?php echo ($this->product->product_in_stock - $this->product->product_ordered); ?>
Everything would look perfect if the following layout is used
.product-stock-sku-cont.row.row-condensed {
   margin: 0 !important;
}
.product-stock-sku-cont.row.row-condensed::before {
   content: "In Stock: ";
   display: inline;
   font-weight: bold;
}
.product-sku-cont.col-sm-12 {
   padding-left: 0 !important;
} 			 
							
					 
	 
			Παρακαλούμε Σύνδεση  ή Δημιουργία λογαριασμού για να συμμετάσχετε στη συζήτηση.
	
		
			 		
													 
	 
 
	
		
	
	
	
	
	
	
 
	
		- 
						Forum
			
		
 
					 
			- 
				Main Forum
				
			
 
					 
			- 
				English Section
				
			
 
					 
			- 
				Virtuemart
				
			
 
					 
			- 
				Show Stock - VP - Smart Template
				
			
 
		
	
	
	
	
		Χρόνος δημιουργίας σελίδας: 0.067 δευτερόλεπτα