{"id":1272,"date":"2022-10-10T11:14:33","date_gmt":"2022-10-10T16:14:33","guid":{"rendered":"http:\/\/racmanuel.dev\/?post_type=proyectos&#038;p=1272"},"modified":"2022-12-22T10:52:48","modified_gmt":"2022-12-22T16:52:48","slug":"buen-fin","status":"publish","type":"proyectos","link":"https:\/\/racmanuel.dev\/en\/proyectos\/buen-fin\/","title":{"rendered":"Buen Fin"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Personal plugin project for WordPress and WooCommerce for the Buen Fin event in Mexico.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\" id=\"que-es-el-buen-fin\"><span style=\"color: var(--theme-palette-color-2, #25ff00);\" class=\"stk-highlight\">What is Buen Fin?<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Buen Fin is an annual nationwide shopping event in Mexico. It began in 2011. It takes place on the weekend prior to Mexican Revolution Day, which is observed on the third Monday of November.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\" id=\"descripcion-del-proyecto\"><span style=\"color: var(--theme-palette-color-2, #25ff00);\" class=\"stk-highlight\">Project Description<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In this project, I developed a plugin for WordPress and WooCommerce that allows me to display product prices at 3, 6, 9, and 12 months with no interest on the individual WooCommerce product page, before the \"Add to Cart\" button. I created it with e-commerce stores in Mexico in mind, to provide them with greater visibility during the Buen Fin event in Mexico.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\" id=\"como-realize-el-plugin\"><span style=\"color: var(--theme-palette-color-2, #25ff00);\" class=\"stk-highlight\">How did I create the plugin?<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The answer is very simple by following the <a href=\"https:\/\/developer.wordpress.org\/plugins\/\" data-type=\"URL\" data-id=\"https:\/\/developer.wordpress.org\/plugins\/\" rel=\"nofollow noopener\" target=\"_blank\">Plugin Developer Handbook<\/a> Official on the website of <a href=\"https:\/\/es-mx.wordpress.org\/\" data-type=\"URL\" data-id=\"https:\/\/es-mx.wordpress.org\/\" rel=\"nofollow noopener\" target=\"_blank\">WordPress<\/a>. Additionally, this plugin was my first plugin in which I used object-oriented programming with WordPress and PHP. To develop the plugin, I used the famous <a href=\"https:\/\/github.com\/DevinVinson\/WordPress-Plugin-Boilerplate\" data-type=\"URL\" data-id=\"https:\/\/github.com\/DevinVinson\/WordPress-Plugin-Boilerplate\" rel=\"nofollow noopener\" target=\"_blank\">DevinVinson boilerplate<\/a> which allowed me to quickly and easily understand how WordPress Hooks and Filters work.<\/p>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\" id=\"como-funciona-el-plugin\"><span style=\"color: var(--theme-palette-color-2, #25ff00);\" class=\"stk-highlight\">How does the plugin work?<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The plugin essentially consists of downloading the plugin from the official WordPress plugin repository in two parts. On the admin side, I added functionality using Hooks and Filters. I also added a configuration page in the WooCommerce settings section that allows the user to modify the months with no interest to be displayed, as well as the texts shown on the individual product page.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div class=\"wp-block-jetpack-tiled-gallery aligncenter is-style-columns\"><div class=\"tiled-gallery__gallery\"><div class=\"tiled-gallery__row\"><div class=\"tiled-gallery__col\" style=\"flex-basis:37.81073%\"><figure class=\"tiled-gallery__item\"><a href=\"http:\/\/racmanuel.dev\/en\/?attachment_id=1331\"><img decoding=\"async\" alt=\"\" data-height=\"680\" data-id=\"1331\" data-link=\"http:\/\/racmanuel.dev\/?attachment_id=1331\" data-url=\"http:\/\/racmanuel.dev\/wp-content\/uploads\/Buen-Fin-2.png\" data-width=\"806\" src=\"https:\/\/i0.wp.com\/racmanuel.dev\/wp-content\/uploads\/Buen-Fin-2.png?ssl=1\" data-amp-layout=\"responsive\" title=\"\"><\/a><\/figure><\/div><div class=\"tiled-gallery__col\" style=\"flex-basis:37.81073%\"><figure class=\"tiled-gallery__item\"><a href=\"http:\/\/racmanuel.dev\/en\/?attachment_id=1332\"><img decoding=\"async\" alt=\"\" data-height=\"680\" data-id=\"1332\" data-link=\"http:\/\/racmanuel.dev\/?attachment_id=1332\" data-url=\"http:\/\/racmanuel.dev\/wp-content\/uploads\/Buen-Fin-1.png\" data-width=\"806\" src=\"https:\/\/i0.wp.com\/racmanuel.dev\/wp-content\/uploads\/Buen-Fin-1.png?ssl=1\" data-amp-layout=\"responsive\" title=\"\"><\/a><\/figure><\/div><div class=\"tiled-gallery__col\" style=\"flex-basis:24.37854%\"><figure class=\"tiled-gallery__item\"><a href=\"http:\/\/racmanuel.dev\/en\/?attachment_id=1333\"><img decoding=\"async\" alt=\"\" data-height=\"2342\" data-id=\"1333\" data-link=\"http:\/\/racmanuel.dev\/?attachment_id=1333\" data-url=\"http:\/\/racmanuel.dev\/wp-content\/uploads\/Buen-Fin-3-781x1024.jpeg\" data-width=\"1787\" src=\"https:\/\/i1.wp.com\/racmanuel.dev\/wp-content\/uploads\/Buen-Fin-3-781x1024.jpeg?ssl=1\" data-amp-layout=\"responsive\" title=\"\"><\/a><\/figure><\/div><\/div><\/div><\/div>\n\n\n\n<h2 class=\"has-medium-font-size wp-block-heading\" id=\"quieres-descargar-este-plugin\"><span style=\"color: var(--theme-palette-color-2, #25ff00);\" class=\"stk-highlight\">Do you want to download this plugin?<\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you wish to download this plugin to use it in your WordPress web project, you can do so by clicking on the following link: <a href=\"https:\/\/es-mx.wordpress.org\/plugins\/buen-fin\/\" rel=\"nofollow noopener\" target=\"_blank\">Buen Fin \u2013 WordPress Plugin | WordPress.org Espa\u00f1ol (M\u00e9xico)<\/a><\/p>\n\n\n\n\n\n\n<p class=\"wp-block-paragraph\">Or by clicking the following download button:<\/p>\n\n\n\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button\"><a class=\"wp-block-button__link has-palette-color-1-color has-palette-color-2-background-color has-text-color has-background wp-element-button\" href=\"https:\/\/es-mx.wordpress.org\/plugins\/buen-fin\/\" style=\"border-radius:0px\" rel=\"nofollow noopener\" target=\"_blank\">Download plugin<\/a><\/div>\n<\/div>\n\n\n\n<div class=\"wp-block-group is-layout-constrained wp-block-group-is-layout-constrained\">\n<h5 class=\"wp-block-heading\" id=\"tienes-algun-proyecto-web-en-mente\"><strong><span style=\"color: var(--theme-palette-color-2, #25ff00);\" class=\"stk-highlight\">Do you have any Web Project in mind?<\/span><\/strong><\/h5>\n\n\n\n<p class=\"wp-block-paragraph\">Do you need help with a web project? Don&#039;t hesitate to contact me. I develop complete and customized solutions with WordPress and PHP, using modern tools and processes, HTML, CSS, SCSS, PHP, JavaScript, Bootstrap, and more. Ready? Send me a message and let&#039;s talk about your web project!<\/p>\n\n\n\n<div class=\"wp-block-jetpack-contact-form\">\n\n\n\n\n\n\n\n<\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Plugin project for WordPress and WooCommerce to display product prices at 3, 6, 9, and 12 months with no interest on the individual WooCommerce product page, before the \"Add to Cart\" button, designed for e-commerce stores in Mexico during the Buen Fin event in Mexico.<\/p>","protected":false},"author":1,"featured_media":1366,"parent":0,"template":"","tipo":[10],"class_list":["post-1272","proyectos","type-proyectos","status-publish","has-post-thumbnail","hentry","tipo-plugin-para-wordpress"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"acf":[],"_links":{"self":[{"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/proyectos\/1272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/proyectos"}],"about":[{"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/types\/proyectos"}],"author":[{"embeddable":true,"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":12,"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/proyectos\/1272\/revisions"}],"predecessor-version":[{"id":1742,"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/proyectos\/1272\/revisions\/1742"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/media\/1366"}],"wp:attachment":[{"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/media?parent=1272"}],"wp:term":[{"taxonomy":"tipo","embeddable":true,"href":"https:\/\/racmanuel.dev\/en\/wp-json\/wp\/v2\/tipo?post=1272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}