Post by fido-x » Fri Jun 10, 2016 7:40 pm

coldrex wrote:Like this:

<span class="price-tax"><?php echo $text_tax; ?><br /><?php echo $product['tax']; ?></span>

Nothing.
No. Put the <br /> before the opening <span class="price-tax">. Also, don't forget to clear and refresh your modifications.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by coldrex » Fri Jun 10, 2016 7:54 pm

Done, but nothing.

Also cleared all modifications.

User avatar
New member

Posts

Joined
Thu Jun 07, 2012 10:05 pm

Post by fido-x » Fri Jun 10, 2016 8:01 pm

Could you provide a link to your site?

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by coldrex » Fri Jun 10, 2016 8:05 pm

PM.

User avatar
New member

Posts

Joined
Thu Jun 07, 2012 10:05 pm

Post by coldrex » Sat Jun 11, 2016 8:53 pm

fido-x wrote:
fido-x wrote:Look in the modules folder in your theme's template directory (catalog/view/theme/default/template/module/). The files you should be looking for are:
  • bestseller.tpl
    featured.tpl
    latest.tpl
    special.tpl
Just the files listed. They are the only modules that have a product description.
Restored initial css file and done again.

Nothing.

User avatar
New member

Posts

Joined
Thu Jun 07, 2012 10:05 pm

Post by fido-x » Sat Jun 11, 2016 10:00 pm

Did you refresh your modification cache?

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by coldrex » Sat Jun 11, 2016 10:03 pm

I got it work here:

catalog/view/theme/default/template/product/category.tpl

On the category page now there is no description.

User avatar
New member

Posts

Joined
Thu Jun 07, 2012 10:05 pm

Post by fido-x » Sat Jun 11, 2016 10:16 pm

fido-x wrote:Look in the modules folder in your theme's template directory (catalog/view/theme/default/template/module/). The files you should be looking for are:
  • bestseller.tpl
    featured.tpl
    latest.tpl
    special.tpl
You'll find this:

Code: Select all

<p><?php echo $product['description']; ?></p>
at line 9 in the above modules.

Don't forget to refresh your modification cache.

Image
Modules for OpenCart 2.3.0.2
Homepage Module [Free - since OpenCart 0.7.7]
Multistore Extensions
Store Manager Multi-Vendor/Multi-Store management tool

If you're not living on the edge ... you're taking up too much space!


User avatar
Expert Member

Posts

Joined
Sat Jun 28, 2008 1:09 am
Location - Tasmania, Australia

Post by coldrex » Sun Jul 10, 2016 4:13 am

A very very strange thing again.

I deleted the string with $product['description']; , refreshed mod cache , but when I add featured products for any product- it still shows the description! :(

Wtf.

I really deleted this string from all possible files.

User avatar
New member

Posts

Joined
Thu Jun 07, 2012 10:05 pm

Post by sunnet » Mon May 14, 2018 8:03 pm

hello, I'm updating the site to the 3x version of opencart. I had made this change on version 2, but on 3 I can not find the files and the string to edit

Newbie

Posts

Joined
Tue Feb 13, 2018 12:09 am

Post by hussamalmoussa » Sun Nov 24, 2019 7:04 pm

I know it is too late but I tried to modified stylesheet.css and change
.product-grid .product-thumb .caption {
min-height: ((to half and it is working fine))


Posts

Joined
Sun Feb 25, 2018 3:54 pm

Post by rusty1379 » Thu Feb 27, 2020 7:52 pm

IP_CAM wrote:
Fri Jun 10, 2016 8:26 am
just remove:
<p><?php echo $product['description']; ?></p>
whereever you don't want to see the description, like in the
category.tpl - special.tpl - manufacturer.tpl - search.tpl - bestseller.tpl - featured.tpl - latest.tpl files
and change those two values in the stylesheet.css file,
from:

Code: Select all

.product-thumb .caption {
	padding: 0 20px;
	min-height: 180px;
}
.....
@media (max-width: 1200px) {
.product-grid .product-thumb .caption {
	min-height: 210px;
	padding: 0 10px;
}
to, by example:

Code: Select all

.product-thumb .caption {
	padding: 0 20px;
	min-height: 120px;
}
-----
@media (max-width: 1200px) {
.product-grid .product-thumb .caption {
	min-height: 120px;
	padding: 0 10px;
}
to re-adjust the minimum height of the Box.

Good Luck!
Ernie
Thanks for the info sir. will be greatfull for this Prepaid Card Status

Newbie

Posts

Joined
Sat Feb 22, 2020 5:16 pm
Who is online

Users browsing this forum: No registered users and 4 guests