Jump to content

[resolu]Déclinaison ajouter au panier qui disparait


Recommended Posts

Bonjour je rencontre un problème sur mes fiches produits avec déclinaisons

Lorsque que je choisi une déclinaison le bouton ajouter au panier disparait

exemple sur cette fiche : https://sublime-cadeaux.fr/bavoir-bebe-personnalise/100-83-bavoir-bebe-personnalise-veux-tu-etre-ma-marraine.html#/14-couleur_bordure-bleu

Prestashop 1.7

Merci pour votre aide 

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

voici ce que j'ai avec le mode debug

in b9bd665176ac47d48eb8a31cbddfcebca7404f6f_2.file.head.tpl.php line 222
at Block_106111690166c0a07ca83357_69842565->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_106111690166c0a07ca83357_69842565), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 184
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_106111690166c0a07ca83357_69842565))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_106111690166c0a07ca83357_69842565', 'hook_header')
in b9bd665176ac47d48eb8a31cbddfcebca7404f6f_2.file.head.tpl.php line 67
at content_66c0a07ca880c3_01634480(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:_partials/head.tpl', null, 'thecosmeticlayouts/layout-full-width.tpl', 0, 3600, array(), 0, false)
in 5737078ef914b44ad9ca905b6014a1113093ea04_2.file.layout-both-columns.tpl.php line 140
at Block_57367256166a107a5511071_96428563->callBlock(object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 248
at Smarty_Internal_Runtime_Inheritance->callBlock(object(Block_57367256166a107a5511071_96428563), object(SmartyDevTemplate))
in smarty_internal_runtime_inheritance.php line 232
at Smarty_Internal_Runtime_Inheritance->callParent(object(SmartyDevTemplate), object(Block_43001190366c0a07ca55660_56143463), '\'{block append}\'')
in smarty_internal_runtime_inheritance.php line 181
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_43001190366c0a07ca55660_56143463), object(Block_57367256166a107a5511071_96428563))
in smarty_internal_runtime_inheritance.php line 186
at Smarty_Internal_Runtime_Inheritance->process(object(SmartyDevTemplate), object(Block_57367256166a107a5511071_96428563))
in smarty_internal_runtime_inheritance.php line 156
at Smarty_Internal_Runtime_Inheritance->instanceBlock(object(SmartyDevTemplate), 'Block_57367256166a107a5511071_96428563', 'head')
in 5737078ef914b44ad9ca905b6014a1113093ea04_2.file.layout-both-columns.tpl.php line 40
at content_66a107a5518291_18383880(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, 'thecosmeticlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 116
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-both-columns.tpl')
in cf627cd04c61666c0cd6447f9dc90d49a54e9564_2.file.layout-full-width.tpl.php line 42
at content_66a107a550e287_96502869(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, 'thecosmeticlayouts/layout-full-width.tpl', 0, 3600, array(), 2, false, null, null)
in smarty_internal_runtime_inheritance.php line 116
at Smarty_Internal_Runtime_Inheritance->endChild(object(SmartyDevTemplate), 'layouts/layout-full-width.tpl')
in 2b0084700c46aff3ff6b01228fe096f0d0b54f45_2.file.product.tpl.php line 53
at content_66c0a07ca6daf1_48604769(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, 'thecosmeticlayouts/layout-full-width.tpl', null, 0)
in smarty_internal_templatebase.php line 116
at Smarty_Internal_TemplateBase->fetch('catalog/product.tpl', null, 'thecosmeticlayouts/layout-full-width.tpl', null, false, true, false)
in SmartyDev.php line 40
at SmartyDev->fetch('catalog/product.tpl', null, 'thecosmeticlayouts/layout-full-width.tpl')
in FrontController.php line 727
at FrontControllerCore->smartyOutputContent('catalog/product.tpl')
in FrontController.php line 709
at FrontControllerCore->display()
in Controller.php line 326
at ControllerCore->run()
in Dispatcher.php line 518
at DispatcherCore->dispatch()
in index.php line 57

 

Link to comment
Share on other sites

j'ai un peu avancé voici le début du fichier product-add-to-cart.tpl présent dans templates/catalog/_partials/

<div class="product-add-to-cart">
                   </div>
<div class="product-add-to-cart">
  {if !$configuration.is_catalog}
    <span class="control-label">{l s='Quantity' d='Shop.Theme.Catalog'}</span>
    {block name='product_quantity'}
      <div class="product-quantity">
        <div class="qty">
          <input
            type="text"
            name="qty"
            id="quantity_wanted"
            value="{$product.quantity_wanted|escape:'html':'UTF-8'}"
            class="input-group"
            {*min="{$product.minimal_quantity|escape:'html':'UTF-8'}"*}
          />
        </div>

en haut j'ai deux fois div class="product-add-to-cart" , si j'en retire un mon problème est résolu mais me décale hors ecran sur mobile  Paiement 100% sécurisé par CB ou Paypal
                  

Link to comment
Share on other sites

  • freds83 changed the title to [resolu]Déclinaison ajouter au panier qui disparait

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...