HOW CREATE ITEM IN PRODUCT ITEN IN TEMPLATE ?

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sat Nov 16, 2013 2:04 am
Reply with quote
Report this post
HELLO !!!!
http://www.wdcorp.com.br/index.php/high ... ts-ds46lo4
user: teste pass: teste

Hi i need create one div in left page product virtue mart ?

SEE idea : http://www.wdcorp.com.br/LIXO/template_ ... e_iten.jpg

Help-me
GUILHERME BORES
User avatar
Gold Boarder

teitbite
Sat Nov 16, 2013 5:05 pm
Reply with quote
Report this post
Hi

Will this additional box be static or you will update it everytime? Either way it will require a custom work and hacking to product detailed layout. We do not support that, but if you want i can take care of this in my private time for a small fee. Please just let me know.
User avatar
Moderator

GK User
Sat Nov 16, 2013 6:22 pm
Reply with quote
Report this post
I have toput adifferentimage andtexton eachproduct.
The updateshould notbe all thetime ...butmaybe in a fewmonths
if the manufacturerchange anything... maybe..ButI do not think...

Regard's
GUILHERME BORGES
027 3055 0137
User avatar
Gold Boarder

teitbite
Tue Nov 19, 2013 4:22 am
Reply with quote
Report this post
Hi

I think You should use a module for that, so You will be able to administer the content of this box. To be able to have a module incide VM product detail page please add this code:

Code: Select all
      <?php
         $modules =& JModuleHelper::getModules('extra_field');
         foreach ($modules as $module) {
            echo JModuleHelper::renderModule($module);
         }
      ?>


to /html/com_virtuemart/productdetails/default.php in a place where You will want to have this module than using a position called "extra_field" You will be able to access it.

That's one of the ideas. I believe there may even be plugins around which can do what You want.
User avatar
Moderator

GK User
Fri Nov 22, 2013 1:28 am
Reply with quote
Report this post
Boy .........!!!! I'll try ... I'm not very good at programming yet ... Anything I scream there ... the site is getting kinda cool .... after a while I post here for you to see ... Thank you .. Champion!
User avatar
Gold Boarder

teitbite
Fri Nov 22, 2013 9:10 pm
Reply with quote
Report this post
Hi

There is not much of a programming, all code is there, You just need to copy it in a right place. For example if You want this under the title than put in after line 139:

Code: Select all
<h1><?php echo $this->product->product_name ?></h1>


etc.
User avatar
Moderator


cron