April 2013

Drupal: Recycle Ubercart coupons

This CodeLet recycles coupons created using Ubercart coupon module. The CodeLet chooses a coupon randomly from the available active coupons and send an email with coupon details to respective users. The coupon is remain active uintil defined period and then expires. This CodeLet, when cron runs, activates those coupons and those can be used again.

Drupal: Generate unique invoice number for unbercart order

This CodeLet generate a unique invoice number for every order placed with ubercart. The unique invice number is stored in a custom table and a function is provided to fetch the invoice number for respective order number. You can use this function in order template to display the inovice number

Drupal: Country dependant city dropdowns

This Codlet allows you to load state and city dropdown fields from country you select.
It works as follow:

1. select country, states dropdown will be loaded from country.
2. select state, city dropdown will be loaded from state you select.

Ex. selected country is 'INDIA' you get states dropdown depend on INDIA,

About

DrupalDeveloper.in has been a very handy tool for those who learn to customize Drupal and its API. We had hosting with bluehost which has terminated the account abruptly and we lost all our data. We are now setting the site again with latest Drupal core version and will import all the previou content and features from our backup. We would appreciate your cooperation.

We have been uploading all the CodeLets again. We would appreciate your feedback and review about the CodeLets and overall structure of the site.

Thank you.