- Posts: 64
- Thank you received: 1
Center stock icon & show stock quantity in product detail
- Daniel Blasco
- Topic Author
- Offline
- Senior Boarder
Less
More
11 years 2 months ago #3790
by Daniel Blasco
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
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:
Please Log in or Create an account to join the conversation.
- Daniel Blasco
- Topic Author
- Offline
- Senior Boarder
Less
More
- Posts: 64
- Thank you received: 1
11 years 2 months ago #3815
by Daniel Blasco
Replied by Daniel Blasco on topic Re: Center stock icon & show stock quantity in product detail
Any solution to my question?
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- Daniel Blasco
- Topic Author
- Offline
- Senior Boarder
Less
More
- Posts: 64
- Thank you received: 1
11 years 2 months ago #3818
by Daniel Blasco
Replied by Daniel Blasco on topic Re: Center stock icon & show stock quantity in product detail
I solved the first part of my question. Missing me know if you can display the number of products (image2.jp)
Regards.
Regards.
Please Log in or Create an account to join the conversation.
- Trung Duong
- Offline
- Administrator
Less
More
- Posts: 2284
- Thank you received: 998
Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
Notice: Undefined variable: end_tag_params in /home/omegatheme/public_html/libraries/kunena/External/Nbbc/src/BBCode.php on line 2321
11 years 2 months ago #3899 by Trung Duong
Replied by Trung Duong on topic Re: Center stock icon & show stock quantity in product detail
Hello,
You can insert this code to file templates/.../html/com_virtuemart/productdetails/default.php
You can insert this code to file templates/.../html/com_virtuemart/productdetails/default.php
Code:
<span class="product-in-stock">
<?php echo $this->product->product_in_stock . ' item(s) in stock'; ?>
</span>
Support email: services(at)omegatheme(dot)com
Follow Us to keep updated!
[img]...[/img]
[img]...[/img]
[img]...[/img]
Please Log in or Create an account to join the conversation.
Time to create page: 0.255 seconds