because i only need description to be show in my product page.
Thanks
Attachments
Screen Shot 2014-11-10 at 10.49.31 PM.png (299.11 KiB) Viewed 11480 times
Code: Select all
<p><?php echo $product['description']; ?></p>
- bestseller.tpl
featured.tpl
latest.tpl
special.tpl
- category.tpl
compare.tpl
manufacturer_info.tpl
product.tpl
search.tpl
special.tpl
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!
The following block of code, found at lines 549 to 552, defines the minimum height:
Code: Select all
.product-grid .product-thumb .caption {
min-height: 210px;
padding: 0 10px;
}
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!
I'm also trying to remove this description from category view. Tell me, do I have to remove line <p><?php echo $product['description']; ?></p> from all those .tpl files> It sounds logical to remove it only from category.tpl as category view is the only view I want the description to disappear from. However when I remove this line category.tpl nothing happens
I Don't want to remove the discription but I want to make it custom. Now it takes the fist few karakters of the product discription. I want a custom made discription, it would be ideal when I can write it on a new added form on the product page.
Replace
Code: Select all
'description' => utf8_substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',
Code: Select all
'description' => (int) $this->config->get('config_product_description_length') == 0 ? '' : utf8_substr(strip_tags(html_entity_decode($product_info['description'], ENT_QUOTES, 'UTF-8')), 0, $this->config->get('config_product_description_length')) . '..',
catalog\controller\product
category.php
product.php
search.php
and
catalog\controller\module
latest.php
featured.php
bestseller.php
You may like my extension Live Theme Editor which helps you to customize your theme visuallyju5t4fun wrote:Hi
I trying to change the price font size. where can I change it on the latest, main catalogue and special price? THanks
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
Attachments
missing description.JPG (11.32 KiB) Viewed 8656 times
You may wanna try adding the code back to the place from where you removed. Maybe follow the second post by fido-x and add the script[instead of removing it ].jesline_91 wrote:Somehow I could have removed my 'Description' word. How do I get it back
BeeBee
When the going gets weird, the weird turn Pro!!
Hi, What did you do?jesline_91 wrote:Somehow I could have removed my 'Description' word. How do I get it back
http://www.viethemes.com - OpenCart turtorials, news, tips and stricks, extension
Our extensions:
Visual Theme Editor - Powerful tool for customizing style of any theme visually
Live Theme Editor - Customize layout, colors, backgrounds, fonts of the default theme
Theme Animation - Animation Editor for any theme
Extra Positions PRO, Custom JavaScript, Custom CSS and others
I tried exactly what is explained in the post lie removing this line from files mentioned;
<p><?php echo $product['description']; ?></p>
and I also changed Hieght to 170 in the stylesheet.css
but nothing happened at all to the front-end, could you please assist what and where I am missing something. Any help would highly be appreciated.
Users browsing this forum: No registered users and 58 guests