fbpx
Welcome, Guest
Username: Password: Remember me

Building something on Astroid?

Submit your site to be featured in our monthly Astroid Site Showcase!

Submit Now

TOPIC: (SOLVED)Hikashop intro text

Hikashop intro text 2 months 1 week ago #14494

  • Crash
  • Crash's Avatar
  • Offline
  • Elite Member
  • Posts: 262
  • Thank you received: 3
  • Karma: 0
Hi,

The product intro information stops midway through a word. Example here: banobathrooms-co-uk.stackstaging.com/sui...duct/16-black-cotton
I have contacted Hikashop but they say the product display is already heavily customised. Could you let me know the best way, without compromising the template, to have separate entries for the intro text and the main text.

Regards,
Colin.
The topic has been locked.

Hikashop intro text 2 months 1 week ago #14528

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2878
  • Thank you received: 460
  • Karma: 73
Hello,

Please wait. Let me check the best way to solve the query.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.
The following user(s) said Thank You: Crash

Hikashop intro text 2 months 3 days ago #14603

  • Crash
  • Crash's Avatar
  • Offline
  • Elite Member
  • Posts: 262
  • Thank you received: 3
  • Karma: 0
Hi,

This is what HikaShop say. Can you let me know what you think:

If you want it to cut at a certain place, you can add a read more tag to your product description.
Your product page layout is already heavily customized so I'm not sure what code you have to display the intro information.
By default, it's this code:

if(!empty($this->element->product_description)) {
$resume = substr(strip_tags(preg_replace('#<hr *id="system-readmore" */>.*#is','',$this->element->product_description)),0,300);
if (!empty($this->element->product_description) && strlen($this->element->product_description)>300)
$resume .= " ...<a href='#hikashop_show_tabular_description'>".JText::_('READ_MORE')."</a>";
echo JHTML::_('content.prepare',$resume);
}

and if you want to use another text than the description for that intro text, then you can create a custom product field via the menu Display>Custom fields and change the product_description text to the column name of your custom product field in the code above.
That code is normally in the product/show_tabular.php view file that you can edit via the menu Display>Views.
You can use the "Display view files" setting of the HikaShop configuration to know which view file is used where in HikaShop
The topic has been locked.

Hikashop intro text 2 months 1 day ago #14681

  • chandandeep
  • chandandeep's Avatar
  • Offline
  • Administrator
  • Posts: 2878
  • Thank you received: 460
  • Karma: 73
Hello,

They are right. Now, we are truncate the description into intro text. But you can create a custom field for intro text. That is the best way to show the intro text.

Thanks,
Chandan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.

Hikashop intro text 2 months 1 day ago #14727

  • Crash
  • Crash's Avatar
  • Offline
  • Elite Member
  • Posts: 262
  • Thank you received: 3
  • Karma: 0
Thanks Chandan.
I just wanted to make sure it wouldn't conflict with any of the template customising.
I will give it a go.

Regards,
Colin
The topic has been locked.

Hikashop intro text 2 months 19 hours ago #14738

  • nishtha
  • nishtha's Avatar
  • Offline
  • Administrator
  • Posts: 322
  • Thank you received: 36
  • Karma: 7
Hi,

Perfect issue solved then!

Thanks,
Nishtha
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The topic has been locked.
Time to create page: 0.144 seconds

JD Builder - The Next Generation
Joomla Page Builder


Now Design any Layout with Drag and Drop Interface.