View Product Page

Filters

includes/admin/class.ywraq-request-list-table.php

Copied!
Copy

Filter the quote total on request a quote list table

Params
 string $item_total Item total.
 WC_Order $item Order.

Return string

Copied!
Copy

Filter the query to get the number of quote requests

Params
 string $query SQL query.

Return string

includes/admin/cpt/class-ywraq-editor-pdf-template.php

Copied!
Copy

Params
   string  $pdf_redirect_url Redirect url.

Return string

includes/class-yith-request-quote-cart.php

Copied!
Copy

Params
   string  $html  Html to filter.

Return string

includes/class-yith-ywraq-post-types.php

Copied!
Copy

Params
   array  $post_type_args  Attributes to filter.

Return array

includes/class.yith-request-quote-admin.php

Copied!
Copy

Params
   array  $tabs  Tabs.

Return array

Copied!
Copy

Params
   string  $capability  Capability.

Return string

Copied!
Copy

Params
 array $args list of args

Copied!
Copy

Params
   array  $export_columns  List of columns.

Return array

Copied!
Copy

Filter the value of the column to export

Params
   mixed  $value  Value
   WC_Order  $quote  Quote
   string  $key Current column-

Return mixed

includes/class.yith-request-quote-privacy.php

Copied!
Copy

Params
   array  $data_props  List of personal data properties

Return array

Copied!
Copy

Params
   array  $data_props  List of personal data properties.

Return array

includes/class.yith-request-quote.php

Copied!
Copy

This filter allows forcing the start of the session

Params
 boolean $force It true the session will be started.

Return boolean

Copied!
Copy

Filter the number of items in the list

Params
 int   $item_number   Number of item.
 array $quote_content Content of quote list.

Return int

Copied!
Copy

Filter the number of items in the list

Params
 int   $item_number   Number of item.
 array $quote_content Content of quote list.

Return int

Copied!
Copy

Params
 int $time Expiration time in seconds

Return int

Copied!
Copy

Params
 array $raq         Quote item to add to the list.
 array $product_raq Product to add.

Return array

Copied!
Copy

Params
 string $quote_item_id Quote item id.
 array  $product_raq   Product to add.
 int    $item_id       Item id.

Return string

Copied!
Copy

Params
 array $quote_content Content of quote.
 array $product_raq   Product to add to the quote
 array $raq           Quote request.

Return array

Copied!
Copy

Filter the uploaded file with Product add-ons

Params
 array $valid Valid files.

Return array

Copied!
Copy

Filter the add item json response

Params
 array $response Json response.

Return array

Copied!
Copy

Filter if the item to add is valid

Params
 boolean $is_valid   Check if the item to add is valid.
 int     $product_id Product id.

Return boolean

Copied!
Copy

Filter the post data of quote item

Params
 array $postdata   Post data
 int   $product_id Product id.

Return boolean

Copied!
Copy

Filter the error message triggered after that a product is added to the quote

Params
 string $message Error message.

Return string

Copied!
Copy

Params
 int        $max_value Max value.
 WC_Product $_product  Current product.

Return int

Copied!
Copy

Params
 int        $min_value Max value.
 WC_Product $_product  Current product.

Return int

Copied!
Copy

Params
 int        $quantity The current quantity.
 WC_Product $_product Current product.

Return int

Copied!
Copy

Filter the message that says that a product is not quotable

Params
 string $product_not_quotable Message that says that a product is not quotable.

Return string

Copied!
Copy

Params
 string $base_url Base url.

Return string

Copied!
Copy

Filter the id of the request a quote page

Params
 int $page_id Request a quote page id.

Return int

Copied!
Copy

Filter the errors after that the customer sends the request

Params
 array $errors List of errors
 array $post   List of posted arguments.

Return array

Copied!
Copy

Filter if is necessary to force the creation of an account

Params
 boolean $create_account If true is necessary to create an account.

Return boolean

Copied!
Copy

Filter the role assigned when a user is added

Params
 string $role Role.

Return string

Copied!
Copy

Params
 string $thank_you_page Redirect page

Return string

Copied!
Copy

Change the url argument preview for a different text

Params
 string preview

Copied!
Copy

Params
 string $endpoint Endpoint

Return string

includes/class.yith-ywraq-order-request.php

Copied!
Copy

Change quote status when order is cancelled

Params
 object $order the order

Return string

includes/class.yith-ywraq-shortcodes.php

Copied!
Copy

change the url argument preview for a different text

Params
 string preview

includes/forms/default/class.yith-ywraq-default-form.php

Copied!
Copy

pass minDate value to datepicker

Params
 string $minDate default empty

includes/forms/gravity-forms/ywraq-gravity-form-addons.php

Copied!
Copy

