Your cart is currently empty!
Work Notes: Adding Custom Meta data to the Cart, WooCommerce Blocks, .js
This is how you add custom meta data to a cart in WooCommerce using JavaScript(React). The php: The React: Now we have to add it to the post meta so that we know what order the product has. I am fascinated by this line: I may use $order->update_post_meta, as seen here but for now I’m…
Private Work Notes: Making Extended Checkout plus Affiliate
I would like an affiliate program in order to test out the functionality of EC plus fundraisers. I am currently not in a position where I’m running fundraisers but selling Extended Checkout I would definitely like to use an affiliate system to increase sales. My plan is to make Extended Checkout the framework that the…
Private Work Notes: Making a Fundraiser with realtime functionality – Part 3
[x ] I may be able to query that PHP statement and allocate to an array it’ll be get underscore users using a PHP thing and that will save me the hassle of having to create a mirror API. [ x] Change the checkout page to show users rather than CPT, hopefully, I will be…
Work Notes: Setting up OTA updates for WordPress plugins
So I have to have the plugin on my server, here is the link to the zip which is publicly available. (https://ec.wp2mag.com/ec-plus-fundraiser/zips/ec-plus-fundraiser.zip) The official* docs on this topic. … I like this testing functionality to check if a php function is being fired in relation to the page:
Private Work Notes: Making a Fundraiser with realtime functionality – Part 2
Make the analytics good and then focus on the editing of the component so users can get the fundraisers page looking really good. [x]I also think I am going to switch Fundraiser to Fundraising Campaigns. … The implementation of this got kind of murky so here is the end user process: Someone who wants to…
Article: Don’t use saveEntityRecord for saving user meta within WordPress Gutenberg
I am trying to get something like this working: I tried to use saveEntityRecord for changing user meta and it didn’t work. In order to change user meta you have to register_meta in php with show in rest set to true. Then, use a POST request to post to the endpoint with the body of…
Guide: How I structure my WP Gutenberg & WC Blocks project
The build process is reliant upon the editorScript param within the block.json Then it runs the checkoutRegisterBlock and registerBlockType. Whats in the build folder are blocks. I always prepend it with checkout-block- to know the naming scheme and how the block is shown differently. I’ve yet to add the slot fill on the editor side…
Work notes: Building a ‘Barebones’ theme for better cURL output
I had this problem in another post: “Seeing what’s in the checkout page, I need to work hard to get that checkout page as small as plausible to make it easier for me to consume. There’s so much boilerplate/cruft that I’m probably going to have to make a “clean space” to put the outputs I…
Work Notes: EC Refactor 2 – Part 2
I also have to make a demo site but I don’t feel like making a WordPress site for this so I’ll probably end up making a SPA for the checkout and edit checkout page to demonstrate functionality. y5397: Script for walk through video Step 1: Get the plugin on your computer and upload it to…
Work Notes: Using local storage to share state between Gutenberg Blocks.
I managed to have it work but it’s not updating from the original value unless I delete the Local Storage value. I still need to get it working where a useEffect can change the value within Local Storage. I wanted to try a new solution because I wanted to share the results of an http…