Page 1 of 1

Zakaznické skupiny ceny

Posted: 25 Mar 2024, 11:20
by vlada83
ahoj, nejsem si jistý, ale vypadá to jako bug, když kliknu na zákaznické skupiny - ceny tak to hodí error... má to fungovat tak, že si jsem schopen určit koncovou cenu pro určitou skupinu
Image
Image

Re: Zakaznické skupiny ceny

Posted: 29 Mar 2024, 17:31
by Jan
Ahoj, jakou Joomla verzi, Phoca Cart verzi používáš?

Zapni si debug mode, zobrazí se ti místo, kde chyby vzniká.

Re: Zakaznické skupiny ceny

Posted: 02 Apr 2024, 14:52
by vlada83
Joomla 4.4.1
php 7.4.4
phoca 4.0.10


Došlo k chybě.
0 Class 'Factory' not found
Call stack
# Function Location
1 () JROOT/administrator/components/com_phocacart/views/phocacarteditproductpricegroup/tmpl/default.php:57
2 include() JROOT/libraries/src/MVC/View/HtmlView.php:415
3 Joomla\CMS\MVC\View\HtmlView->loadTemplate() JROOT/libraries/src/MVC/View/HtmlView.php:203
4 Joomla\CMS\MVC\View\HtmlView->display() JROOT/administrator/components/com_phocacart/views/phocacarteditproductpricegroup/view.html.php:51
5 PhocaCartCpViewPhocaCartEditProductPriceGroup->display() JROOT/libraries/src/MVC/Controller/BaseController.php:660
6 Joomla\CMS\MVC\Controller\BaseController->display() JROOT/administrator/components/com_phocacart/controller.php:92
7 phocaCartCpController->display() JROOT/libraries/src/MVC/Controller/BaseController.php:693
8 Joomla\CMS\MVC\Controller\BaseController->execute() JROOT/administrator/components/com_phocacart/phocacart.php:28
9 require_once() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:71
10 Joomla\CMS\Dispatcher\LegacyComponentDispatcher::Joomla\CMS\Dispatcher\{closure}() JROOT/libraries/src/Dispatcher/LegacyComponentDispatcher.php:73
11 Joomla\CMS\Dispatcher\LegacyComponentDispatcher->dispatch() JROOT/libraries/src/Component/ComponentHelper.php:361
12 Joomla\CMS\Component\ComponentHelper::renderComponent() JROOT/libraries/src/Application/AdministratorApplication.php:143
13 Joomla\CMS\Application\AdministratorApplication->dispatch() JROOT/libraries/src/Application/AdministratorApplication.php:186
14 Joomla\CMS\Application\AdministratorApplication->doExecute() JROOT/libraries/src/Application/CMSApplication.php:293
15 Joomla\CMS\Application\CMSApplication->execute() JROOT/administrator/includes/app.php:61
16 require_once() JROOT/administrator/index.php:32

Re: Zakaznické skupiny ceny

Posted: 03 Apr 2024, 00:12
by Jan
Ahoj, díky za info. Quick fix:

otevři si soubor:
administrator/components/com_phocacart/views/phocacarteditproductpricegroup/tmpl/default.php

a v hlavičce cca na řádek 14 přidej:

Code: Select all

use Joomla\CMS\Factory;
Díky.