N
N
Nyakator2016-06-26 12:54:34
PHP
Nyakator, 2016-06-26 12:54:34

Where to look for variables?

I open
/admin/view/template/catalog/product_form.tpl
it, I see a line there

<?php echo isset($product_description[$language['language_id']]) ? 
$product_description[$language['language_id']]['name'] : ''; ?>

I want to find what the $product_description variable contains. I go to the controller of this template
/admin/controller/catalog/product.php
And I don't find it there. Where can she be?
Here are the template and controller files https://yadi.sk/d/Hg9FvHRrso5B9

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
web-mechanic, 2016-06-26
@Nyakator

for template review_form.tpl default controller is admin/controller/product/review.php

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question