Blog / Code
Since PHP 5.2.0, a glorious built-in feature often overlooked is PHP's DateTime class. Let's explore it's amazing capabilities and learn how to use it!
Having a custom callback to add products to the user's cart can be very valuable. You are able to create dynamic links that act as the built-in "Add to Cart" form.