Pricing detailsSignup membership to become our value customer

Loading
Welcome, Guest
Username Password: Remember me
  • Page:
  • 1

TOPIC: Center stock icon & show stock quantity in product detail

Center stock icon & show stock quantity in product detail 1 year, 2 months ago #3790

Hello,
I need to center the stock icon in categories and also display the number of products in the product detail page. (see images)


Thanks!

Example:
www.disfracescarnavales.com/disfraces-de-animales
Attachments:
  • Attachment This image is hidden for guests. Please log in or register to see it.
  • Attachment This image is hidden for guests. Please log in or register to see it.

Re: Center stock icon & show stock quantity in product detail 1 year, 2 months ago #3815

Any solution to my question?
Thanks

Re: Center stock icon & show stock quantity in product detail 1 year, 2 months ago #3818

I solved the first part of my question. Missing me know if you can display the number of products (image2.jp)

Regards.

Re: Center stock icon & show stock quantity in product detail 1 year, 1 month ago #3899

  • trungdt
  • OFFLINE
  • Administrator
  • Posts: 1976
  • Karma: 110
Hello,

You can insert this code to file templates/.../html/com_virtuemart/productdetails/default.php

<span class="product-in-stock">
     <?php echo $this->product->product_in_stock . ' item(s) in stock'; ?>
    </span>
Support email: services(at)omegatheme(dot)com
-----------------------------------------------------------------------
This image is hidden for guests. Please log in or register to see it.
-----------------------------------------------------------------------

Follow Us to keep updated!

This image is hidden for guests. Please log in or register to see it.

This image is hidden for guests. Please log in or register to see it.

This image is hidden for guests. Please log in or register to see it.

This image is hidden for guests. Please log in or register to see it.

This image is hidden for guests. Please log in or register to see it.
  • Page:
  • 1
Time to create page: 1.36 seconds
Follow us