You are here

uc_ajax_cart.install in Ubercart AJAX Cart 5

File

uc_ajax_cart.install
View source
<?php

/***
 *
 * author Erik Seifert <support@b-connect.de>
 *
 */
function uc_ajax_cart_install() {
  variable_set('uc_ajax_cart_js_load', true);
  variable_set('uc_ajax_cart_button_txt', 'Add product to cart...');
  variable_set('uc_ajax_cart_button_class', 'disabled');
  variable_set('uc_ajax_cart_button_disable', '1');
}
function uc_ajax_cart_uninstall() {
  variable_del('uc_ajax_cart_js_load');
  variable_del('uc_ajax_cart_js_src');
  variable_del('uc_ajax_cart_button_txt');
  variable_del('uc_ajax_cart_button_c');
  variable_del('uc_ajax_cart_button_class');
}