
Sanitize post data, use wp.media to select images, store image id and size in hidden inputs, and update the display on save in a WordPress WooCommerce plugin.
Learn to ensure unique component ids when adding and adjusting components, handle id reassignment on removal, and fix image display by using image id in a WordPress WooCommerce plugin workflow.
Build a WordPress/WooCommerce plugin feature that uses group components to manage pizza sites, floors, and dish meta values with checkbox selection, post requests, and component removal.
Display custom components on the WooCommerce product page by injecting them into the product form through actions and templates, using a pizza display.
Learn to update prices on a WooCommerce product page with a WordPress plugin approach, using data attributes and component-based JavaScript to recalculate totals as quantities change.
Learn to manage sides components in a WordPress/WooCommerce plugin workflow, including initializing the sites block, adapting components, and mapping product IDs, images, and prices for dynamic side selections.
Learn to calculate and update dish type component prices in a WordPress/WooCommerce plugin, including adding components to cart, syncing totals, and ensuring checkout reflects changes.
Extract cart items, prepare product data, and pass item data to templates to display cart data on the cart page with interactive elements like popups.
Learn to customize the price HTML for a variable product in a WordPress WooCommerce plugin by editing the price display logic, handling price ranges, and aligning with variable product data.
Learn how to wire a variable product in WooCommerce by handling the show variation event with JavaScript, updating price and regular price when a variation is selected.
Activate slick js to create a responsive carousel slider that adapts to screen size, turning the ingredient list into a sleek front-end display.
This is a complete WordPress/WooCommerce plugin, that could be easily accepted by WordPress repository. You will learn how to build this one. At first, this task may seem impossible to you, if you are a new one in plugin development. By doing step by step, as this course is builded, finally you will get enough knowledge to build somethig similar or even more complex project, i have no doubt.
You will learn the vital cycle of WooCommerce, how it is built, and what you will need to expand its functionality:
1. Admin. With help of WooCommerce hooks you will display data in right place, then interact with this data through Javascript, and then save want you need to database (wp_options, wp_postmeta tables).
1.1 WordPress media & WordPress template libraries will help us to build complex components logic.
2. Front. With help of WooCommerce hooks you will display data in right place, then interact with this data through Javascript, and then save want you need to Cart Session/ WC_Order_Item meta. Updating prices in cart/checkout, in price html strings, display choosen meta in cart/checkout/thankyou pages, custom functions, deep look inside woocommrce methods and many other things.
2.1 Fancybox, Tippy, Slick, SlimScroll will improve UX/UI.
2.2 Make Compatible with Variable product type.
Become highly competent and relevant among WordPress/WooCommerce developers. If you're ready to become WordPress/WooCommerce developer - I'll see you on the inside!