Skip to content

Dynamic embedded form with OneToOne relationship

I’m trying to create a form for an article with an addon (tender). The article is in one-to-one relationship with the addon and the addon can be disabled (null). If the checkbox with an addon is checked, the addon needs to be validated, then submitted together with the article. The issue I’m havin…

Attaching / Sending .ics event via email in php

I am having trouble trying to send an .ics file ‘meeting invitation’ via email. I am using this class to quickly generate the contents of the .ics file: https://gist.github.com/jakebellacera/635416 The content generates correctly but I cannot get it to show as an attachment… so far only as s…

How to create a stripe invoice without customer id

I’m trying to generate an invoice through stripe but the API requires a Client ID which I have no idea how to retrieve. I’m using Session checkout: method called by ajax $checkout_session = Checkout…

My cart_item_data isn’t showing up in the order

I’m working on a site that lets a user enter data from a form and have it attached to a product. I was originally using: $cart_item_data [‘Entry Link’] = $formUrl; $woocommerce->cart->…

Support negative values

I’m in a situation where the CSV file is getting rid of the leading zero before my import and I need to be able to account for that. Let’s say that I have my value as the following: -.0982739 -> I …