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

TOPIC: Show "In Stock" number in the product details page

Show "In Stock" number in the product details page 10 years 7 months ago #5951

Hi,

You can view the product page, on the side of the photo and under the SKU and the rating, the amount of storage?

Thanks,

Franco
Last Edit: 10 years 7 months ago by Support.
The topic has been locked.

Amount of storage 10 years 7 months ago #5963

Hi,

I don't know what you are talking about.
Please be more descriptive. Provide me an URL to let me see it.

Regards.
The topic has been locked.

Amount of storage 10 years 7 months ago #5999

Hi,

I want to know if it was possible, once you have selected the product, display the quantity of the product in stock.

Under the SKU and the Rating?

Thanks and sorry for my bad English.

Franco
Attachments:
The topic has been locked.

Amount of storage 10 years 7 months ago #6004

Follow my steps:

1- Open Virtuemart Backend and make sure "Display stock level" is enabled.

Attachment Pasted_Image_8_14_13_2_45_AM.png not found



2- Open this PHP file:

/templates/flexible_lightmart/html/com_virtuemart/productdetails/default.php

Look at around 453rd line, and add this line:
<div class="FlexibleStockNumber">In Stock: <?php echo $this->product->product_in_stock ?></div>

Attachment Pasted_Image_8_14_13_2_50_AM.png not found



It will show the "Stock Number" there, something like:

Attachment ScreenShot2013-08-14at2.54.02AM.png not found



Furthermore; if you would like, you can define some CSS rules for this new element by using the .FlexibleStockNumber class name, something like:
.FlexibleStockNumber {
	color:green;
}

(Use this CSS file for any custom CSS rules: /templates/flexible_lightmart/css/custom.css)
The topic has been locked.

Amount of storage 10 years 7 months ago #6006

Hi,

Thank you for your help. It was just what I wanted. As always, a great support.

Regards,

Franco
The topic has been locked.

Amount of storage 10 years 7 months ago #6008

Sure Franco, your welcome.

Case solved. Topic is closed for clearance.

Regards,
Support & Development.
The topic has been locked.
Time to create page: 0.190 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