PhoenixKit.Modules.Shop (PhoenixKitEcommerce v0.1.4)

Copy Markdown View Source

Compat alias for PhoenixKitEcommerce. Delegates all public functions so core can reference the old namespace. Will be removed once core is fully migrated to PhoenixKitEcommerce.*.

Summary

Functions

See PhoenixKitEcommerce.admin_tabs/0.

See PhoenixKitEcommerce.module_key/0.

See PhoenixKitEcommerce.module_name/0.

See PhoenixKitEcommerce.permission_metadata/0.

See PhoenixKitEcommerce.required_modules/0.

See PhoenixKitEcommerce.route_module/0.

See PhoenixKitEcommerce.settings_tabs/0.

See PhoenixKitEcommerce.user_dashboard_tabs/0.

Functions

add_to_cart(cart, product_uuid, quantity, opts \\ [])

See PhoenixKitEcommerce.add_to_cart/4.

admin_tabs()

See PhoenixKitEcommerce.admin_tabs/0.

aggregate_filter_values(products)

See PhoenixKitEcommerce.aggregate_filter_values/1.

auto_select_payment_option(cart, payment_options)

See PhoenixKitEcommerce.auto_select_payment_option/2.

auto_select_shipping_method(cart, shipping_methods)

See PhoenixKitEcommerce.auto_select_shipping_method/2.

bulk_delete_categories(ids)

See PhoenixKitEcommerce.bulk_delete_categories/1.

bulk_delete_products(ids)

See PhoenixKitEcommerce.bulk_delete_products/1.

bulk_update_category_parent(ids, parent_id)

See PhoenixKitEcommerce.bulk_update_category_parent/2.

bulk_update_category_status(ids, status)

See PhoenixKitEcommerce.bulk_update_category_status/2.

bulk_update_product_category(ids, category_id)

See PhoenixKitEcommerce.bulk_update_product_category/2.

bulk_update_product_status(ids, status)

See PhoenixKitEcommerce.bulk_update_product_status/2.

calculate_product_price(product, selected_specs \\ %{})

See PhoenixKitEcommerce.calculate_product_price/2.

cart_url(locale)

See PhoenixKitEcommerce.cart_url/1.

catalog_url(locale)

See PhoenixKitEcommerce.catalog_url/1.

category_options()

See PhoenixKitEcommerce.category_options/0.

category_slug_exists?(slug, language, opts \\ [])

See PhoenixKitEcommerce.category_slug_exists?/3.

category_url(locale, slug)

See PhoenixKitEcommerce.category_url/2.

change_category(category, attrs \\ %{})

See PhoenixKitEcommerce.change_category/2.

change_import_config(config, attrs \\ %{})

See PhoenixKitEcommerce.change_import_config/2.

change_product(product, attrs \\ %{})

See PhoenixKitEcommerce.change_product/2.

change_shipping_method(method, attrs \\ %{})

See PhoenixKitEcommerce.change_shipping_method/2.

checkout_url(locale)

See PhoenixKitEcommerce.checkout_url/1.

clear_cart(cart)

See PhoenixKitEcommerce.clear_cart/1.

collect_product_file_uuids(product)

See PhoenixKitEcommerce.collect_product_file_uuids/1.

collect_products_file_uuids(products)

See PhoenixKitEcommerce.collect_products_file_uuids/1.

complete_import(log, attrs)

See PhoenixKitEcommerce.complete_import/2.

convert_cart_to_order(cart, opts)

See PhoenixKitEcommerce.convert_cart_to_order/2.

count_active_carts()

See PhoenixKitEcommerce.count_active_carts/0.

create_cart(attrs)

See PhoenixKitEcommerce.create_cart/1.

create_category(attrs)

See PhoenixKitEcommerce.create_category/1.

create_import_config(attrs)

See PhoenixKitEcommerce.create_import_config/1.

create_import_log(attrs)

See PhoenixKitEcommerce.create_import_log/1.

create_product(attrs)

See PhoenixKitEcommerce.create_product/1.

create_shipping_method(attrs)

See PhoenixKitEcommerce.create_shipping_method/1.

default_storefront_filters()

See PhoenixKitEcommerce.default_storefront_filters/0.

delete_category(category)

See PhoenixKitEcommerce.delete_category/1.

delete_import_config(config)

See PhoenixKitEcommerce.delete_import_config/1.

delete_import_log(log)

See PhoenixKitEcommerce.delete_import_log/1.

delete_product(product)

See PhoenixKitEcommerce.delete_product/1.

delete_shipping_method(method)

See PhoenixKitEcommerce.delete_shipping_method/1.

disable_system()

See PhoenixKitEcommerce.disable_system/0.

discover_filterable_options()

See PhoenixKitEcommerce.discover_filterable_options/0.

enable_system()

See PhoenixKitEcommerce.enable_system/0.

enabled?()

See PhoenixKitEcommerce.enabled?/0.

ensure_default_import_config()

See PhoenixKitEcommerce.ensure_default_import_config/0.

ensure_prom_ua_import_config()

See PhoenixKitEcommerce.ensure_prom_ua_import_config/0.

expire_old_carts()

See PhoenixKitEcommerce.expire_old_carts/0.

fail_import(log, reason)

See PhoenixKitEcommerce.fail_import/2.

find_active_cart(opts)

See PhoenixKitEcommerce.find_active_cart/1.

find_product_by_slug_map(slug_map)

See PhoenixKitEcommerce.find_product_by_slug_map/1.

format_product_price(product, currency, style \\ :from)

See PhoenixKitEcommerce.format_product_price/3.

get_available_shipping_methods(cart)

See PhoenixKitEcommerce.get_available_shipping_methods/1.

get_cart(id)

See PhoenixKitEcommerce.get_cart/1.

get_cart!(id)

See PhoenixKitEcommerce.get_cart!/1.

get_category(id)

See PhoenixKitEcommerce.get_category/1.

get_category!(id)

See PhoenixKitEcommerce.get_category!/1.

get_category_by_any_slug(slug)

See PhoenixKitEcommerce.get_category_by_any_slug/1.

get_category_by_slug(slug)

See PhoenixKitEcommerce.get_category_by_slug/1.

get_category_by_slug_localized(slug, locale)

See PhoenixKitEcommerce.get_category_by_slug_localized/2.

get_category_slug(category, locale)

See PhoenixKitEcommerce.get_category_slug/2.

get_config()

See PhoenixKitEcommerce.get_config/0.

get_dashboard_stats()

See PhoenixKitEcommerce.get_dashboard_stats/0.

get_default_currency()

See PhoenixKitEcommerce.get_default_currency/0.

get_default_currency_code()

See PhoenixKitEcommerce.get_default_currency_code/0.

get_default_import_config()

See PhoenixKitEcommerce.get_default_import_config/0.

get_default_language()

See PhoenixKitEcommerce.get_default_language/0.

get_enabled_storefront_filters()

See PhoenixKitEcommerce.get_enabled_storefront_filters/0.

get_import_config(id)

See PhoenixKitEcommerce.get_import_config/1.

get_import_config!(id)

See PhoenixKitEcommerce.get_import_config!/1.

get_import_config_by_name(name)

See PhoenixKitEcommerce.get_import_config_by_name/1.

get_import_log(id)

See PhoenixKitEcommerce.get_import_log/1.

get_import_log!(id)

See PhoenixKitEcommerce.get_import_log!/1.

get_or_create_cart(opts)

See PhoenixKitEcommerce.get_or_create_cart/1.

get_price_affecting_specs(product)

See PhoenixKitEcommerce.get_price_affecting_specs/1.

get_price_range(products_or_opts)

See PhoenixKitEcommerce.get_price_range/1.

get_product(id)

See PhoenixKitEcommerce.get_product/1.

get_product!(id)

See PhoenixKitEcommerce.get_product!/1.

get_product_by_any_slug(slug)

See PhoenixKitEcommerce.get_product_by_any_slug/1.

get_product_by_slug(slug)

See PhoenixKitEcommerce.get_product_by_slug/1.

get_product_by_slug_localized(slug, locale, opts \\ [])

See PhoenixKitEcommerce.get_product_by_slug_localized/3.

get_product_slug(product, locale)

See PhoenixKitEcommerce.get_product_slug/2.

get_selectable_specs(product)

See PhoenixKitEcommerce.get_selectable_specs/1.

get_shipping_method(id)

See PhoenixKitEcommerce.get_shipping_method/1.

get_shipping_method!(id)

See PhoenixKitEcommerce.get_shipping_method!/1.

get_shipping_method_by_slug(slug)

See PhoenixKitEcommerce.get_shipping_method_by_slug/1.

get_storefront_filters()

See PhoenixKitEcommerce.get_storefront_filters/0.

list_active_categories(opts \\ [])

