OrdaSoft forum
Welcome, Guest
Please Login or Register.    Lost Password?
How do I increase the short description length? (0 viewing) 
OrdaSoft template Support
Go to bottom Favoured: 0
TOPIC: How do I increase the short description length?
#10889
mose426 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
How do I increase the short description length? 2 Years, 10 Months ago Karma: 0  
Hi,

I am currently using this template for my project:
Template_OS_Watches_april_2013

I would like to know if there is anyway I can increase the short description limit on the VM front page, it is only showing 40 characters now. (Please check image in attachment.)

www.body-tox.com

Thank you.

Winson
 
Logged Logged  
  The administrator has disabled public write access.
#10908
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:How do I increase the short description length? 2 Years, 10 Months ago Karma: 7  
Hello,

Thanks for using our template.

You need to edit: components/com_virtuemart/views/category/tmpl/default.php
Find there:

<?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 40, '...' ?>

Change to:

<?php echo shopFunctionsF::limitStringByWord($product->product_s_desc, 200, '...' ?>

Best Regards,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
#10926
mose426 (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:How do I increase the short description length? 2 Years, 10 Months ago Karma: 0  
I have made the suggested changed to the default.php file.

However it didn't help with the product short description length in the vm homepage.
It still got cut off after 40 characters.
 
Logged Logged  
  The administrator has disabled public write access.
#10943
Ulanovatem (User)
Gold Boarder
Posts: 295
graphgraph
User Offline Click here to see the profile of this user
OrdaSoft
Re:How do I increase the short description length? 2 Years, 10 Months ago Karma: 7  
Hello,

Please try to do this changes here:
templatestemplate_namehtmlcom_virtuemartcategorydefault.php

As you can see it's a right solution
www.webholism.com/blog/sara/extend-the-v...s-to-400-characters/
forum.virtuemart.net/index.php?topic=107711.0

Thanks,
OrdaSoft team
 
Logged Logged  
  The administrator has disabled public write access.
Go to top
What are you looking for?
Anti-spam question: How many eyes has a typical person?