Ag17 Posted February 10, 2021 Share Posted February 10, 2021 Bonjour, Dans Produits / Attributs & caractéristiques : Nous avons des déclinaisons de "Taille" 3 MOIS 6 MOIS 12 MOIS 24 MOIS Depuis le produit, nous générons ces déclinaisons et tout est ok. Mais lorsqu'on consulte le produit, les déclinaisons d'affichent différemment dans la liste déroulante. (cf. image) ce qui ne signifie rien pour le client. Nous souhaiterions retrouver les mêmes valeurs (3 mois, 6 mois...) Avez-vous une idée du problème? D'avance merci ;) AG -- PS 1.7.5.2 Theme : at_chip_baby version 1.0.9 Link to comment Share on other sites More sharing options...
solsol69 Posted February 10, 2021 Share Posted February 10, 2021 il y a 27 minutes, Ag17 a dit : Nous avons des déclinaisons de "Taille" Bonjour Je n'ai pas la solution a votre problème mais bizarrement si vous sélectionner bien l'attribut "Taille " lors de la création des déclinaisons c'est l'attribut "Dimension" qui s'affiche sur votre fiche produit. Link to comment Share on other sites More sharing options...
Ag17 Posted February 10, 2021 Author Share Posted February 10, 2021 (edited) @solsol69 Merci pour votre réponse. Concernant le produit que vous me montrez, c'est normal, nous avons des déclinaisons de "Dimension" (et non de taille sur ce produit) mais encore une fois, la liste déroulante n'affiche pas les informations des attributs. (cf. image) Edited February 10, 2021 by Ag17 (see edit history) Link to comment Share on other sites More sharing options...
solsol69 Posted February 10, 2021 Share Posted February 10, 2021 Etrangement il n'y a que le premier chiffre qui apparait de vos declinaison 8 9 1 1 Link to comment Share on other sites More sharing options...
Ag17 Posted February 10, 2021 Author Share Posted February 10, 2021 Oui c'est bien cela le bug, SEUL le premier caractère n'est affiché.... Link to comment Share on other sites More sharing options...
solsol69 Posted February 10, 2021 Share Posted February 10, 2021 Vérifier avec le thème par défaut de presta si le problème est présent Activer le mode debug Link to comment Share on other sites More sharing options...
Ag17 Posted February 10, 2021 Author Share Posted February 10, 2021 Voici le rendu DEBUG : Warning: Declaration of ProductController::assignAttributesGroups() should be compatible with ProductControllerCore::assignAttributesGroups($product_for_template = NULL) in /home/gd39lcjl/public_html/override/controllers/front/ProductController.php on line 333 Whoops, looks like something went wrong. (1/1) ContextErrorException Warning: Illegal string offset 'name' in ba647a0614de59313c0f7589702adebe90431571_2.file.product-variants.tpl.php line 49 at content_6023b6387b4d20_64608510(object(SmartyDevTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render() in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('file:catalog/_partials/product-variants.tpl', null, null, 0, 3600, array(), 0, false) in 9540f588094022266a8557d553ff3b218416bf62_2.file.detail1521538211.tpl.php line 455 at Block_9107476516023b6386e5008_57974107->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_9107476516023b6386e5008_57974107), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_9107476516023b6386e5008_57974107)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_9107476516023b6386e5008_57974107', 'product_variants', 2) in 9540f588094022266a8557d553ff3b218416bf62_2.file.detail1521538211.tpl.php line 584 at Block_16503896696023b6386e35d5_15331654->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_16503896696023b6386e35d5_15331654), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_16503896696023b6386e35d5_15331654)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_16503896696023b6386e35d5_15331654', 'product_buy') in 9540f588094022266a8557d553ff3b218416bf62_2.file.detail1521538211.tpl.php line 78 at content_6023b638703704_81958776(object(SmartyDevTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render(false, 0) in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, null, null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('/home/gd39lcjl/public_html/themes/at_chip_baby/modules/appagebuilder/views/templates/front/details/detail1521538211.tpl', null, null, null, false, true, false) in SmartyDev.php line 40 at SmartyDev->fetch('/home/gd39lcjl/public_html/themes/at_chip_baby/modules/appagebuilder/views/templates/front/details/detail1521538211.tpl') in appagebuilder.php line 2130 at APPageBuilder->hookDisplayLeoProfileProduct(array('product' => object(ProductLazyArray), 'typeProduct' => 'detail', 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 966 at HookCore::coreCallHook(object(APPageBuilder), 'hookdisplayLeoProfileProduct', array('product' => object(ProductLazyArray), 'typeProduct' => 'detail', 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 351 at HookCore::callHookOn(object(APPageBuilder), 'displayLeoProfileProduct', array('product' => object(ProductLazyArray), 'typeProduct' => 'detail', 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1)) in Hook.php line 903 at HookCore::exec('displayLeoProfileProduct', array('product' => object(ProductLazyArray), 'typeProduct' => 'detail', 'smarty' => object(SmartyDevTemplate), 'cookie' => object(Cookie), 'cart' => object(Cart), 'altern' => 1), null) in smarty.config.inc.php line 165 at smartyHook(array('h' => 'displayLeoProfileProduct', 'product' => object(ProductLazyArray), 'typeProduct' => 'detail'), object(SmartyDevTemplate)) in SmartyLazyRegister.php line 83 at SmartyLazyRegister->__call('smartyHook', array(array('h' => 'displayLeoProfileProduct', 'product' => object(ProductLazyArray), 'typeProduct' => 'detail'), object(SmartyDevTemplate))) in 3d3ee765d4da31e89c81dd88db33020128b942a1_2.file.product.tpl.php line 641 at Block_19994978596023b63833e3e8_41255312->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_19994978596023b63833e3e8_41255312), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_19994978596023b63833e3e8_41255312), object(Block_13147092005d96f4a9d8b994_80651143)) in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_13147092005d96f4a9d8b994_80651143)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_13147092005d96f4a9d8b994_80651143', 'content', 1) in 8db2cb835cf1fc7c1e6beff220ad835afb4fdbcf_2.file.layout-full-width.tpl.php line 101 at Block_8099457775d96f4a9d87df1_52528354->callBlock(object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 248 at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_8099457775d96f4a9d87df1_52528354), object(SmartyDevTemplate)) in smarty_internal_runtime_inheritance.php line 184 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_8099457775d96f4a9d87df1_52528354), object(Block_15890207195d96f4a9db7336_44734268)) in smarty_internal_runtime_inheritance.php line 186 at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_15890207195d96f4a9db7336_44734268)) in smarty_internal_runtime_inheritance.php line 156 at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_15890207195d96f4a9db7336_44734268', 'content_wrapper') in b3271217350afb3e44e2136d05101eef86828d85_2.file.layout-both-columns.tpl.php line 94 at content_5d96f4a9dc78a4_43806217(object(SmartyDevTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render() in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-both-columns.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null) in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl') in 8db2cb835cf1fc7c1e6beff220ad835afb4fdbcf_2.file.layout-full-width.tpl.php line 42 at content_5d96f4a9d8cca6_70064353(object(SmartyDevTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render() in smarty_internal_template.php line 385 at Smarty_Internal_Template->_subTemplateRender('layouts/layout-full-width.tpl', null, 'layouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null) in smarty_internal_runtime_inheritance.php line 125 at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl') in 3d3ee765d4da31e89c81dd88db33020128b942a1_2.file.product.tpl.php line 56 at content_6023b6383743d5_51184940(object(SmartyDevTemplate)) in smarty_template_resource_base.php line 123 at Smarty_Template_Resource_Base->getRenderedTemplateCode(object(SmartyDevTemplate)) in smarty_template_compiled.php line 114 at Smarty_Template_Compiled->render(object(SmartyDevTemplate)) in smarty_internal_template.php line 216 at Smarty_Internal_Template->render(false, 0) in smarty_internal_templatebase.php line 232 at Smarty_Internal_TemplateBase->_execute(object(SmartyDevTemplate), null, 'layouts/layout-full-width.tpl', null, 0) in smarty_internal_templatebase.php line 116 at Smarty_Internal_TemplateBase->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl', null, false, true, false) in SmartyDev.php line 40 at SmartyDev->fetch('catalog/product.tpl', null, 'layouts/layout-full-width.tpl') in FrontController.php line 682 at FrontControllerCore->smartyOutputContent('catalog/product.tpl') in FrontController.php line 666 at FrontControllerCore->display() in Controller.php line 301 at ControllerCore->run() in Dispatcher.php line 511 at DispatcherCore->dispatch() in index.php line 28 Link to comment Share on other sites More sharing options...
Ag17 Posted February 17, 2021 Author Share Posted February 17, 2021 Problème corrigé par le développeur du thème. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now