Drupal: Create Drupal7 node Programmatically

This CodeLet will read data from an external API, parse the JSON response & build a node of specific type. It imports taxonomies & images as well. The fascinating thing about this CodeLet is, it can import data to multi - value node fields, including multi widget fields & different field types.

Magento: Display related products block on the Onepage checkout

This CodeLet display related products of cart items on the Onepage Checkout at the bottom.

Follow steps to add related products on the Onepage checkout page.

  1. Edit the onepage.phtml file located at /app/design/frontend/default/your_template/template/checkout
  2. Add the following code end of the file: