Button_Display implements Premium_Service, Registerable, Conditional
Handles the display of the Quick View button in the shop.
Tags
Interfaces, Classes and Traits
- Premium_Service
- Registerable
- Conditional
Table of Contents
- $scripts : mixed
- $settings : mixed
- __construct() : mixed
- add_button_hooks() : mixed
- add_hover_button_hooks() : mixed
- add_product_qvp_class() : mixed
- add_thumbnail_wrapper_close() : mixed
- add_thumbnail_wrapper_open() : mixed
- get_button() : mixed
- get_button_html() : mixed
- handle_add_to_cart_ajax_param() : mixed
- is_category_allowed() : mixed
- is_required() : mixed
- quick_view_button_enabled() : mixed
- quick_view_hover_button_enabled() : mixed
- register() : mixed
- show_button() : mixed
- show_hover_button() : mixed
- get_button_text() : mixed
Properties
$scripts
private
mixed
$scripts
Tags
$settings
private
mixed
$settings
Tags
Methods
__construct()
public
__construct(Frontend_Scripts $scripts) : mixed
Parameters
- $scripts : Frontend_Scripts
Tags
Return values
mixed —add_button_hooks()
public
add_button_hooks() : mixed
Tags
Return values
mixed —add_hover_button_hooks()
public
add_hover_button_hooks() : mixed
Tags
Return values
mixed —add_product_qvp_class()
public
add_product_qvp_class(mixed $classes, mixed $product) : mixed
Parameters
- $classes : mixed
- $product : mixed
Tags
Return values
mixed —add_thumbnail_wrapper_close()
public
add_thumbnail_wrapper_close() : mixed
Tags
Return values
mixed —add_thumbnail_wrapper_open()
public
add_thumbnail_wrapper_open() : mixed
Tags
Return values
mixed —get_button()
public
get_button([mixed $the_product = null ][, mixed $for_hover = false ]) : mixed
Parameters
- $the_product : mixed = null
- $for_hover : mixed = false
Tags
Return values
mixed —get_button_html()
public
get_button_html(mixed $product[, mixed $for_hover = false ]) : mixed
Parameters
- $product : mixed
- $for_hover : mixed = false
Tags
Return values
mixed —handle_add_to_cart_ajax_param()
public
handle_add_to_cart_ajax_param(mixed $args, mixed $product) : mixed
Parameters
- $args : mixed
- $product : mixed
Tags
Return values
mixed —is_category_allowed()
public
is_category_allowed(mixed $setting[, mixed $the_product = null ]) : mixed
Parameters
- $setting : mixed
- $the_product : mixed = null
Tags
Return values
mixed —is_required()
public
is_required() : mixed
Tags
Return values
mixed —quick_view_button_enabled()
public
quick_view_button_enabled() : mixed
Tags
Return values
mixed —quick_view_hover_button_enabled()
public
quick_view_hover_button_enabled() : mixed
Tags
Return values
mixed —register()
public
register() : mixed
Tags
Return values
mixed —show_button()
public
show_button([mixed $product = null ]) : mixed
Parameters
- $product : mixed = null
Tags
Return values
mixed —show_hover_button()
public
show_hover_button([mixed $product = null ]) : mixed
Parameters
- $product : mixed = null
Tags
Return values
mixed —get_button_text()
private
get_button_text() : mixed