Shopping Basket

 x 

Cart empty


Log In

Find Us Elsewhere

SSL

Forum Search

Keyword

VM2 Product Snapshot Pro

  • vladimirvlko
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
10 months 1 week ago #8090 by vladimirvlko
VM2 Product Snapshot Pro was created by vladimirvlko
How to make that in the absence of a product in the warehouse, instead of the number 0, it was written "The product is out of stock"?

Please Log in or Create an account to join the conversation.

More
10 months 6 days ago #8091 by boggler
Replied by boggler on topic VM2 Product Snapshot Pro
In the file vm2productsnapshotpro.php line 693 you can change
$list->stock = JTEXT::_('VM2PRODUCTSNAPSHOTPRO_IN_STOCK').$stock;	

to this
if($stock == 0)
{
$list->stock = "The product is out of stock";
}
else
{
$list->stock = JTEXT::_('VM2PRODUCTSNAPSHOTPRO_IN_STOCK').$stock;
}

Please Log in or Create an account to join the conversation.

Moderators: boggler
Time to create page: 0.220 seconds

Donate to Us

If you like our extensions, consider making a donation to say thanks.