Skip to main content

short the title name of my HikaShop Content Module

More
13 years 5 months ago #105899 by hemo
I have content module showing my latest products, the name of the title is too long which make the (add to cart) not is the same line, some titles is too line and some three line, i want to short them to two words only.

so please help me to adjust the title into 2 or 3 words.

Thank you very much

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

More
13 years 5 months ago #105914 by Xavier
Hi,

You have to edit the view "product / listing_img_title" (or another one depending of which one you use) from the menu Display > Views.
Then replace:
Code:
echo $this->row->product_name;
By:
Code:
$pname = explode(' ',$this->row->product_name); echo $pname[0].' '.$pname[1];
The following user(s) said Thank You: hemo

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

More
13 years 5 months ago #105936 by hemo
Thank you very much ,.....

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

Time to create page: 0.075 seconds
Powered by Kunena Forum