Hive UK Contract Mobile Phone Store



Virtuemart SMS Component

Hive UK SMS

What does it do?

Well it basically sends you an sms message to your mobile number that you set up in the admin section of Joomla so that whenever an order is placed, it will text you to notify you the customers name, order number and value or order. You will still receive the standard notification via email, this is just giving you the added benefit whilst being away from the office/store. You need a "clickatell" sms account for this to work and the costs of buying bulk sms is very cheap.

The component loads in the standard 'Joomla' way. You then set up the configuration (see below)

install config

Once you have entered the account settings given to you from Clickatell for the API, Username & Password you then put your mobile number in the sender & receiver boxes. You can then add a standard pre-text message.

Next you can send a test message to verify that the system is working correctly (see below)

test your sms

Next you will need to implement some code in /administrator/components/com_virtuemart/classes/ps_checkout.php.

search for
 
 
  return true;
 
 } // end of function email_receipt()
 
Insert the following code just above it.
 
 
 
//send SMS with clickatel api
 /*
 $order_total = $db->f("order_total");
  $order_discount = $db->f("order_discount");
  $coupon_discount = $db->f("coupon_discount");
 
 */
 $sms_orderid = $order_id;
    $sms_reference = $shopper_name;
 $sms_message_extra = ": " . $shopper_name . "Order # (" . $sms_orderid  .")".$row['MAKE']." ;Total:".($order_total-$order_discount-$coupon_discount);
  // Create notification object
 
 require_once ($GLOBALS['mosConfig_absolute_path'].'/administrator/components/com_hiveuksms/'.'hiveuksms.php');
   
 
 //send SMS with clickatel api ends here
Now you have completed the installation please carry out a test sale in your shop to be sure it is working correctly.

You can download the component by clicking on the box:-text

 skype ID= hiveuk

 

We are part of the MFonex group and act as an advertiser of Supercover Insurance who are authorised and regulated by the Financial Services Authority.

Choosing the right phone