Post by jorem » Fri Feb 05, 2021 10:21 pm

OC 3.0.3.6. no theme
1. When viewing category page, html tags are removed from product description. No line breaks, no spaces, etc. The original text is a clutter. (At the actual product page, it's fine, though). See linked image. How can I remedy this?
2. Any way to limit the number of characters in the product description in the category page to e.g. 100 and add e.g. three periods (dots) after?
Thanks!

Attachments

mess.jpg

mess.jpg (146.13 KiB) Viewed 487 times


Danne
----------------------------
https://proformica.com


Active Member

Posts

Joined
Thu Oct 07, 2010 9:42 pm

Post by by mona » Fri Feb 05, 2021 11:48 pm

viewtopic.php?f=202&t=222357

You will find the same (or very similar) code in catalog/controller/product/category.php

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am

Post by cedlinx » Wed Feb 17, 2021 4:25 pm

by mona wrote:
Fri Feb 05, 2021 11:48 pm
viewtopic.php?f=202&t=222357

You will find the same (or very similar) code in catalog/controller/product/category.php
Hello,
I would like to have multiple lines in my product description on the home page. For example, I have 3 or more product varieties and I want to list them all along with their prices (I have disabled product price). So in the product description, I want to have something like:

10kg - $5.00
25kg - $12.00
50kg - $20.00

Can you help me with that?

Thank you.

Newbie

Posts

Joined
Fri Dec 04, 2020 5:19 pm

Post by mikeinterserv » Thu Feb 18, 2021 12:30 am

I can make an OCMod for you that will allow you to enter the data like that in product description and display how you expect.
What OC version

Active Member

Posts

Joined
Thu May 28, 2020 6:55 am
Location - Wales

Post by by mona » Thu Feb 18, 2021 1:01 am

cedlinx wrote:
Wed Feb 17, 2021 4:25 pm
by mona wrote:
Fri Feb 05, 2021 11:48 pm
viewtopic.php?f=202&t=222357

You will find the same (or very similar) code in catalog/controller/product/category.php
Hello,
I would like to have multiple lines in my product description on the home page. For example, I have 3 or more product varieties and I want to list them all along with their prices (I have disabled product price). So in the product description, I want to have something like:

10kg - $5.00
25kg - $12.00
50kg - $20.00

Can you help me with that?

Thank you.
It can be done, but there are a few questions.
1. Is it only in the thumbs (product description in categories) or in the product page also?
2. Is it only on the homepage or the thumbs everywhere?

DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.


Spinning Social : Links : Menus : Payments : Socials : Ads : Screen Backgrounds : Galleries : Headers : Banners : Promos


Active Member

Posts

Joined
Mon Jun 10, 2019 9:31 am
Who is online

Users browsing this forum: No registered users and 29 guests