View Product Page

Filters

includes/admin/class-yith-wacp-admin.php

Copied!
Copy

Manages admin tabs

 Params  array $admin_tabs The admin tabs array.. 

includes/class-yith-wacp.php

Copied!
Copy

 Params  boolean $is_admin Is an admin screen? 

Copied!
Copy

 Params  boolean $load Is a frontend screen? 

includes/frontend/class-yith-wacp-frontend-premium.php

Copied!
Copy

Handles the stylesheet paths

 Params  array $paths The stylesheet paths. 

Copied!
Copy

Handles the loader image

 Params  string $path The loader image path. 

Copied!
Copy

Handles the form selectors

 Params  string $selectors The form selectors. 

Copied!
Copy

Handles automatic popup

 Params  boolean $value Is automatic popup allowed? 

Copied!
Copy

Handles the open popup selectors

 Params  string $selector The open popup selector. 

Copied!
Copy

Handles touchstart on suggested product

 Params  boolean $value Is touchstart enabled? 

Copied!
Copy

Handles touchstart on action buttons

 Params  boolean $value Is touchstart enabled? 

Copied!
Copy

Handles script localization arguments

 Params  array $localized Localization arguments. 

Copied!
Copy

Handles popup content arguments

 Params  array $args Popup content arguments. 

Copied!
Copy

Handles added to cart success data

 Params  array      $datas    Add to cart data.  WC_Product $product  The added product.  string     $layout   The popup layout.  integer    $quantity The product quantity. 

Copied!
Copy

Handles added to cart message HTML

 Params  string     $html    Added to cart message HTML.  WC_Product $product The added product. 

Copied!
Copy

Handles "Go to cart" button URL

 Params  string $url Button URL. 

Copied!
Copy

Handles "Go to checkout" button URL

 Params  string $url Button URL. 

Copied!
Copy

Handles "Continue shopping" button URL

 Params  string     $url     Button URL.  WC_Product $product The added product. 

Copied!
Copy

Handles action buttons HTML

 Params  string     $html    Action buttons HTML.  WC_Product $product The added product. 

Copied!
Copy

Handles related product query args

 Params  array $args Related proucts query arguments. 

Copied!
Copy

Handles related product display args

 Params  array $args Related proucts display arguments. 

Copied!
Copy

Handles product exclusion

 Params  boolean $is_in_exclusion Check if product is excluded.  integer $product_id      The product ID. 

includes/frontend/class-yith-wacp-frontend.php

Copied!
Copy

Handles popup template args

 Params  array $args The popup template arguments. 

Copied!
Copy

Handles popup template args

 Params  boolean $value The popup should be displayed? 

includes/functions.yith-wacp-premium.php

Copied!
Copy

 Params  array $cart_info The current cart info. 

includes/integrations/class-yith-wacp-ywcm-integration.php

Copied!
Copy

Check if it's a valid cart message

 Params  boolean $value      Is the message valid?  integer $message_id The message ID. 

includes/integrations/class-yith-wacp-ywraq-integration.php

Copied!
Copy

Manages RAQ popup additional arguments

 Params  array $value The custom args array. 

plugin-options/customization-options.php

Copied!
Copy

Customize tab options

 Params  array $customization Options array. 

plugin-options/general-settings-options.php

Copied!
Copy

Customize tab options

 Params  array $general Options array. 

plugin-options/mini-cart-options.php

Copied!
Copy

Customize tab options

 Params  array $style Options array. 

templates/yith-wacp-popup-action.php

Copied!
Copy

Handles "Go to cart" button CSS classes

 Params  string $text The CSS classes. 

Copied!
Copy

Handles "Go to checkout" button CSS classes

 Params  string $text The CSS classes. 

Copied!
Copy

Handles "Contine shopping" button CSS classes

 Params  string $text The CSS classes. 

templates/yith-wacp-popup-cart-info.php

Copied!
Copy

Handles the shipping label text

 Params  string $text The label text. 

Copied!
Copy

Handles the tax label text

 Params  string $text The label text. 

Copied!
Copy

Handles the discount label text

 Params  string $text The label text. 

Copied!
Copy

Handles the cart total label text

 Params  string $text The label text. 

templates/yith-wacp-popup-cart.php

Copied!
Copy

Handles the popup title text

 Params  string $text The title text. 

templates/yith-wacp-popup-empty.php

Copied!
Copy

Handles the empty cart message text

 Params  string $text The empty message text. 

templates/yith-wacp-popup-raq.php

Copied!
Copy

Handles the Request a quote popup title text

 Params  string $text The title text. 

Actions

includes/frontend/class-yith-wacp-frontend-premium.php

Copied!
Copy

Perform actions before showing the popup

 Params  WC_Product $product The added product. 

Copied!
Copy

Perform actions after showing the popup

 Params  WC_Product $product The added product. 

includes/integrations/class-yith-wacp-ywraq-integration.php

Copied!
Copy

Perform actions before showing RAQ form

 Params  array $product_raq An array of RAQ args.. 

Copied!
Copy

Perform actions after showing RAQ form

 Params  array $product_raq An array of RAQ args.. 

templates/yith-wacp-popup-action.php

Copied!
Copy

Perform actions before showing action buttons


Copied!
Copy

Perform actions after showing action buttons


templates/yith-wacp-popup-cart.php

Copied!
Copy

Print HTML elements before the cart list


Copied!
Copy

Show added to cart info

 Params  WC_Product $product The added product. 

templates/yith-wacp-popup-product.php

Copied!
Copy

Perform actions after showing the added product info

 Params  WC_Product $product   The added product.  array      $cart_item The added product cart item. 

Copied!
Copy

Show added to cart info

 Params  WC_Product $product The added product. 

templates/yith-wacp-popup-related.php

Copied!
Copy

Perform actions before showing the related product


Copied!
Copy

Perform actions after showing the related product