Jump to content

ps_shoppingcart


Recommended Posts

hum... un changement de position ou dégreffage de hook ne supprime pas un module.

Comme toujours en cas d'erreur 500 et pour en savoir plus, il faut modifier cette ligne au début du fichier config/defines.inc.php :

define('_PS_MODE_DEV_', false);

par

define('_PS_MODE_DEV_', true);

et rafraichir la page.

 

Et il semblerait que vous avez toujours accès au BO, donc rien de dramatique véritablement.

Edited by Eolia (see edit history)
Link to comment
Share on other sites

<?xml version="1.0" encoding="UTF-8" ?>
<module>
    <name>ps_shoppingcart</name>
    <displayName><![CDATA[Sopping cart]]></displayName>
    <version><![CDATA[2.0.2]]></version>
    <description><![CDATA[Adds a block containing the customer&#039;s shopping cart.]]></description>
    <author><![CDATA[PrestaShop]]></author>
    <tab><![CDATA[front_office_features]]></tab>
    <is_configurable>1</is_configurable>
    <need_instance>0</need_instance>
    <limited_countries></limited_countries>
</module>

Link to comment
Share on other sites

Si je réactive le module >>> https://belle-extension.fr/admin6608v8rg1/index.php?controller=AdminDashboard&amp;token=81ad81767b1964fc3ddd1a7c506893f7

in src/Adapter/Cart/CartPresenter.php (line 272)
     * @throws \Exception     */    public function present($cart, $shouldSeparateGifts = false)    {        if (!is_a($cart, 'Cart')) {            throw new \Exception('CartPresenter can only present instance of Cart');        }        if ($shouldSeparateGifts) {            $rawProducts = $cart->getProductsWithSeparatedGifts();        } else {
CartPresenter->present(null)
in modules/ps_shoppingcart/ps_shoppingcart.php (line 85)
Ps_Shoppingcart->getWidgetVariables('displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null))
in modules/ps_shoppingcart/ps_shoppingcart.php (line 97)
Ps_Shoppingcart->renderWidget('displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null))
in classes/Hook.php (line 929)
HookCore::coreRenderWidget(object(Ps_Shoppingcart), 'displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null))
in classes/Hook.php (line 881)
HookCore::exec('displayDashboardToolbarTopMenu', array('smarty' => object(SmartyCustomTemplate), 'cookie' => object(Cookie), 'cart' => null), null)
in config/smarty.config.inc.php (line 165)
smartyHook(array('h' => 'displayDashboardToolbarTopMenu'), object(SmartyCustomTemplate))
in classes/Smarty/SmartyLazyRegister.php (line 83)
SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayDashboardToolbarTopMenu'), object(SmartyCustomTemplate)))
in var/cache/dev/smarty/compile/79/fd/ec/79fdec4f8b6c3423b2342217c405cc20ff85070d_0.file.page_header_toolbar.tpl.php (line 191)
Block_19063846855c1a97793f8ec5_72415466->callBlock(object(SmartyCustomTemplate))
in vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php (line 247)
Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19063846855c1a97793f8ec5_72415466), object(SmartyCustomTemplate))
in vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php (line 183)
Smarty_Internal_Runtime_Inheritance->process(object(SmartyCustomTemplate), object(Block_19063846855c1a97793f8ec5_72415466))
in vendor/smarty/smarty/libs/sysplugins/smarty_internal_runtime_inheritance.php (line 157)
Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyCustomTemplate), 'Block_19063846855c1a97793f8ec5_72415466', 'toolbarBox')
in var/cache/dev/smarty/compile/79/fd/ec/79fdec4f8b6c3423b2342217c405cc20ff85070d_0.file.page_header_toolbar.tpl.php (line 49)
content_5c1a9779419478_42862524(object(SmartyCustomTemplate))
in vendor/smarty/smarty/libs/sysplugins/smarty_template_resource_base.php (line 123)
Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyCustomTemplate))
in vendor/smarty/smarty/libs/sysplugins/smarty_template_compiled.php (line 114)
Smarty_Template_Compiled->render(object(SmartyCustomTemplate))
in vendor/smarty/smarty/libs/sysplugins/smarty_internal_template.php (line 206)
Smarty_Internal_Template->render(false, 0)
in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 232)
Smarty_Internal_TemplateBase->_execute(object(SmartyCustomTemplate), null, null, null, 0)
in vendor/smarty/smarty/libs/sysplugins/smarty_internal_templatebase.php (line 116)
Smarty_Internal_TemplateBase->fetch('page_header_toolbar.tpl', null, null, null, false, true, false)
in classes/Smarty/SmartyCustom.php (line 110)
SmartyCustomCore->fetch('page_header_toolbar.tpl')
in classes/controller/AdminController.php (line 1815)
AdminControllerCore->display()
in classes/controller/Controller.php (line 275)
ControllerCore->run()
in classes/Dispatcher.php (line 428)
DispatcherCore->dispatch()
in admin6608v8rg1/index.php (line 99)

Link to comment
Share on other sites

Ben il n'y a pas de chargement à cet endroit.

- Soit vous chargez le zip (en ayant renommé le répertoire à l'intérieur) depuis la page "Modules" du BO

- Soit vous chargez le répertoire directement dans le ftp avec FileZilla et dans la page modules, vous cliquez sur "installer" en face du nom de ce module

Link to comment
Share on other sites

  • razaro changed the title to ps_shoppingcart

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
×
×
  • Create New...