{"id":547,"date":"2013-12-17T16:48:05","date_gmt":"2013-12-17T14:48:05","guid":{"rendered":"http:\/\/www.h-hennes.fr\/blog\/?p=547"},"modified":"2013-12-17T16:48:26","modified_gmt":"2013-12-17T14:48:26","slug":"magento-quantite-de-produits-non-editable-dans-les-avoirs","status":"publish","type":"post","link":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/","title":{"rendered":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs"},"content":{"rendered":"<p>Avec certains modes de paiement, il n&rsquo;est pas possible d&rsquo;\u00e9diter la quantit\u00e9 de produits \u00e0 rembourser pour une commande.<\/p>\n<p>Voici la modification \u00e0 faire pour permettre cela.<\/p>\n<p>Tout d\u2019abord, il faut regarder quel est le module de paiement utilis\u00e9 pour la commande.<br \/>\nRecherchez ensuite le fichier mod\u00e8le du module de paiement ( app\/code\/<em>community|local\/YourPaymentModule\/Model\/YourPayementModule.php<\/em> )<\/p>\n<p>Puis dans la classe de votre module\u00a0 ajoutez la propri\u00e9t\u00e9 suivante :<\/p>\n<pre lang=\"php\" escaped=\"true\">protected $_canCapturePartial        = true;<\/pre>\n<p>( Test\u00e9 et fonctionnel sous Magento 1.4.1.1 avec le module Qpay Ideal)<\/p>\n<p><span style=\"text-decoration: underline;\">Note :<\/span><\/p>\n<p>Dans mes recherches sur le web pour trouver la source du probl\u00e8me j&rsquo;ai \u00e9galement consult\u00e9\u00a0 la solution suivante :<\/p>\n<pre lang=\"php\" escaped=\"true\">protected $_canRefundInvoicePartial = true;<\/pre>\n<p>( Elle n&rsquo;a pas fonctionn\u00e9 dans mon cas&#8230; )<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Avec certains modes de paiement, il n&rsquo;est pas possible d&rsquo;\u00e9diter la quantit\u00e9 de produits \u00e0 rembourser pour une commande. Voici la modification \u00e0 faire pour permettre cela. Tout d\u2019abord, il faut regarder quel est le module de paiement utilis\u00e9 pour la commande. Recherchez ensuite le fichier mod\u00e8le du module de paiement ( app\/code\/community|local\/YourPaymentModule\/Model\/YourPayementModule.php ) Puis [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[246,6],"tags":[263,262,150],"class_list":["post-547","post","type-post","status-publish","format-standard","hentry","category-magento-2","category-trucs-et-astuces","tag-avoirs-magento","tag-credit-memo","tag-magento"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"herve\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#article\",\"name\":\"Magento : Quantit\\u00e9 de produits non \\u00e9ditable dans les avoirs | Herv\\u00e9 Hennes\",\"headline\":\"Magento : Quantit\\u00e9 de produits non \\u00e9ditable dans les avoirs\",\"author\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#organization\"},\"datePublished\":\"2013-12-17T16:48:05+02:00\",\"dateModified\":\"2013-12-17T16:48:26+02:00\",\"inLanguage\":\"fr-FR\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#webpage\"},\"articleSection\":\"Magento, Trucs et astuces, avoirs magento, credit memo, magento\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/trucs-et-astuces\\\/#listItem\",\"name\":\"Trucs et astuces\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/trucs-et-astuces\\\/#listItem\",\"position\":2,\"name\":\"Trucs et astuces\",\"item\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/trucs-et-astuces\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#listItem\",\"name\":\"Magento : Quantit\\u00e9 de produits non \\u00e9ditable dans les avoirs\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#listItem\",\"position\":3,\"name\":\"Magento : Quantit\\u00e9 de produits non \\u00e9ditable dans les avoirs\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/category\\\/trucs-et-astuces\\\/#listItem\",\"name\":\"Trucs et astuces\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#organization\",\"name\":\"Herv\\u00e9 Hennes\",\"description\":\"D\\u00e9veloppeur e-commerce\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/\",\"name\":\"herve\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/248532c833c69e304668cc20fd20ec6ddc1808306f57d5d14e632059f50347a4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"herve\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#webpage\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/\",\"name\":\"Magento : Quantit\\u00e9 de produits non \\u00e9ditable dans les avoirs | Herv\\u00e9 Hennes\",\"inLanguage\":\"fr-FR\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/2013\\\/12\\\/17\\\/magento-quantite-de-produits-non-editable-dans-les-avoirs\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/author\\\/herve\\\/#author\"},\"datePublished\":\"2013-12-17T16:48:05+02:00\",\"dateModified\":\"2013-12-17T16:48:26+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/\",\"name\":\"Herv\\u00e9 Hennes\",\"description\":\"D\\u00e9veloppeur e-commerce\",\"inLanguage\":\"fr-FR\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.h-hennes.fr\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs | Herv\u00e9 Hennes","description":"","canonical_url":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#article","name":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs | Herv\u00e9 Hennes","headline":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs","author":{"@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author"},"publisher":{"@id":"https:\/\/www.h-hennes.fr\/blog\/#organization"},"datePublished":"2013-12-17T16:48:05+02:00","dateModified":"2013-12-17T16:48:26+02:00","inLanguage":"fr-FR","mainEntityOfPage":{"@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#webpage"},"isPartOf":{"@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#webpage"},"articleSection":"Magento, Trucs et astuces, avoirs magento, credit memo, magento"},{"@type":"BreadcrumbList","@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.h-hennes.fr\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/category\/trucs-et-astuces\/#listItem","name":"Trucs et astuces"}},{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/category\/trucs-et-astuces\/#listItem","position":2,"name":"Trucs et astuces","item":"https:\/\/www.h-hennes.fr\/blog\/category\/trucs-et-astuces\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#listItem","name":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#listItem","position":3,"name":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs","previousItem":{"@type":"ListItem","@id":"https:\/\/www.h-hennes.fr\/blog\/category\/trucs-et-astuces\/#listItem","name":"Trucs et astuces"}}]},{"@type":"Organization","@id":"https:\/\/www.h-hennes.fr\/blog\/#organization","name":"Herv\u00e9 Hennes","description":"D\u00e9veloppeur e-commerce","url":"https:\/\/www.h-hennes.fr\/blog\/"},{"@type":"Person","@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author","url":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/","name":"herve","image":{"@type":"ImageObject","@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/248532c833c69e304668cc20fd20ec6ddc1808306f57d5d14e632059f50347a4?s=96&d=mm&r=g","width":96,"height":96,"caption":"herve"}},{"@type":"WebPage","@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#webpage","url":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/","name":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs | Herv\u00e9 Hennes","inLanguage":"fr-FR","isPartOf":{"@id":"https:\/\/www.h-hennes.fr\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/#breadcrumblist"},"author":{"@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author"},"creator":{"@id":"https:\/\/www.h-hennes.fr\/blog\/author\/herve\/#author"},"datePublished":"2013-12-17T16:48:05+02:00","dateModified":"2013-12-17T16:48:26+02:00"},{"@type":"WebSite","@id":"https:\/\/www.h-hennes.fr\/blog\/#website","url":"https:\/\/www.h-hennes.fr\/blog\/","name":"Herv\u00e9 Hennes","description":"D\u00e9veloppeur e-commerce","inLanguage":"fr-FR","publisher":{"@id":"https:\/\/www.h-hennes.fr\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"547","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-29 16:38:04","updated":"2022-10-04 09:21:26","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.h-hennes.fr\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.h-hennes.fr\/blog\/category\/trucs-et-astuces\/\" title=\"Trucs et astuces\">Trucs et astuces<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMagento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.h-hennes.fr\/blog"},{"label":"Trucs et astuces","link":"https:\/\/www.h-hennes.fr\/blog\/category\/trucs-et-astuces\/"},{"label":"Magento : Quantit\u00e9 de produits non \u00e9ditable dans les avoirs","link":"https:\/\/www.h-hennes.fr\/blog\/2013\/12\/17\/magento-quantite-de-produits-non-editable-dans-les-avoirs\/"}],"_links":{"self":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/547","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/comments?post=547"}],"version-history":[{"count":2,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/547\/revisions"}],"predecessor-version":[{"id":549,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/posts\/547\/revisions\/549"}],"wp:attachment":[{"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/media?parent=547"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/categories?post=547"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.h-hennes.fr\/blog\/wp-json\/wp\/v2\/tags?post=547"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}