Drupal commerce

Drupal: Commerce buy now

This CodeLet will redirect the user to checkout page when user clicks on 'Buy now' button on the product

Use the code and create a custom module

Make sure you keep the weight of the module high in "system" table

Drupal: Add products to cart programatically

This CodeLet allows to add products to cart from code. The current product uses an extra text field. The cart view has been modified to accomodate extra fields from the product

Subscribe to RSS - Drupal commerce