uc_ajax_cart.install in Ubercart AJAX Cart 5
Same filename and directory in other branches
File
uc_ajax_cart.installView 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');
}
Functions
Name | Description |
---|---|
uc_ajax_cart_install | |
uc_ajax_cart_uninstall |