Show or not the quote message after gravity form submitted and email sent

Params
 bool $send
 string $to             Recipient address.
 string $subject        Subject line.
 string $message        Message body.
 string $headers        Email headers.
 string $attachments    Email attachments.
 string $message_format Format of the email.  Ex: text, html.
 string $from           Address of the sender.
 string $from_name      Displayed name of the sender.
 string $bcc            BCC recipients.
 string $reply_to       Reply-to address.
 array  $entry          Entry object associated with the sent email.

includes/forms/wpforms/ywraq-wpforms.php

Copied!
Copy

Select to use html (true) or plain (false) template for WP Forms email

Params
 bool $value default true.

includes/functions.yith-request-quote.php

Copied!
Copy

Params
 bool $hide_button If true hide the quote button.

Return bool

Copied!
Copy

Filter arguments to pass to the template

Params
 array $args List of arguments to pass to the template

Return array

Copied!
Copy

Filter the possibility to show or hide the button on loop

Params
 bool $render_button If true show buttons on loop.
 int  $product_id    Product id.

Return bool

Copied!
Copy

Filter the message displayed when the product is added to the list

Params
 string $message Message.

Return string

Copied!
Copy

Params
 string $message Message.

Return string

Copied!
Copy

Filter the label of button

Params
 string $label Label of button.

Return string

Copied!
Copy

Filter the message which says that the product is already on list

Params
 string $message Message.

Return string

Copied!
Copy

Params
 string $label Label.

Return string

Copied!
Copy

Filter the label of button to reject the quote

Params
 string $label Label.

Return string

Copied!
Copy

Filter the label requested

Params
 string $label Label.
 string $key   Type of label requested.

Return string

Copied!
Copy

Filter status that are shown inside the list

Params
 array $status_list List of status.

Return array

Copied!
Copy

Filter the char to use to move the text in a new line

Params
 string $char Char.

Return string

Copied!
Copy

Filter the item data

Params
 array $item_data Item data.

Return array

Copied!
Copy

Filter the content of the notice message

Params
 string $message Message.

Return string

Copied!
Copy

Filter the content of the $notice_type message

Params
 string $message Message.

Return string

Copied!
Copy

Filter the content of the notice messages

Params
 array $all_notices All notices list.

Return array

Copied!
Copy

Filter the list of notice types

Params
 array $notice_types All notice types list.

Return array

Copied!
Copy

Filter the quote number

Params
 string $quote_number Quote number.

Return string

Copied!
Copy

Params
 string   $quote_number_link Url of quote.
 WC_Order $quote             Quote object.

Return string

Copied!
Copy

Filter the thank-you message

Params
 string   $message           Message of thank you page.
 WC_Order $quote             Quote object.
 string   $quote_number_link Url of quote.

Return string

Copied!
Copy

Filter the message when the list is empty

Params
 string $message Message of empty list.

Return string

Copied!
Copy

Filter the label of button to return to the shop page after that the quote is sent

Params
 string $label Label.

Return string

Copied!
Copy

Filter the label of button to return to the shop page

Params
 string $label Label.

Return string

Copied!
Copy

Filter the message when the list is empty

Params
 string $empty_list_message Empty list message.

Return string

Copied!
Copy

Params
 array $local_formats Local format.

Return array

Copied!
Copy

Filter if is possible to use the recaptcha

Params
 bool $is_captcha If true the recaptcha can be used.

Return bool

Copied!
Copy

Set the valid order status for which to show the Request Quote Again button

Params
 array $quote_status List of status.

Return array

Copied!
Copy

Change the label of the Request Quote Again button

Params
 string $quote_status List of status.

Return string

plugin-options/quote/settings-options.php

Copied!
Copy

set the minimum quantity value selectable for the cron time option

Params
int $time


templates/emails/quote-table.php

Copied!
Copy

Params
   string  $subtotal  Current item subtotal.
   float  $line_total  Item line total.
   WC_Product  $_product  Product.
   WC_Order_Item_Product  $item  Order item.

Return string

templates/emails/request-quote-table.php

Copied!
Copy

Filter the image of product

Params
 string     $product_image Product image.
 array      $raq           Quote request content.
 WC_Product $_product      WC_Product object.

Return array

templates/myaccount/view-quote.php

Copied!
Copy

Filter the product thumbnail for the product on quote

Params
   string  $product_thumbnail  Product thumbnail.
   int  $item_id  Quote item id.
   WC_Order_Item_Product  $item  Quote item product.

Return array

Copied!
Copy

Boolean value to choose whether the accept link with query args or take the accept link through ywraq_get_accepted_quote_page() method

Params
 bool $bool Boolean value to choose the accept link format.

Copied!
Copy

Params
 array $fields fields to show.

