{"id":41521,"date":"2025-09-20T20:34:56","date_gmt":"2025-09-20T20:34:56","guid":{"rendered":"https:\/\/1stcda.co\/?page_id=41521"},"modified":"2025-09-20T21:37:39","modified_gmt":"2025-09-20T21:37:39","slug":"courses-cart","status":"publish","type":"page","link":"https:\/\/www.1stcda.com\/es\/courses-cart\/","title":{"rendered":"Cursos \u2013 Carrito"},"content":{"rendered":"<div data-elementor-type=\"wp-page\" data-elementor-id=\"41521\" class=\"elementor elementor-41521\" data-elementor-post-type=\"page\">\n\t\t\t\t<div class=\"elementor-element elementor-element-5a3082d e-con-full e-flex e-con e-parent\" data-id=\"5a3082d\" data-element_type=\"container\">\n\t\t\t\t<div class=\"elementor-element elementor-element-fd896e1 elementor-widget elementor-widget-shortcode\" data-id=\"fd896e1\" data-element_type=\"widget\" data-widget_type=\"shortcode.default\">\n\t\t\t\t\t\t\t<div class=\"elementor-shortcode\">        <div id=\"drivescout-app\">\r\n            <div id=\"drivescout-cart-wrapper\">\r\n                <section id=\"drivescout-cart-wrapper\">\r\n  <p v-if=\"cart.isEmpty() && cart.isLoading() === false\">Tu carrito est\u00e1 vac\u00edo.<\/p>\r\n  <p v-if=\"cart.isLoading()\"><i class=\"fa fa-spinner fa-spin\"><\/i> Loading...<\/p>\r\n\r\n  <section v-cloak v-if=\"cart.isEmpty() === false && cart.isLoading() === false\">\r\n\r\n    <div class=\"cart\">\r\n      <div class=\"cart-item\" v-for=\"(product, index) in cart.data.products\">\r\n        <div class=\"block mb-auto\">\r\n          <p class=\"product-name\">{{ product.name() }}<\/p>\r\n          <p class=\"product-description\" v-if=\"product.description()\" v-html=\"product.description()\"><\/p>\r\n          <ul class=\"product-details\" v-if=\"product.sessiontypes().length > 0\">\r\n            <li v-for=\"sessiontype in product.sessiontypes()\">\r\n              {{ sessiontype.pivot.hours \/ 60 }} hours for {{ sessiontype.name }}\r\n            <\/li>\r\n          <\/ul>\r\n        <\/div>\r\n        <div class=\"block\">\r\n          <div class=\"mt-12 border-t grid grid-cols-2\">\r\n            <div class=\"p-4\">\r\n              <button class=\"remove-from-cart\" @click=\"cart.removeProduct(index)\" :href=\"cartUrl+'?action=remove-from-cart&product_index='+index\">Borrar\r\n              <\/button>\r\n            <\/div>\r\n            <div class=\"text-right p-4\">\r\n              <p class=\"product-price\">{{ product.priceInDollars() }}<\/p>\r\n            <\/div>\r\n          <\/div>\r\n        <\/div>\r\n      <\/div>\r\n    <\/div>\r\n\r\n    <hr \/>\r\n\r\n    <div class=\"ds_coupon-form-wrapper\">\r\n      <form method=\"post\" @submit.prevent=\"cart.applyCoupon(couponForm.coupon_code)\" :action=\"urls.applyCoupon\" action=\"\">\r\n        <label for=\"coupons\">\u00bfTienes un cup\u00f3n?<\/label>\r\n        <input name=\"coupon\" v-model=\"couponForm.coupon_code\" id=\"coupons\" type=\"text\" class=\"ds_form-control\" \/>\r\n        <div class=\"mt-4\">\r\n          <button class=\"py-2 px-4 text-center shadow font-semibold rounded border-0\" :disabled=\"couponForm.submitting === true\" style=\"background: #D9E2EC; color: #102A43;\" type=\"submit\">Aplicar cup\u00f3n\r\n          <\/button>\r\n        <\/div>\r\n      <input type=\"hidden\" name=\"trp-form-language\" value=\"es\"\/><\/form>\r\n    <\/div>\r\n\r\n    <div v-if=\"cart.hasCoupon()\" class=\"bg-white p-4 mt-4 mb-4\">\r\n      <strong>Applied Coupon:<\/strong><br \/>\r\n      <p class=\"mb-4\">{{ cart.data.coupon.label() }}<\/p>\r\n      <button class=\"py-2 px-4 text-center shadow font-semibold rounded border-0\" :disabled=\"cart.hasCoupon() === false\" style=\"background: #D9E2EC; color: #102A43;\" @click.prevent=\"cart.removeCoupon()\" type=\"submit\">Remove Coupon\r\n      <\/button>\r\n    <\/div>\r\n\r\n    <hr \/>\r\n\r\n    <div class=\"text-right mt-8 mr-4\">\r\n      <strong class=\"block mb-2\" style=\"color: #9FB3C8\">Sub-total: {{ cart.data.subTotalInDollars }}<\/strong>\r\n      <div v-if=\"cart.hasCoupon()\" class=\"mb-4\">\r\n        Applied Coupon: <br \/>{{ cart.data.coupon.label() }}\r\n      <\/div>\r\n      <strong class=\"block mb-4\" style=\"color: #9FB3C8\" v-if=\"surchargeBilledSeparately\">Processing Fees: {{ surchargeAmountBilledInDollars }}\r\n        <i class=\"tooltip float-right cursor-pointer\" v-if=\"surchargeDetail !== ''\">\r\n          <svg class=\"h-4 w-4 ml-2 mt-1 pointer-cursor text-blue-400\" viewbox=\"0 0 20 20\" fill=\"currentColor\">\r\n            <path fill-rule=\"evenodd\" d=\"M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z\" clip-rule=\"evenodd\" \/>\r\n          <\/svg>\r\n          <span class=\"tooltip-text bg-blue-200 p-3 -mt-6 -ml-6 rounded\">{{ surchargeDetail }}<\/span>\r\n        <\/i>\r\n      <\/strong>\r\n      <strong class=\"block text-2xl\" style=\"color: #243B53\">Total Debido: {{ totalDue }}<\/strong>\r\n      <strong class=\"block text-2xl\" style=\"color: #243B53\">Total Facturado: {{ totalBilled }}<\/strong>\r\n    <\/div>\r\n\r\n  <\/section>\r\n<\/section>\r\n                <a href=\"https:\/\/www.1stcda.com\/es\/courses-checkout\/\" class=\"go-to-checkout\">Procesar Pago<\/a>\r\n            <\/div>\r\n        <\/div>\r\n        <\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-41521","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/pages\/41521","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/comments?post=41521"}],"version-history":[{"count":42,"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/pages\/41521\/revisions"}],"predecessor-version":[{"id":41598,"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/pages\/41521\/revisions\/41598"}],"wp:attachment":[{"href":"https:\/\/www.1stcda.com\/es\/wp-json\/wp\/v2\/media?parent=41521"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}