Post by lfairban » Thu Jun 09, 2016 9:40 pm

I want to add the part number, that is seen in product.tpl (detail page) and add it to the category.tpl (results page).

What's the process to get this bit of php to work in the results page?

Code: Select all

<?php echo $text_model; ?> <?php echo $model; ?>

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am

Post by straightlight » Thu Jun 09, 2016 9:48 pm

Attached is a VQMod XML file. You can then apply the code in your category.tpl file as:

Code: Select all

<?php echo $text_model; ?> <?php echo $product['model']; ?>

Attachments

Product Category Model

Last edited by straightlight on Thu Jun 09, 2016 9:50 pm, edited 1 time in total.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Thu Jun 09, 2016 9:50 pm

Instructions edited above.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by lfairban » Thu Jun 09, 2016 10:32 pm

Worked great! Thanks.

User avatar
New member

Posts

Joined
Fri Feb 28, 2014 5:01 am
Who is online

Users browsing this forum: No registered users and 8 guests