Jump to content
Sign in to follow this  

[Решено] редактирование товаров с витрины

Recommended Posts

Добрый день! У меня опенкарт 1,5,6,4

стоит задача "редактирование товаров с витрины магазина" , использую вот такой код

<?php require_once(DIR_SYSTEM . 'library/user.php');
                        $this->registry->set('user', new User($this->registry));
                        if ($this->user->isLogged()) { $userLogged = true; } else { $userLogged = false;} if ($userLogged) { ?>
                        <div class="edit">
                            <a target="_blank" href="/admin/index.php?route=catalog/product/update&token=<?php echo $this->session->data['token']; ?>&product_id=<?php echo $product_id; ?>">Редактировать</a>
<?php } ?>
Но в момент вывода, выдается ошибка неизвестной переменной

<b>Notice</b>: Undefined variable: product_id in
необходимо поправить.

жду сроки и стоимость.

Edited by afwollis

Share this post

Link to post
Share on other sites

...использую вот такой код...


Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

On our site, cookies are used and personal data is processed to improve the user interface. To find out what and what personal data we are processing, please go to the link. If you click "I agree," it means that you understand and accept all the conditions specified in this Privacy Notice.