View Product Page

Mini quote

The following shortcode lets you add the mini cart widget anywhere on your site where you can enter some text:

[yith_ywraq_mini_widget_quote]

Here you find also all the attributes that the shortcode supports with default values:

  • title: enter here the text that you want to show as the widget title. The default value is “Quote list”.
  • item_name: this is the singular name shown where there is only 1 item in the quote list. The default value is “item”, but you can change it with any text you wish, for example, “product”, “event” or whatever name is shown as a singular label.
  • item_plural_name: this is the plural name shown where there is more than 1 item in the quote list. The default value is “items”, but you can change it with any plural noun of your choice.
  • show_thumbnail: choose whether to show the thumbnail of the products in the list or not. Use 1 to show them, 0 to hide them. The default value is 1.
  • show_price: choose whether to show the price of the products in the list or not. Use 1 to show, 0 to hide. The default value is 1.
  • show_quantity: choose whether to show the quantity selected for each product in the list or not. Use 1 to show this information, 0 to hide it. The default value is 1.
  • show_variations: choose whether to show the selected variation for the products in the list or not. Use 1 to show this information, 0 to hide it. The default value is 1.
  • open_quote_page: choose whether to show the quote page on mobile. Use 1 to show, 0 to hide. The default value is 0.

This is an example of what it might look like.

mini quote widget

Moreover, if you want to add this code to your theme code files, you can use the following instruction, which includes the shortcode:

<?php echo do_shortcode('[yith_ywraq_mini_widget_quote]'); ?>