first commit
This commit is contained in:
13
apps/backend/modules/stProduct/templates/_avail.php
Normal file
13
apps/backend/modules/stProduct/templates/_avail.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
if (strlen($product->getFrontendAvailability()) > 10) {
|
||||
|
||||
echo st_truncate_text($product->getFrontendAvailability(), '10', '...');
|
||||
|
||||
} else {
|
||||
|
||||
echo $product->getFrontendAvailability();
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user