How to restricted the size of the product title and problem with an extension "Color option +"

ThemeBurn SupportForumsOpenCart ThemesPavilion OpenCart ThemeHow to restricted the size of the product title and problem with an extension "Color option +"

This topic has been marked as not resolved.

HI Support!

I have 2 questions

1.) please have a look on the title.jpg. you can see that the left product have a longer product name and the right one have a shorter product name, it make the title and price cannot be Aligned.

what i am looking for is to restrict the product name showing area not more than two line, and not less than two time, so as to make them align , i think two line is enough, if some of the product have a very long product name, it is OK for me to let them show part of their name.make the title and price align is very important, in the catalog page, home page , including the latest product and featured product module.

2.i have an extension which called “Color option +”, please have a look on the attachment, it can show the color option of the product in the catalog page, also in latest product and featured product.(in the default opencart theme)

but i find that in pavilion, the extension can only show the color option in the catalog page.
but not in the latest product and featured product module.please help to get it work in pavilion in latest product and featured product.

thank you very much!

Regard,
Ken Yeung

July 27, 2017 at 5:08 pm #60628

Hi,

1) Here is some custom code to force all grid view products go have a 2 line title:

.tb_grid_view .product-thumb h4 {
  overflow: hidden;
  height: 40px;
  text-overflow: ellipsis;
}

2) Open extension modification file and change the rule that modifies catalog/view/theme/*/template/product/category.tpl to modify catalog/view/theme/*/template/product/special.tpl as well.

You then need to remove the modification manually and reupload the modified one.

BR,
ThemeBurn team

August 1, 2017 at 5:37 pm #60763

thanks for the reply

1.) it is great!, the result is what i want! good!

2.) after i installed the modified modification file, the following error exist, so that i restore my backup.

Notice
: Undefined variable: color_options_status in
/home/XXX/domains/mysite.com/public_html/system/storage/modification/catalog/view/theme/BurnEngine/template/product/special.tpl
on line
92

please go to my site to have a look, i have uploaded the modified files which according to your instruction.

August 2, 2017 at 11:39 pm #60778

hello support
any update?

September 6, 2017 at 7:25 pm #61449

Hi,

It seems that the product options information is not added for the specials page but only category and modules. What you can do is to ask the extension developer to update its code a bit and add the extra info for the specials page too.

BR,
ThemeBurn team

September 18, 2017 at 12:06 pm #61695
Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.