templates/request-quote-table.php

Copied!
Copy

Filter the image of product

Params
 string     $product_image Product image.
 array      $raq           Quote request content.
 WC_Product $product       Product Object.

Return array

templates/widgets/mini-quote-list.php

Copied!
Copy

Filter the image of product

Params
 string     $product_image Product image.
 array      $raq           Quote request content.
 WC_Product $product       Product Object.

Return array

templates/widgets/quote-list.php

Copied!
Copy

Filter the image of product

Params
 string     $product_image Product image.
 array      $raq           Quote request content.
 WC_Product $product       Product Object.

Return array

Actions

includes/class-yith-ywraq-post-types.php

Copied!
Copy


Copied!
Copy


includes/class.yith-request-quote-gateway.php

Copied!
Copy

Params
   array  $raq  List of arguments useful to send the email with quote.

Copied!
Copy

Params
   array  $raq  List of arguments useful to send the email with quote.

Copied!
Copy

Params
   array     $raq    Quote information.
   WC_Order  $order  Order with quote.

includes/class.yith-request-quote-premium.php

Copied!
Copy


Copied!
Copy

Params
 int  $order_id Order id.
 bool $preview  Set if the pdf is a preview or not.

Copied!
Copy

Params
 int $order_id Order id.

includes/class.yith-request-quote.php

Copied!
Copy


Copied!
Copy

Params
 bool $set If true the cookie must be set.

Copied!
Copy

Params
 bool $set If true the cookie must be set.

Copied!
Copy


Copied!
Copy

Params
 array $arguments List of arguments useful to process the quote.

Copied!
Copy

Params
 array $arguments List of arguments useful to send the email with quote.

includes/class.yith-ywraq-cron.php

Copied!
Copy

Params
 int $order_id Quote ID.
 int $expired_data Expiring date of quote.

Copied!
Copy

This action is triggered to send the reminder the customer to pay the quote

Params
 int $quote Quote ID.

Copied!
Copy

Params
 int $order_id Order id.
 bool $preview Set if the pdf is a preview or not.

Copied!
Copy

Params
 int $order_id Order id.

includes/class.yith-ywraq-order-request.php

Copied!
Copy

Params
 array $raq List of arguments useful to send the email with quote.

Copied!
Copy

Params
 array $raq List of arguments useful to send the email with quote.

Copied!
Copy

Params
 array    $raq   Quote information.
 WC_Order $order Order with quote.

Copied!
Copy

Params
 array $raq Quote information.

Copied!
Copy

This action is triggered during the process that convert the quote on order

Params
 array    $values        Cart item.
 string   $cart_item_key Cart item key.
 int      $item_id       Order ttem id created.
 WC_Order $order         Current order.

Copied!
Copy

This action is triggered after the order creation

Params
 int   $order_id Order id.
 array $posted   Posted params.
 array $raq      Quote information.

Copied!
Copy

Params
 int   $order_id Order id.
 array $raq      Quote information.

Copied!
Copy

Params
 int $order_id Order id.

Copied!
Copy

Params
 int $order_id Order id.

Copied!
Copy

This action is triggered when the quote changes the status

Params
 array $args Arguments necessary to send the email.

Copied!
Copy

Params
 int  $order_id Order id.
 bool $preview  Set if the pdf is a preview or not.

Copied!
Copy

Params
 int $order_id Order id.

Copied!
Copy

Params
 int  $post_id Order id.
 bool $preview Set if the pdf is a preview or not.

Copied!
Copy

Params
 int  $order_id Order id.
 bool $preview  Set if the pdf is a preview or not.

Copied!
Copy

Params
 int $order_id Order id.

Copied!
Copy

This action is triggered when the quote changes the status

Params
 array $args Arguments necessary to send the email.

Copied!
Copy

This action is triggered when the quote changes the status

Params
 array $args Arguments necessary to send the email.

includes/forms/default/class.yith-ywraq-default-form.php

Copied!
Copy

Params
 array $arguments List of arguments useful to process the quote.

Copied!
Copy

Params
 array $raq List of arguments useful to send the email with quote.

Copied!
Copy

Params
 array $arguments List of arguments useful to send the email with quote.

Copied!
Copy

Params
 WC_Customer $customer Customer object.
 array $filled_form_fields List of arguments useful adjust customer.

init.php

Copied!
Copy


templates/request-quote-default-form.php

Copied!
Copy


Copied!
Copy


Copied!
Copy


Copied!
Copy


Copied!
Copy


Copied!
Copy


Customize template

 

Customize Plugin Template

To overwrite plugin template, go to folder templates in
your plugin and copy the files you find there.

Then, paste the copied files into your theme or in the root directory, or
in the folder woocommerce, that you will have to create if it
does not appear there.