Post by lasa » Tue Mar 25, 2014 10:05 pm

Hi,
Hindsight being 20/20 I should have add some text and a link at the bottom of the description on all 1,200 pages of product... I didn't.
I read where maybe I can add it to product.tpl (?) but I'm not sure where or how for it to be included at the bottom/end of all descriptions.
Using latest OC (I think 1.56?)
Cheers,
Lasa

Active Member

Posts

Joined
Tue Apr 16, 2013 9:11 am

Post by billynoah » Tue Mar 25, 2014 10:54 pm

How: Requires basic understanding of HTML.
Where: Depends where you want to position it.

Image


Active Member

Posts

Joined
Tue Jan 15, 2013 12:46 pm

Post by lasa » Tue Mar 25, 2014 11:10 pm

Thanks for the heads up.
I got the html basics down...I need it to show at the bottom of the description area... but as part part of the description.

Product Description:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vestibulum ultricies laoreet nulla in aliquam. In in nibh augue. In in erat ut mi laoreet lobortis sed vel est. Sed condimentum sagittis nisi, id tristique mi feugiat ac. Morbi sit amet turpis nec tellus imperdiet vulputate. Praesent sit amet blandit nibh, nec dictum tortor. Pellentesque laoreet, risus non adipiscing elementum, lorem elit luctus velit, quis pharetra dolor ligula at tellus.

I need it to appear here

Thanks,
Lasa

Active Member

Posts

Joined
Tue Apr 16, 2013 9:11 am

Post by labeshops » Tue Mar 25, 2014 11:16 pm

Edit product.tpl and look for:

Code: Select all

   <div id="tab-description" class="tab-content"><?php echo $description; ?></div>
Add whatever text you want before the ending </div> for example

Code: Select all

  <div id="tab-description" class="tab-content"><?php echo $description; ?>
<br/>
Your text here. </div>

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA

Post by lasa » Sat Mar 29, 2014 7:56 am

Wow...Worked like a champ!
what a time saved thank you thank you thank you!
Lasa2

Active Member

Posts

Joined
Tue Apr 16, 2013 9:11 am

Post by labeshops » Sat Mar 29, 2014 8:07 am

No problem. Glad I could help :)

Running Opencart v3.0.3.9 with multi-stores and the default template from https://www.labeshops.com which has links to all my stores.


User avatar
Expert Member

Posts

Joined
Thu Aug 04, 2011 4:41 am
Location - Florida, USA
Who is online

Users browsing this forum: Amazon [Bot], Bing [Bot] and 18 guests