Mini quote

The following shortcode lets you add the mini cart widget anywhere in 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 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 with any text you wish, for example, “product”, “event” or whatever name shown as a singular label.
  • item_plural_name: this is the plural name shown where there are more than 1 items 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. 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. The default value is 1.

This is an example of how it might look like.

mini quote widget

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

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