- Posts: 2
- Thank you received: 0
short the title name of my HikaShop Content Module
13 years 5 months ago #105899
by hemo
short the title name of my HikaShop Content Module was created 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
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.
13 years 5 months ago #105914
by Xavier
Replied by Xavier on topic short the title name of my HikaShop Content Module
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:
By:
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;
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.
13 years 5 months ago #105936
by hemo
Replied by hemo on topic short the title name of my HikaShop Content Module
Thank you very much ,.....
Please Log in or Create an account to join the conversation.
Time to create page: 0.075 seconds