Ron Savage

NAME

Business::Cart::Generic::Database::Create - Basic shopping cart

Synopsis

See Business::Cart::Generic.

Description

Business::Cart::Generic implements parts of osCommerce and PrestaShop in Perl.

Installation

See Business::Cart::Generic.

Constructor and Initialization

Parentage

This class extends Business::Cart::Generic::Base.

Using new()

See scripts/create.tables.pl and scripts/drop.tables.pl.

Methods

create_all_tables()

Runs a db transaction to create all tables.

Calls create_tables().

Returns nothing.

create_tables()

Helper for create_all_tables(). Never called directly.

Returns nothing.

create_categories_table()

create_category_descriptions_table()

create_countries_table()

create_currencies_table()

create_customers_table()

create_customer_statuses_table()

create_customer_types_table()

create_email_addresses_table()

create_email_address_types_table()

create_email_lists_table()

create_genders_table()

create_languages_table()

create_log_table()

create_logons_table()

create_manufacturers_table()

create_manufacturers_info_table()

create_order_history_table()

create_order_items_table()

create_orders_table()

create_order_statuses_table()

create_payment_methods_table()

create_phone_lists_table()

create_phone_numbers_table()

create_phone_number_types_table()

create_product_classes_table()

create_product_colors_table()

create_product_descriptions_table()

create_products_table()

create_product_sizes_table()

create_product_statuses_table()

create_products_to_categories_table()

create_product_styles_table()

create_product_types_table()

create_sessions_table()

create_street_addresses_table()

create_tax_classes_table()

create_tax_rates_table()

create_titles_table()

create_weight_classes_table()

create_weight_class_rules_table()

create_yes_no_table()

create_zones_table()

drop_all_tables()

Runs a db transaction to drop all tables.

Calls drop_tables().

Returns nothing.

drop_tables()

Helper for drop_all_tables(). Never called directly.

Calls drop_table().

Returns nothing.

drop_table($table_name)

Drop the named table.

Returns nothing.

report($table_name, $message, $result)

Report on the success of otherwise of create_table().

Returns nothing.

Machine-Readable Change Log

The file CHANGES was converted into Changelog.ini by Module::Metadata::Changes.

Version Numbers

Version numbers < 1.00 represent development versions. From 1.00 up, they are production versions.

Thanks

Many thanks are due to the people who chose to make osCommerce and PrestaShop, Zen Cart, etc, Open Source.

Support

Email the author, or log a bug on RT:

https://rt.cpan.org/Public/Dist/Display.html?Name=Business::Cart::Generic.

Author

Business::Cart::Generic was written by Ron Savage <ron@savage.net.au> in 2011.

Home page: http://savage.net.au/index.html.

Copyright

Australian copyright (c) 2011, Ron Savage.

        All Programs of mine are 'OSI Certified Open Source Software';
        you can redistribute them and/or modify them under the terms of
        The Artistic License, a copy of which is available at:
        http://www.opensource.org/licenses/index.html