See PhoenixKitEcommerce.list_active_categories/1.

list_carts_with_count(opts)

See PhoenixKitEcommerce.list_carts_with_count/1.

list_categories(opts \\ [])

See PhoenixKitEcommerce.list_categories/1.

list_categories_localized(opts)

See PhoenixKitEcommerce.list_categories_localized/1.

list_categories_with_count(opts)

See PhoenixKitEcommerce.list_categories_with_count/1.

list_category_product_options(category_id)

See PhoenixKitEcommerce.list_category_product_options/1.

list_empty_categories()

See PhoenixKitEcommerce.list_empty_categories/0.

list_import_configs(opts \\ [])

See PhoenixKitEcommerce.list_import_configs/1.

list_import_logs(opts \\ [])

See PhoenixKitEcommerce.list_import_logs/1.

list_menu_categories(opts \\ [])

See PhoenixKitEcommerce.list_menu_categories/1.

list_products(opts \\ [])

See PhoenixKitEcommerce.list_products/1.

list_products_by_ids(ids)

See PhoenixKitEcommerce.list_products_by_ids/1.

list_products_localized(opts)

See PhoenixKitEcommerce.list_products_localized/1.

list_products_with_count(opts)

See PhoenixKitEcommerce.list_products_with_count/1.

list_root_categories(opts \\ [])

See PhoenixKitEcommerce.list_root_categories/1.

list_shipping_methods(opts \\ [])

See PhoenixKitEcommerce.list_shipping_methods/1.

list_visible_categories(opts \\ [])

See PhoenixKitEcommerce.list_visible_categories/1.

mark_abandoned_carts()

See PhoenixKitEcommerce.mark_abandoned_carts/0.

merge_guest_cart(session_id, user)

See PhoenixKitEcommerce.merge_guest_cart/2.

merge_localized_attrs(existing, new_attrs)

See PhoenixKitEcommerce.merge_localized_attrs/2.

module_key()

See PhoenixKitEcommerce.module_key/0.

module_name()

See PhoenixKitEcommerce.module_name/0.

permission_metadata()

See PhoenixKitEcommerce.permission_metadata/0.

product_counts_by_category()

See PhoenixKitEcommerce.product_counts_by_category/0.

product_slug_exists?(slug, language, opts \\ [])

See PhoenixKitEcommerce.product_slug_exists?/3.

product_url(locale, slug)

See PhoenixKitEcommerce.product_url/2.

remove_from_cart(item)

See PhoenixKitEcommerce.remove_from_cart/1.

required_modules()

See PhoenixKitEcommerce.required_modules/0.

route_module()

See PhoenixKitEcommerce.route_module/0.

set_cart_payment_option(cart, payment_option_uuid)

See PhoenixKitEcommerce.set_cart_payment_option/2.

set_cart_shipping(cart, method_uuid, cost)

See PhoenixKitEcommerce.set_cart_shipping/3.

set_cart_shipping_country(cart, country_code)

See PhoenixKitEcommerce.set_cart_shipping_country/2.

settings_tabs()

See PhoenixKitEcommerce.settings_tabs/0.

start_import(import_log, total_rows)

See PhoenixKitEcommerce.start_import/2.

translations()

See PhoenixKitEcommerce.translations/0.

update_cart_item(item, quantity)

See PhoenixKitEcommerce.update_cart_item/2.

update_category(category, attrs)

See PhoenixKitEcommerce.update_category/2.

update_category_translation(category, locale, attrs)

See PhoenixKitEcommerce.update_category_translation/3.

update_import_config(config, attrs)

See PhoenixKitEcommerce.update_import_config/2.

update_import_log(log, attrs)

See PhoenixKitEcommerce.update_import_log/2.

update_import_progress(log, attrs)

See PhoenixKitEcommerce.update_import_progress/2.

update_product(product, attrs)

See PhoenixKitEcommerce.update_product/2.

update_product_translation(product, locale, attrs)

See PhoenixKitEcommerce.update_product_translation/3.

update_shipping_method(method, attrs)

See PhoenixKitEcommerce.update_shipping_method/2.

update_storefront_filters(filters)

See PhoenixKitEcommerce.update_storefront_filters/1.

upsert_product(attrs)

See PhoenixKitEcommerce.upsert_product/1.

user_dashboard_tabs()

See PhoenixKitEcommerce.user_dashboard_tabs/0.

validate_selected_specs(product, selected)

See PhoenixKitEcommerce.validate_selected_specs/2.