{"id":2493,"date":"2024-05-07T08:35:38","date_gmt":"2024-05-07T06:35:38","guid":{"rendered":"https:\/\/macketi.com\/?page_id=2493"},"modified":"2025-06-18T22:24:03","modified_gmt":"2025-06-18T20:24:03","slug":"historial","status":"publish","type":"page","link":"https:\/\/macketi.com\/en\/historial\/","title":{"rendered":"History"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"2493\" class=\"elementor elementor-2493\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-b8535d4 e-flex e-con-boxed e-con e-parent\" data-id=\"b8535d4\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t<div class=\"elementor-element elementor-element-9f7183b e-flex e-con-boxed e-con e-child\" data-id=\"9f7183b\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-36bf0ff elementor-widget elementor-widget-heading\" data-id=\"36bf0ff\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h4 class=\"elementor-heading-title elementor-size-default\">Tu historial de b\u00fasqueda<\/h4>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t<div class=\"elementor-element elementor-element-b0a47e9 e-flex e-con-boxed e-con e-child\" data-id=\"b0a47e9\" data-element_type=\"container\" data-e-type=\"container\">\n\t\t\t\t\t<div class=\"e-con-inner\">\n\t\t\t\t<div class=\"elementor-element elementor-element-61eebcc elementor-widget elementor-widget-shortcode\" data-id=\"61eebcc\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">    <style>\n    .historial-completo-wrapper {\n        background: #fff;\n        padding: 20px;\n        border-radius: 8px;\n        max-width: 1000px;\n        margin: 0 auto;\n    }\n    .historial-completo-header {\n        display: flex;\n        justify-content: space-between;\n        align-items: center;\n        margin-bottom: 20px;\n    }\n    .historial-completo-header h2 {\n        font-weight: 700;\n        font-size: 24px;\n        margin: 0;\n    }\n    .btn-limpiar {\n        background: #d0011b;\n        color: #fff;\n        border: none;\n        padding: 8px 15px;\n        font-weight: 600;\n        border-radius: 5px;\n        cursor: pointer;\n        transition: background 0.3s ease;\n    }\n    .btn-limpiar:hover {\n        background: #a50012;\n    }\n    .historial-completo-grid {\n        display: grid;\n        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));\n        gap: 20px;\n    }\n    .producto-visto-completo {\n        border: 1px solid #ddd;\n        border-radius: 6px;\n        padding: 12px;\n        background: #fff;\n        text-align: center;\n        cursor: pointer;\n        transition: box-shadow 0.3s ease;\n        display: flex;\n        flex-direction: column;\n        align-items: center;\n    }\n    .producto-visto-completo:hover {\n        box-shadow: 0 4px 12px rgba(0,0,0,0.15);\n    }\n    .producto-visto-completo img {\n        width: 150px;\n        height: 150px;\n        object-fit: contain;\n        margin-bottom: 10px;\n    }\n    .nombre-producto {\n        font-weight: 700;\n        font-size: 16px;\n        margin: 8px 0 6px;\n        overflow: hidden;\n        text-overflow: ellipsis;\n        white-space: nowrap;\n        width: 100%;\n    }\n    .precio-producto {\n        color: #0073aa;\n        font-weight: 700;\n        font-size: 14px;\n        margin-bottom: 8px;\n    }\n    \/* Responsive m\u00f3vil *\/\n    @media (max-width: 600px) {\n        .historial-completo-grid {\n            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));\n        }\n        .producto-visto-completo img {\n            width: 120px;\n            height: 120px;\n        }\n        .nombre-producto {\n            font-size: 14px;\n        }\n        .precio-producto {\n            font-size: 13px;\n        }\n    }\n    <\/style>\n\n    <div class=\"historial-completo-wrapper\">\n        <div class=\"historial-completo-header\">\n            <h2>Historial completo de productos vistos<\/h2>\n            <form method=\"post\" onsubmit=\"return confirm('\u00bfSeguro que quieres limpiar todo tu historial?');\" action=\"\">\n                <button type=\"submit\" name=\"limpiar_historial\" class=\"btn-limpiar\">Limpiar historial<\/button>\n            <input type=\"hidden\" name=\"trp-form-language\" value=\"en\"\/><\/form>\n        <\/div>\n        <div class=\"historial-completo-grid\">\n                                <div class=\"producto-visto-completo\">\n                        <a href=\"https:\/\/macketi.com\/en\/product\/arroz-con-pollo\/\" title=\"Arroz con pollo\">\n                            <img fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"225\" src=\"https:\/\/macketi.com\/wp-content\/uploads\/2026\/03\/Photoroom_20260328_205310-300x225.png\" class=\"attachment-woocommerce_thumbnail size-woocommerce_thumbnail\" alt=\"Arroz con pollo\" \/>                        <\/a>\n                        <p class=\"nombre-producto\" title=\"Arroz con pollo\">Arroz con pollo<\/p>\n                        <p class=\"precio-producto\"><span class=\"woocommerce-Price-amount amount\"><bdi>2.000<span class=\"woocommerce-Price-currencySymbol\" translate=\"no\">CFA<\/span><\/bdi><\/span><\/p>\n                    <\/div>\n                            <\/div>\n    <\/div>\n    \n<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"<p>Tu historial de b\u00fasqueda<\/p>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"elementor_header_footer","meta":{"footnotes":""},"class_list":["post-2493","page","type-page","status-publish","hentry","thunk-woo-product-list","opn-qv-enable","th-shop-mania-woo-hover-","open-single-product-tab-horizontal","open-shadow-","open-shadow-hover-","th-shop-mania-single-product-content-left"],"_links":{"self":[{"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/pages\/2493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/comments?post=2493"}],"version-history":[{"count":271,"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/pages\/2493\/revisions"}],"predecessor-version":[{"id":12025,"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/pages\/2493\/revisions\/12025"}],"wp:attachment":[{"href":"https:\/\/macketi.com\/en\/wp-json\/wp\/v2\/media?parent=2493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}