Post by kk_29 » Sun Jun 03, 2012 7:12 am

Hi.I want to put a welcome module to a custom position in product page by editing product.tpl.I know where to enter code but dont know code itself.So what code should i enter?

Newbie

Posts

Joined
Sat May 26, 2012 8:36 am

Post by dirtboy » Sun Jun 03, 2012 8:06 am

you know you can use the default welcome module and place in on product pages, content top, bottom, right or left. you dont have to deal with the product.tpl

“Anyone who stops learning is old, whether at twenty or eighty. Anyone who keeps learning stays young. The greatest thing in life is to keep your mind young.”
- Henry Ford


User avatar
Active Member

Posts

Joined
Wed Mar 07, 2012 3:04 pm

Post by kk_29 » Sun Jun 03, 2012 9:24 am

I have to place it somewhere outside content top, bottom, right or left.

Newbie

Posts

Joined
Sat May 26, 2012 8:36 am

Post by kk_29 » Tue Jun 05, 2012 5:14 am

No one knows?

Newbie

Posts

Joined
Sat May 26, 2012 8:36 am

Post by ad1984 » Sun Jul 22, 2012 6:34 pm

Hi this line of code:

Code: Select all

<div>
<?php 
	$welcome = $this->config->get('welcome_module'); 
	echo html_entity_decode($welcome[1]["description"][1]);		
?>
</div>

Y84.nl / webdesign
--
Check onze OpenCart Product Configurator: http://www.opencart.com/index.php?route ... on_id=9728


New member

Posts

Joined
Wed Jan 25, 2012 7:00 am
Who is online

Users browsing this forum: Amazon [Bot] and 9 guests