{"id":91559,"date":"2021-05-28T17:16:02","date_gmt":"2021-05-28T11:46:02","guid":{"rendered":"https:\/\/git-staging.wpastra.com\/?post_type=docs&#038;p=91559"},"modified":"2021-09-08T20:23:54","modified_gmt":"2021-09-08T14:53:54","slug":"update-mobile-cart-title","status":"publish","type":"docs","link":"https:\/\/git-staging.wpastra.com\/es\/docs\/update-mobile-cart-title\/","title":{"rendered":"Cambiar el texto del \"carrito de la compra\" para WooCommerce y EDD Mobile Header Cart"},"content":{"rendered":"<p>Si tienes el carrito de WooCommerce o EDD a\u00f1adido a la cabecera m\u00f3vil de tu web, puede que quieras modificar el t\u00edtulo del carrito. Desde la versi\u00f3n Astra Theme 3.5.0, esto se puede hacer f\u00e1cilmente.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart.png\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1366\" height=\"715\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart.png\" alt=\"WooCommerce &amp; EDD Mobile Header Cart, Astra 3.5.0\" class=\"wp-image-91564\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-300x157.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-1024x536.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-768x402.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/a><\/figure>\n\n\n\n<p>Con las versiones de Astra Theme 3.5.0 y superiores puedes cambiar el texto por defecto del \"Carro de la compra\" por el que necesites.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-title.png\"><img decoding=\"async\" width=\"1366\" height=\"715\" src=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-title.png\" alt=\"Chnage the WooCommerce &amp; EDD Cart Title, Astra 3.5.0\" class=\"wp-image-91566\" srcset=\"https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-title.png 1366w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-title-300x157.png 300w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-title-1024x536.png 1024w, https:\/\/git-staging.wpastra.com\/wp-content\/uploads\/2021\/05\/ast-3-5-woo-mobile-cart-title-768x402.png 768w\" sizes=\"(max-width: 1366px) 100vw, 1366px\" \/><\/a><\/figure>\n\n\n\n<p>Para ello, tendr\u00eda que a\u00f1adir un filtro al archivo <strong>funciones.php<\/strong> en su <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/install-astra-child-theme\/\">Astra Tema Infantil<\/a>. Por favor, a\u00f1ada el siguiente c\u00f3digo:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">add_filter( 'astra_header_cart_flyout_shopping_cart_text', function() {\nreturn 'Mi Carrito de Compras Flyout';\n} );<\/pre>\n\n\n\n<p>Puede cambiar el t\u00edtulo por el texto que desee: s\u00f3lo tiene que modificar <strong>Carrito de Mi Tienda<\/strong> texto en el c\u00f3digo anterior. <\/p>\n\n\n\n<div class=\"wp-block-uagb-inline-notice uagb-inline_notice__outer-wrap uagb-inline_notice__align-left uagb-block-95342553\"><h4 class=\"uagb-notice-title\">Nota:<\/h4><div class=\"uagb-notice-text\"><p>Para obtener m\u00e1s informaci\u00f3n sobre c\u00f3mo a\u00f1adir un c\u00f3digo personalizado a la funci\u00f3n <strong>funciones.php<\/strong> consulte este art\u00edculo: <a href=\"https:\/\/git-staging.wpastra.com\/es\/docs\/add-custom-php-code\/#3.-in-child-theme\"><strong>\u00bfC\u00f3mo a\u00f1adir c\u00f3digo PHP personalizado?<\/strong><\/a><\/p><\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Si tienes el carrito de WooCommerce o EDD a\u00f1adido a la cabecera m\u00f3vil de tu web, puede que quieras modificar el t\u00edtulo del carrito. Desde la versi\u00f3n Astra Theme 3.5.0, esto se puede hacer f\u00e1cilmente. A partir de la versi\u00f3n 3.5.0 de Astra Theme puedes cambiar el texto por defecto \"Carrito de la compra\" por el que necesites.  Para ello, [...]<\/p>","protected":false},"author":70,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"","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":"","theme-transparent-header-meta":"default","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":""},"docs_category":[2112],"docs_tag":[],"class_list":{"0":"post-91559","1":"docs","2":"type-docs","3":"status-publish","5":"docs_category-woocommerce-filters"},"spectra_custom_meta":{"wp_last_modified_info":["September 8, 2021 @ 8:23 PM"],"wplmi_shortcode":["[lmt-post-modified-info]"],"_edit_lock":["1663668833:89"],"_edit_last":["70"],"tap_disable_autolinker":["no"],"tap_autolink_inside_heading":["global"],"tap_autolink_random_placement":["global"],"tap_post_autolinker_limit":["0"],"site-sidebar-layout":["default"],"site-content-layout":["default"],"theme-transparent-header-meta":["default"],"_yoast_wpseo_content_score":["60"],"_yoast_wpseo_estimated-reading-time-minutes":["1"],"_yoast_wpseo_focuskw":["mobile cart title"],"_yoast_wpseo_metadesc":["Astra Theme: If you have the WooCommerce or EDD cart added to your websites\u2019 mobile header, you can modify it using this code"],"_yoast_wpseo_linkdex":["47"],"views":["4577"],"helpful":["1"],"unhelpful":["2"],"redirects":["2"],"_lmt_disableupdate":["no"],"_wplmi_last_modified":["2021-09-08 20:23:54"],"rank_math_description":["Astra Theme: If you have the WooCommerce or EDD cart added to your websites\u2019 mobile header, you can modify it using this code"],"rank_math_focus_keyword":["mobile cart title"],"rank_math_news_sitemap_robots":["index"],"rank_math_robots":["a:1:{i:0;s:5:\"index\";}"],"rank_math_analytic_object_id":["280"],"rank_math_internal_links_processed":["1"],"rank_math_og_content_image":["a:2:{s:5:\"check\";s:32:\"fbb6b9dab38c18dc76454df28fae185e\";s:6:\"images\";a:1:{i:0;i:91564;}}"],"_trp_automatically_translated_slug_es_ES":["actualizar-el-titulo-del-carro-movil"],"_uag_page_assets":["a:9:{s:3:\"css\";s:3704:\" .uagb-block-95342553.wp-block-uagb-inline-notice .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-95342553 .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;border: 2px solid #FFD54F;border-bottom-left-radius: 3px;border-bottom-right-radius: 3px;} .uagb-block-95342553.uagb-dismissable button[type=\"button\"] svg{width: 16px;height: 16px;} .uagb-block-95342553.uagb-dismissable > svg{width: 16px;height: 16px;} .uagb-block-95342553 .uagb-notice-title{background-color: #FFD54F;border-top-right-radius: 3px;border-top-left-radius: 3px;}@media only screen and (max-width: 976px) { .uagb-block-95342553 .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-95342553 .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;}}@media only screen and (max-width: 767px) { .uagb-block-95342553 .uagb-notice-text{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;} .uagb-block-95342553 .uagb-notice-title{padding-left: 15px;padding-right: 15px;padding-top: 15px;padding-bottom: 15px;}}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-top svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-top .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape-bottom svg{width: calc( 100% + 1.3px );}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__shape.uagb-container__shape-bottom .uagb-container__shape-fill{fill: rgba(51,51,51,1);}.wp-block-uagb-container.uagb-block-debf2792 .uagb-container__video-wrap video{opacity: 1;}.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1200px);max-width: var(--inner-content-custom-width);width: 100%;flex-direction: column;align-items: center;justify-content: center;flex-wrap: nowrap;row-gap: 0px;column-gap: 0px;}.wp-block-uagb-container.uagb-block-debf2792{box-shadow: 0px 0px   #00000070 ;padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;overflow: visible;border-color: inherit;row-gap: 0px;column-gap: 0px;}@media only screen and (max-width: 976px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 1024px);max-width: var(--inner-content-custom-width);width: 100%;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}@media only screen and (max-width: 767px) {.wp-block-uagb-container.uagb-is-root-container .uagb-block-debf2792{max-width: 100%;width: 100%;}.wp-block-uagb-container.uagb-is-root-container.alignfull.uagb-block-debf2792 > .uagb-container-inner-blocks-wrap{--inner-content-custom-width: min( 100%, 767px);max-width: var(--inner-content-custom-width);width: 100%;flex-wrap: wrap;}.wp-block-uagb-container.uagb-block-debf2792{padding-top: 0px;padding-bottom: 0px;padding-left: 0px;padding-right: 0px;margin-top: 0px !important;margin-bottom: 0px !important;margin-left: 0px;margin-right: 0px;}}\";s:2:\"js\";s:271:\"document.addEventListener(\"DOMContentLoaded\", function(){ window.addEventListener( 'DOMContentLoaded', function() {\n\tUAGBInlineNotice.init( {\"c_id\":null,\"cookies\":false,\"close_cookie_days\":1,\"noticeDismiss\":\"\",\"icon\":\"rectangle-xmark\"}, '.uagb-block-95342553' );\n});\n });\";s:18:\"current_block_list\";a:6:{i:0;s:14:\"core\/paragraph\";i:1;s:10:\"core\/image\";i:2;s:17:\"core\/preformatted\";i:3;s:18:\"uagb\/inline-notice\";i:4;s:14:\"uagb\/container\";i:5;s:14:\"core\/shortcode\";}s:8:\"uag_flag\";b:1;s:11:\"uag_version\";s:10:\"1776690183\";s:6:\"gfonts\";a:0:{}s:10:\"gfonts_url\";s:0:\"\";s:12:\"gfonts_files\";a:0:{}s:14:\"uag_faq_layout\";b:0;}"]},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"trp-custom-language-flag":false},"uagb_author_info":{"display_name":"Nikola Mihajlovic","author_link":"https:\/\/git-staging.wpastra.com\/es\/author\/nikolam\/"},"uagb_comment_info":0,"uagb_excerpt":"If you have the WooCommerce or EDD cart added to your websites\u2019 mobile header, you might want to modify the cart title. Since Astra Theme version 3.5.0, this can easily be done. With Astra Theme versions 3.5.0 and above you can change the default &#8220;Shopping Cart&#8221; text to anything you need to.&nbsp; To do this,&hellip;","_links":{"self":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/91559"}],"collection":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/users\/70"}],"replies":[{"embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/comments?post=91559"}],"version-history":[{"count":0,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs\/91559\/revisions"}],"wp:attachment":[{"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/media?parent=91559"}],"wp:term":[{"taxonomy":"docs_category","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_category?post=91559"},{"taxonomy":"docs_tag","embeddable":true,"href":"https:\/\/git-staging.wpastra.com\/es\/wp-json\/wp\/v2\/docs_tag?post=91559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}