Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • Sign Up

Клонировать Оплата при доставке


Recommended Posts

Доброе время суток!

Подскажите пж как по править клонирую Оплата при доставке

 

admin\controller\extension\payment\cod.php

admin\view\template\extension\payment\cod.twig

catalog\controller\extension\payment\cod.php
catalog\model\extension\payment\cod.php

 

admin\language\ru-ru\extension\payment\cod.php

catalog\language\ru-ru\extension\payment\cod.php

 

При подтверждении заказа вылазит ошибка

 

Спойлер

Fatal error: Uncaught exception 'Twig_Error_Loader' with message 'Unable to find template "extension/payment/cod2.twig" (looked into: D:/openserver/OSPanel/domains/opencart3/catalog/view/theme).' in D:\openserver\OSPanel\domains\opencart3\system\library\template\Twig\Loader\Filesystem.php:215 Stack trace: #0 D:\openserver\OSPanel\domains\opencart3\system\library\template\Twig\Loader\Filesystem.php(139): Twig_Loader_Filesystem->findTemplate('extension/payme...') #1 D:\openserver\OSPanel\domains\opencart3\system\library\template\Twig\Environment.php(311): Twig_Loader_Filesystem->getCacheKey('extension/payme...') #2 D:\openserver\OSPanel\domains\opencart3\system\library\template\Twig\Environment.php(377): Twig_Environment->getTemplateClass('extension/payme...', NULL) #3 D:\openserver\OSPanel\domains\opencart3\system\storage\modification\system\library\template\twig.php(42): Twig_Environment->loadTemplate('extension/payme...') #4 D:\openserver\OSPanel\domains\opencart3\system\library\template.php(51): Template\Twig->render('e in D:\openserver\OSPanel\domains\opencart3\system\library\template\Twig\Loader\Filesystem.php on line 215

Edited by Rubik
Link to post
Share on other sites

Не очень понял процесс, в ходе которого возникает проблема, но ошибка говорит о том, что система ищет шаблон (view) с названием cod2.twig, и не может его найти.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

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.